Package | Description |
---|---|
com.tyrlib2.graphics.materials | |
com.tyrlib2.graphics.renderer |
Modifier and Type | Method and Description |
---|---|
void |
TexturedMaterial.setProgram(Program program) |
Constructor and Description |
---|
DefaultMaterial3(Program program,
java.lang.String textureName,
float repeatX,
float repeatY,
Color[] colors) |
TexturedMaterial(Texture texture,
Program program) |
Modifier and Type | Method and Description |
---|---|
Program |
ProgramManager.createProgram(java.lang.String programName,
Context context,
int vertexShaderResId,
int fragmentShaderResId,
java.lang.String[] bindAttributes)
Creates a new program.
|
Program |
Material.getProgram() |
Program |
ProgramManager.getProgram(java.lang.String programName)
Gets a compiled OpenGL program
|