public class PositionColorTextureCoordinatesShaderProgram extends ShaderProgram
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FRAGMENTSHADER |
static int |
sUniformModelViewPositionMatrixLocation |
static int |
sUniformTexture0Location |
static java.lang.String |
VERTEXSHADER |
mAttributeLocations, mCompiled, mFragmentShaderSource, mProgramID, mUniformLocations, mVertexShaderSource| Modifier and Type | Method and Description |
|---|---|
void |
bind(GLState pGLState,
VertexBufferObjectAttributes pVertexBufferObjectAttributes) |
static PositionColorTextureCoordinatesShaderProgram |
getInstance() |
protected void |
link(GLState pGLState) |
compile, delete, getAttributeLocation, getAttributeLocationOptional, getUniformLocation, getUniformLocationOptional, isCompiled, setCompiled, setTexture, setTextureOptional, setUniform, setUniform, setUniform, setUniform, setUniform, setUniformOptional, setUniformOptional, setUniformOptional, setUniformOptional, setUniformOptional, unbindpublic static final java.lang.String VERTEXSHADER
public static final java.lang.String FRAGMENTSHADER
public static int sUniformModelViewPositionMatrixLocation
public static int sUniformTexture0Location
public static PositionColorTextureCoordinatesShaderProgram getInstance()
protected void link(GLState pGLState) throws ShaderProgramLinkException
link in class ShaderProgramShaderProgramLinkExceptionpublic void bind(GLState pGLState, VertexBufferObjectAttributes pVertexBufferObjectAttributes)
bind in class ShaderProgram