|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthmi.graphics.opengl.state.GLStateComponentI
public final class GLStateComponentI
A GLStateComponentI is a wrapper for GL attributes that are set by means of a call like glXYZ(glId, glEnumi), Supported: GL_LIGHT_MODEL_COLOR_CONTROL, GL_FRONT_FACE, GL_CULL_FACE_MODE, GL_ACTIVE_TEXTURE
| Field Summary | |
|---|---|
private int |
glEnumi
|
private int |
glId
|
private int |
scId
|
| Constructor Summary | |
|---|---|
GLStateComponentI(int glId,
int glEnumi)
Create a new GLStateComponentI. |
|
| Method Summary | |
|---|---|
private void |
checkLegal(int glId)
|
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. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private int glId
private int scId
private int glEnumi
| Constructor Detail |
|---|
public GLStateComponentI(int glId,
int glEnumi)
| Method Detail |
|---|
private void checkLegal(int glId)
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 GLRenderObjectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||