|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthmi.graphics.opengl.state.GLStateComponentF4
public final class GLStateComponentF4
A GLStateComponentF4 is a wrapper for GL attributes that are set by means of a call like glXYZ(glId, glValfv), Examples: GL_LIGHT_MODEL_AMBIENT, GL_COLOR_CLEAR_VALUE, GL_ACCUM_CLEAR_VALUE
| Field Summary | |
|---|---|
private float |
a
|
private float |
b
|
private float |
g
|
private FloatBuffer |
glBufferfv
|
private int |
glId
|
private float |
r
|
private int |
scId
|
| Constructor Summary | |
|---|---|
GLStateComponentF4(int glId,
float[] glValfv)
Create a new GLStateComponentF4. |
|
| Method Summary | |
|---|---|
int |
getSCId()
Returns an integer that uniquely identifies the type of the GLStateComponent. |
void |
glInit(GLRenderContext glc)
Called during OpenGL initialization. |
void |
glRender(GLRenderContext gl)
Called during openGL rendering. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int glId
private int scId
private FloatBuffer glBufferfv
private float r
private float g
private float b
private float a
| Constructor Detail |
|---|
public GLStateComponentF4(int glId,
float[] glValfv)
| Method Detail |
|---|
public int getSCId()
GLStateComponent
getSCId in interface GLStateComponentpublic void glInit(GLRenderContext glc)
GLRenderObject
glInit in interface GLRenderObjectpublic void glRender(GLRenderContext gl)
GLRenderObject
glRender in interface GLRenderObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||