No examples for this method.
Frequently called with: [Clear]
-1
| java.lang.Object | |
| ↳ | android.renderscript.Program.BaseProgramBuilder |
Known Direct Subclasses
|
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
Adds constant (uniform) inputs to the program
|
|||||||||
|
|
|
Adds a texture input to the Program
|
|||||||||
|
|
|
Adds a texture input to the Program
|
|||||||||
|
|
|
Queries the index of the last added constant buffer type
|
|||||||||
|
|
|
Queries the index of the last added texture type
|
|||||||||
|
|
|
Sets the GLSL shader code to be used in the program
|
|||||||||
|
|
|
Sets the GLSL shader code to be used in the program
|
|||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
||||||||||
| [Expand]
Inherited Methods
|
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
|
|||||||||||
Adds constant (uniform) inputs to the program
| t | Type that describes the layout of the Allocation object to be used as constant inputs to the Program |
|---|
| IllegalStateException |
|---|
Adds a texture input to the Program
| texType | describes that the texture to append it (2D, Cubemap, etc.) |
|---|---|
| texName | what the texture should be called in the shader |
| IllegalArgumentException |
|---|
Adds a texture input to the Program
| texType | describes that the texture to append it (2D, Cubemap, etc.) |
|---|
| IllegalArgumentException |
|---|
Queries the index of the last added constant buffer type
Queries the index of the last added texture type
Sets the GLSL shader code to be used in the program
| s | GLSL shader string |
|---|
Sets the GLSL shader code to be used in the program
| resources | application resources |
|---|---|
| resourceID | id of the file containing GLSL shader code |