|
j3d.org Aviatrix3D | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Marker describing a texture that is rendered to an offscreen buffer, using OpenGL pBuffers.
Method Summary | |
net.java.games.jogl.GLPbuffer |
getBuffer(java.lang.Object obj)
Get the currently registered pBuffer for the given key object. |
void |
getClearColor(float[] col)
Set the background colour that this surface should be cleared to before the drawing step. |
net.java.games.jogl.GLCapabilities |
getGLSetup()
Get the requested buffer setup that describes this offscreen texture. |
int |
getHeight()
Get the height of the texture in pixels. |
Scene |
getRenderedScene()
Get the root of the currently rendered scene. |
int |
getWidth()
Get the width of the texture in pixels. |
boolean |
isRepaintRequired()
Get the current state of the repainting enabled flag. |
void |
registerBuffer(java.lang.Object obj,
net.java.games.jogl.GLPbuffer buffer)
Register a pBuffer for a given key object. |
void |
unregisterBuffer(java.lang.Object obj)
Remove an already registered pBuffer for a given key object. |
Method Detail |
public Scene getRenderedScene()
public int getHeight()
public int getWidth()
public net.java.games.jogl.GLCapabilities getGLSetup()
public net.java.games.jogl.GLPbuffer getBuffer(java.lang.Object obj)
obj
- The key used to register the buffer with
public void registerBuffer(java.lang.Object obj, net.java.games.jogl.GLPbuffer buffer)
obj
- The key used to register the buffer withbuffer
- The buffer instance to use here.public void unregisterBuffer(java.lang.Object obj)
obj
- The key used to register the buffer withpublic boolean isRepaintRequired()
public void getClearColor(float[] col)
col
- An array of at least length 4 to copy values into
|
j3d.org Aviatrix3D | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |