|
Aviatrix3D 2.0 Dev |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Marker describing a renderable object that is used to control one of the OpenGL buffer states.
The buffer state renderables are only used at the beginning of a rendering pass as part of a Scene object. Buffer state renderables may be issued once at the beginning of a drawing run and then never again. In multipass rendering where you may want to accumulate state over multiple runs, one instance may start the state, then several are used to change the state between runs, and finally it is cleared at the end of the last run.
Method Summary | |
boolean |
checkClearBufferState()
Check to see if this buffer should be cleared at the start of this run. |
void |
clearBufferState(javax.media.opengl.GL gl)
Restore all state to the default values. |
int |
getBufferBitMask()
Get the GL buffer bit flag that this state class represents. |
void |
setBufferState(javax.media.opengl.GL gl)
Issue ogl commands needed for this buffer to set the initial state, including the initial enabling. |
void |
updateBufferState(javax.media.opengl.GL gl)
Issue ogl commands needed for this component to change the state, assuming that it is already enabled. |
Methods inherited from interface org.j3d.aviatrix3d.Renderable |
equals |
Methods inherited from interface java.lang.Comparable |
compareTo |
Method Detail |
public int getBufferBitMask()
public boolean checkClearBufferState()
public void setBufferState(javax.media.opengl.GL gl)
gl
- The gl context to draw withpublic void updateBufferState(javax.media.opengl.GL gl)
gl
- The gl context to draw withpublic void clearBufferState(javax.media.opengl.GL gl)
gl
- The gl context to draw with
|
Aviatrix3D 2.0 Dev |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |