Package com.jogamp.graph.curve.opengl
Class RenderState.ProgramLocal
java.lang.Object
com.jogamp.graph.curve.opengl.RenderState.ProgramLocal
- Enclosing class:
- RenderState
Representation of
RenderState
data for one ShaderProgram
as GLUniformData
.
FIXME: Utilize 'ARB_Uniform_Buffer_Object' where available!
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal int
toString()
toString
(StringBuilder sb, boolean alsoUnlocated) final boolean
update
(GL2ES2 gl, RenderState rs, boolean updateLocation, int renderModes, boolean pass1, boolean throwOnError) SinceRenderState
data is being used in multipleShaderProgram
s the data must always be written.
-
Field Details
-
gcu_PMVMatrix01
-
gcu_Weight
-
gcu_ColorStatic
-
-
Constructor Details
-
ProgramLocal
public ProgramLocal()
-
-
Method Details
-
getRenderStateId
public final int getRenderStateId() -
update
public final boolean update(GL2ES2 gl, RenderState rs, boolean updateLocation, int renderModes, boolean pass1, boolean throwOnError) Since
RenderState
data is being used in multipleShaderProgram
s the data must always be written.- Parameters:
gl
-updateLocation
-renderModes
-throwOnError
- TODO- Returns:
- true if no error occurred, i.e. all locations found, otherwise false.
-
toString
-
toString
-