|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OffscreenBufferRenderable
A renderable that represents a separate rendering space to an offscreen buffer, rather than to the main buffer.
This class encapsulates both pbuffer and frame buffer object renderable capabilities.
Assumptions and Requirements
Field Summary | |
---|---|
static int |
FORMAT_ALPHA
Interpret the texture format as alpha only |
static int |
FORMAT_DEPTH_COMPONENT
Interpret the texture format as a depth component texture |
static int |
FORMAT_INTENSITY
Interpret the texture format as intensity only |
static int |
FORMAT_LUMINANCE
Interpret the texture format as luminance only |
static int |
FORMAT_LUMINANCE_ALPHA
Interpret the texture format as intensity-alpha |
static int |
FORMAT_RGB
Interpret the texture format as RGB |
static int |
FORMAT_RGBA
Interpret the texture format as RGBA |
Method Summary | |
---|---|
void |
getClearColor(float[] col)
Set the background colour that this surface should be cleared to before the drawing step. |
OffscreenRenderTargetRenderable |
getDepthRenderable()
If a separate depth render target has been requested, return the renderable for that object now. |
int |
getFormat()
Fetch the format of the texture that this buffer should be interpreted as when the texture is applied to the containing object. |
javax.media.opengl.GLCapabilities |
getGLSetup()
Deprecated. Use OffscreenRenderTargetRenderable.getBufferSetup() Always returns null |
int |
getNumRenderTargets()
Get the number of render targets that this offscreen renderable manages. |
OffscreenRenderTargetRenderable |
getRenderTargetRenderable(int index)
Get the child render target at the given index. |
boolean |
hasBufferResized()
Check to see if this buffer has resized since the last time it was used. |
boolean |
hasSeparateDepthRenderable()
Check to see if the depth buffer has its own separate renderable object. |
Methods inherited from interface org.j3d.aviatrix3d.rendering.OffscreenRenderTargetRenderable |
---|
getBuffer, getBufferSetup, getHeight, getWidth, isChildRenderTarget, registerBuffer, unregisterBuffer |
Methods inherited from interface org.j3d.aviatrix3d.rendering.Renderable |
---|
equals |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Field Detail |
---|
static final int FORMAT_ALPHA
static final int FORMAT_INTENSITY
static final int FORMAT_LUMINANCE
static final int FORMAT_LUMINANCE_ALPHA
static final int FORMAT_RGB
static final int FORMAT_RGBA
static final int FORMAT_DEPTH_COMPONENT
Method Detail |
---|
void getClearColor(float[] col)
col
- An array of at least length 4 to copy values intojavax.media.opengl.GLCapabilities getGLSetup()
OffscreenRenderTargetRenderable.getBufferSetup()
Always returns null
int getFormat()
int getNumRenderTargets()
OffscreenRenderTargetRenderable getRenderTargetRenderable(int index)
index
- The index of the target to fetch
boolean hasSeparateDepthRenderable()
OffscreenRenderTargetRenderable getDepthRenderable()
boolean hasBufferResized()
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |