| java.lang.Object | ||
| ↳ | android.renderscript.Program.BaseProgramBuilder | |
| ↳ | android.renderscript.ProgramVertex.Builder | |
Builder class for creating ProgramVertex objects. The builder starts empty and the user must minimally provide the GLSL shader code, and the varying inputs. Constant, or uniform parameters to the shader may optionally be provided as well.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a builder object.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Add varying inputs to the program
| |||||||||||
Creates ProgramVertex from the current state of the builder
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.renderscript.Program.BaseProgramBuilder
| |||||||||||
From class
java.lang.Object
| |||||||||||
Create a builder object.
| rs | Context to which the program will belong. |
|---|
Add varying inputs to the program
| e | element describing the layout of the varying input structure |
|---|
| IllegalStateException |
|---|
Creates ProgramVertex from the current state of the builder