org.osm2world.core.target.jogl
public class NonAreaShader extends AbstractShader
NonAreaPrimitive
.fragmentShader, gl, shaderProgram, vertexShader
Constructor and Description |
---|
NonAreaShader(GL3 gl) |
Modifier and Type | Method and Description |
---|---|
int |
getModelViewProjectionMatrixID() |
int |
getVertexColorID()
Returns the id to use to bind the vertex color attribute.
|
int |
getVertexPositionID()
Returns the id to use to bind the vertex position 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 getVertexColorID()
public int getModelViewProjectionMatrixID()