org.osm2world.core.target.jogl
public class BackgroundShader extends AbstractShader
fragmentShader, gl, shaderProgram, vertexShader
Constructor and Description |
---|
BackgroundShader(GL3 gl) |
Modifier and Type | Method and Description |
---|---|
int |
getModelViewProjectionMatrixID() |
int |
getTextureID()
Returns the id to use to bind the texture attribute.
|
int |
getVertexPositionID()
Returns the id to use to bind the vertex position attribute.
|
int |
getVertexTexCoordID()
Returns the id to use to bind the vertex texture coordinate attribute.
|
void |
setPMVMatrix(PMVMatrix pmvMatrix)
Send uniform matrices "ProjectionMatrix, ModelViewMatrix and ModelViewProjectionMatrix" to vertex shader
|
disableShader, finalize, freeResources, getProgram, loadDefaults, useShader, validateShader
public void setPMVMatrix(PMVMatrix pmvMatrix)
pmvMatrix
- the PMVMatrix containing all matricespublic int getVertexPositionID()
public int getVertexTexCoordID()
public int getModelViewProjectionMatrixID()
public int getTextureID()