java.lang.Object | |
↳ | android.renderscript.ProgramFragmentFixedFunction.Builder |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ProgramFragmentFixedFunction.Builder.EnvMode | EnvMode describes how textures are combined with the existing color in the fixed function fragment shader | ||||||||||
ProgramFragmentFixedFunction.Builder.Format | Format describes the pixel format of textures in the fixed function fragment shader and how they are sampled |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | MAX_TEXTURE |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a builder for fixed function fragment program
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates the fixed function fragment program from the current
state of the builder.
| |||||||||||
Specifies whether the texture coordinate passed from the
vertex program is replaced with an openGL internal point
sprite texture coordinate
| |||||||||||
Adds a texture to be fetched as part of the fixed function
fragment program
| |||||||||||
Specifies whether the varying color passed from the vertex
program or the constant color set on the fragment program is
used in the final color calculation in the fixed function
fragment shader
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Creates a builder for fixed function fragment program
rs | Context to which the program will belong. |
---|
Creates the fixed function fragment program from the current state of the builder.
Specifies whether the texture coordinate passed from the vertex program is replaced with an openGL internal point sprite texture coordinate
Adds a texture to be fetched as part of the fixed function fragment program
env | specifies how the texture is combined with the current color |
---|---|
fmt | specifies the format of the texture and how its components will be used to combine with the current color |
slot | index of the texture to apply the operations on |
IllegalArgumentException |
---|
Specifies whether the varying color passed from the vertex program or the constant color set on the fragment program is used in the final color calculation in the fixed function fragment shader