public class BasicShaderProgram extends ShaderProgram
Modifier and Type | Field and Description |
---|---|
static java.lang.Object |
KEY |
Constructor and Description |
---|
BasicShaderProgram(android.content.res.Resources resources) |
Modifier and Type | Method and Description |
---|---|
void |
enablePickMode(boolean enable) |
void |
enableTexture(boolean enable) |
void |
loadColor(Color color) |
void |
loadColor(float r,
float g,
float b,
float a) |
void |
loadModelviewProjection(Matrix4 matrix) |
void |
loadTexCoordMatrix(Matrix3 matrix) |
getAttribBindings, getProgramLength, getProgramSources, release, setAttribBindings, setProgramSources, useProgram
public BasicShaderProgram(android.content.res.Resources resources)
public void enablePickMode(boolean enable)
public void enableTexture(boolean enable)
public void loadModelviewProjection(Matrix4 matrix)
public void loadTexCoordMatrix(Matrix3 matrix)
public void loadColor(Color color)
public void loadColor(float r, float g, float b, float a)