|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthmi.graphics.opengl.state.GLTextureStateComponent
public final class GLTextureStateComponent
A GLStateComponentII is a wrapper for GL texture state attributes Examples: glTexParameteri with glEnumi == target, glId == GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL
| Field Summary | |
|---|---|
private int |
glEnumi
|
private int |
glId
|
private int |
scId
|
private int |
target
|
| Constructor Summary | |
|---|---|
GLTextureStateComponent(int target,
int glId,
int glEnumi)
Create a new GLTextureStateComponent. |
|
| Method Summary | |
|---|---|
private void |
checkLegal(int scId)
|
int |
getSCId()
Returns an integer that uniquely identifies the type of the GLStateComponent. |
void |
glInit(GLRenderContext gl)
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 target
private int glEnumi
| Constructor Detail |
|---|
public GLTextureStateComponent(int target,
int glId,
int glEnumi)
| Method Detail |
|---|
private void checkLegal(int scId)
public int getSCId()
GLStateComponent
getSCId in interface GLStateComponentpublic void glInit(GLRenderContext gl)
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 | |||||||||