| Modifier and Type | Class and Description |
|---|---|
| public static class | RenderState.
Representation of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | BITHINT_BLENDING_ENABLED
Bitfield hint, |
| public static final int | BITHINT_GLOBAL_DEPTH_TEST_ENABLED
Bitfield hint, |
| private final float[] | |
| private final FloatBuffer | |
| private int | |
| private final int | |
| private static int | |
| private final PMVMatrix | |
| private ShaderProgram | |
| private static final String | |
| private final Vertex. | |
| private final float[] | |
| private final FloatBuffer |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public final RenderState | |
| public final void | |
| public static RenderState | |
| public static RenderState | |
| public void | |
| public final boolean | |
| public final float[] | |
| public final PMVMatrix | |
| private static synchronized int | |
| public static final RenderState | |
| public final ShaderProgram | |
| public final Vertex. | |
| public final float | |
| public final int | |
| public final boolean | |
| public final boolean | |
| public static boolean | |
| public final void | |
| public final void | |
| public final boolean | Returns: true if a new shader program is being used and hence external uniform-data and -location, as well as the attribute-location must be updated, otherwise false.Set a |
| public final void | |
| public String | |
| public final boolean | Returns: true if no error occured, i.e. all locations found, otherwise false.TODO throwOnError)
|
| public final boolean | Returns: true if no error occured, i.e. all locations found, otherwise false.TODO updateData, final GLUniformData data, final boolean TODO throwOnError)
|
| public final boolean | Returns: true if no error occured, i.e. all locations found, otherwise false.TODO throwOnError)
|
| BITHINT_BLENDING_ENABLED | back to summary |
|---|---|
| public static final int BITHINT_BLENDING_ENABLED Bitfield hint,
Shall be set via
If set,
Shall be set by custom code, e.g. via | |
| BITHINT_GLOBAL_DEPTH_TEST_ENABLED | back to summary |
|---|---|
| public static final int BITHINT_GLOBAL_DEPTH_TEST_ENABLED Bitfield hint,
Shall be set via
Shall be set by custom code, e.g. after | |
| colorStatic | back to summary |
|---|---|
| private final float[] colorStatic | |
| colorStaticBuffer | back to summary |
|---|---|
| private final FloatBuffer colorStaticBuffer | |
| hintBitfield | back to summary |
|---|---|
| private int hintBitfield | |
| id | back to summary |
|---|---|
| private final int id | |
| nextID | back to summary |
|---|---|
| private static int nextID | |
| pmvMatrix | back to summary |
|---|---|
| private final PMVMatrix pmvMatrix | |
| sp | back to summary |
|---|---|
| private ShaderProgram sp | |
| thisKey | back to summary |
|---|---|
| private static final String thisKey | |
| vertexFactory | back to summary |
|---|---|
| private final Vertex. | |
| weight | back to summary |
|---|---|
| private final float[] weight | |
| weightBuffer | back to summary |
|---|---|
| private final FloatBuffer weightBuffer | |
| RenderState | back to summary |
|---|---|
| protected RenderState(final Vertex. | |
| attachTo | back to summary |
|---|---|
| public final RenderState attachTo(final GL2ES2 gl) | |
| clearHintMask | back to summary |
|---|---|
| public final void clearHintMask(final int mask) | |
| createRenderState | back to summary |
|---|---|
| public static RenderState createRenderState(final Vertex. | |
| createRenderState | back to summary |
|---|---|
| public static RenderState createRenderState(final Vertex. | |
| destroy | back to summary |
|---|---|
| public void destroy(final GL2ES2 gl) | |
| detachFrom | back to summary |
|---|---|
| public final boolean detachFrom(final GL2ES2 gl) | |
| getColorStatic | back to summary |
|---|---|
| public final float[] getColorStatic(final float[] rgbaColor) | |
| getMatrix | back to summary |
|---|---|
| public final PMVMatrix getMatrix() | |
| getNextID | back to summary |
|---|---|
| private static synchronized int getNextID() | |
| getRenderState | back to summary |
|---|---|
| public static final RenderState getRenderState(final GL2ES2 gl) | |
| getShaderProgram | back to summary |
|---|---|
| public final ShaderProgram getShaderProgram() | |
| getVertexFactory | back to summary |
|---|---|
| public final Vertex. | |
| getWeight | back to summary |
|---|---|
| public final float getWeight() | |
| id | back to summary |
|---|---|
| public final int id() | |
| isHintMaskSet | back to summary |
|---|---|
| public final boolean isHintMaskSet(final int mask) | |
| isShaderProgramInUse | back to summary |
|---|---|
| public final boolean isShaderProgramInUse() | |
| isWeightValid | back to summary |
|---|---|
| public static boolean isWeightValid(final float v) | |
| setColorStatic | back to summary |
|---|---|
| public final void setColorStatic(final float r, final float g, final float b, final float a) | |
| setHintMask | back to summary |
|---|---|
| public final void setHintMask(final int mask) | |
| setShaderProgram | back to summary |
|---|---|
| public final boolean setShaderProgram(final GL2ES2 gl, final ShaderProgram spNext) Set a
| |
| setWeight | back to summary |
|---|---|
| public final void setWeight(final float v) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| updateAttributeLoc | back to summary |
|---|---|
public final boolean updateAttributeLoc(final GL2ES2 gl, final boolean updateLocation, final GLArrayDataServer data, final boolean throwOnError)
| |
| updateUniformDataLoc | back to summary |
|---|---|
public final boolean updateUniformDataLoc(final GL2ES2 gl, boolean updateLocation, boolean updateData, final GLUniformData data, final boolean throwOnError)
| |
| updateUniformLoc | back to summary |
|---|---|
public final boolean updateUniformLoc(final GL2ES2 gl, final boolean updateLocation, final GLUniformData data, final boolean throwOnError)
| |
RenderState data for one ShaderProgram
as GLUniformData.
FIXME: Utilize 'ARB_Uniform_Buffer_Object' where available!
| Modifier and Type | Field and Description |
|---|---|
| public final GLUniformData | |
| public final GLUniformData | |
| public final GLUniformData | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final int | |
| public StringBuilder | |
| public String | |
| public final boolean | Returns: true if no error occurred, i.e. all locations found, otherwise false.TODO throwOnError)
Since |
| gcu_ColorStatic | back to summary |
|---|---|
| public final GLUniformData gcu_ColorStatic | |
| gcu_PMVMatrix01 | back to summary |
|---|---|
| public final GLUniformData gcu_PMVMatrix01 | |
| gcu_Weight | back to summary |
|---|---|
| public final GLUniformData gcu_Weight | |
| rsId | back to summary |
|---|---|
| private int rsId | |
| ProgramLocal | back to summary |
|---|---|
| public ProgramLocal() | |
| getRenderStateId | back to summary |
|---|---|
| public final int getRenderStateId() | |
| toString | back to summary |
|---|---|
| public StringBuilder toString(StringBuilder sb, final boolean alsoUnlocated) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| update | back to summary |
|---|---|
| public final boolean update(final GL2ES2 gl, final RenderState rs, final boolean updateLocation, final int renderModes, final boolean pass1, final boolean throwOnError)
Since
| |