|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.render.SceneGraphOpenGLReference
public abstract class SceneGraphOpenGLReference
This class manages the reference of SceneGraph objects to OpenGL names.
| Field Summary | |
|---|---|
static int |
UNSET_NAME
|
| Constructor Summary | |
|---|---|
SceneGraphOpenGLReference(CanvasPeer context,
SceneGraphOpenGLReferences references,
int numNames)
Creates a new SceneGraphOpenGLReference. |
|
| Method Summary | |
|---|---|
int |
deleteName()
Sets the (first) OpenGL name. |
int |
deleteName(int index)
Sets the OpenGL name with the specified index. |
void |
destroyObject()
Destroys this Object in OpenGL. |
abstract void |
destroyObject(int index,
int name)
Destroys this Object in OpenGL. |
CanvasPeer |
getContext()
|
int |
getName()
|
int |
getName(int index)
|
int |
getNumNames(boolean onlyExisting)
|
SceneGraphOpenGLReferences |
getReferences()
|
void |
invalidateName()
Sets the (first) OpenGL name. |
void |
invalidateName(int index)
Sets the OpenGL name with the specified index. |
boolean |
isNameValid()
|
boolean |
isNameValid(int index)
|
boolean |
nameExists()
|
boolean |
nameExists(int index)
|
abstract void |
prepareObjectForDestroy()
|
void |
setName(int name)
Sets the (first) OpenGL name. |
void |
setName(int index,
int name)
Sets the OpenGL name with the specified index. |
void |
setNameValid(boolean valid)
Sets the (first) OpenGL name. |
void |
setNameValid(int index,
boolean valid)
Sets the OpenGL name with the specified index. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int UNSET_NAME
| Constructor Detail |
|---|
public SceneGraphOpenGLReference(CanvasPeer context,
SceneGraphOpenGLReferences references,
int numNames)
references - numNames - | Method Detail |
|---|
public final CanvasPeer getContext()
public final SceneGraphOpenGLReferences getReferences()
public final void setName(int index,
int name)
index - name - public final int deleteName(int index)
index - public final void setName(int name)
name - public final int deleteName()
public final int getName(int index)
index -
public final boolean nameExists(int index)
index -
public final int getName()
public final boolean nameExists()
public final void setNameValid(int index,
boolean valid)
index - valid - public final void invalidateName(int index)
index - public final void setNameValid(boolean valid)
valid - public final void invalidateName()
public final boolean isNameValid(int index)
index -
public final boolean isNameValid()
public final int getNumNames(boolean onlyExisting)
public abstract void prepareObjectForDestroy()
public abstract void destroyObject(int index,
int name)
canvasPeer - name - public final void destroyObject()
canvasID -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||