JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.graph.curve.opengl.RenderState.ProgramLocal Class Reference

Representation of RenderState data per ShaderProgram as GLUniformData. More...

Collaboration diagram for com.jogamp.graph.curve.opengl.RenderState.ProgramLocal:

Public Member Functions

 ProgramLocal ()
 
final int getRenderStateId ()
 
final boolean update (final GL2ES2 gl, final RenderState rs, final boolean updateLocation, final int renderModes, final boolean setPMVMat01, final boolean pass1, final boolean throwOnError)
 
StringBuilder toString (StringBuilder sb, final boolean alsoUnlocated)
 
String toString ()
 

Public Attributes

final GLUniformData gcu_PMVMatrix01
 
final GLUniformData gcu_Weight
 
final GLUniformData gcu_ColorStatic
 

Detailed Description

Representation of RenderState data per ShaderProgram as GLUniformData.

FIXME: Utilize 'ARB_Uniform_Buffer_Object' where available!

Definition at line 126 of file RenderState.java.

Constructor & Destructor Documentation

◆ ProgramLocal()

com.jogamp.graph.curve.opengl.RenderState.ProgramLocal.ProgramLocal ( )

Definition at line 132 of file RenderState.java.

Here is the call graph for this function:

Member Function Documentation

◆ getRenderStateId()

final int com.jogamp.graph.curve.opengl.RenderState.ProgramLocal.getRenderStateId ( )

Definition at line 138 of file RenderState.java.

◆ toString() [1/2]

String com.jogamp.graph.curve.opengl.RenderState.ProgramLocal.toString ( )

Definition at line 194 of file RenderState.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ toString() [2/2]

StringBuilder com.jogamp.graph.curve.opengl.RenderState.ProgramLocal.toString ( StringBuilder  sb,
final boolean  alsoUnlocated 
)

Definition at line 181 of file RenderState.java.

◆ update()

final boolean com.jogamp.graph.curve.opengl.RenderState.ProgramLocal.update ( final GL2ES2  gl,
final RenderState  rs,
final boolean  updateLocation,
final int  renderModes,
final boolean  setPMVMat01,
final boolean  pass1,
final boolean  throwOnError 
)

Since RenderState data is being used in multiple ShaderPrograms the data must always be written.

Parameters
gl
updateLocation
renderModes
setPMVMat01TODO
throwOnErrorTODO
Returns
true if no error occurred, i.e. all locations found, otherwise false.

Definition at line 152 of file RenderState.java.

Here is the call graph for this function:

Member Data Documentation

◆ gcu_ColorStatic

final GLUniformData com.jogamp.graph.curve.opengl.RenderState.ProgramLocal.gcu_ColorStatic

Definition at line 129 of file RenderState.java.

◆ gcu_PMVMatrix01

final GLUniformData com.jogamp.graph.curve.opengl.RenderState.ProgramLocal.gcu_PMVMatrix01

Definition at line 127 of file RenderState.java.

◆ gcu_Weight

final GLUniformData com.jogamp.graph.curve.opengl.RenderState.ProgramLocal.gcu_Weight

Definition at line 128 of file RenderState.java.


The documentation for this class was generated from the following file: