|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
OffscreenBufferRenderable
.
public interface PBufferTextureSource
Marker describing a texture that is rendered to an offscreen buffer, using OpenGL pBuffers.
Internally the system will use a pBuffer to render this texture source to a complete rendered scene. As such, this represents a complete rendered system of layers, multipass rendering and normal capabilties.
Field Summary |
---|
Fields inherited from interface org.j3d.aviatrix3d.TextureSource |
---|
FORMAT_BGR, FORMAT_BGRA, FORMAT_INTENSITY_ALPHA, FORMAT_LUMINANCE_ALPHA, FORMAT_RGB, FORMAT_RGBA, FORMAT_SINGLE_COMPONENT |
Method Summary | |
---|---|
void |
bindBuffer(javax.media.opengl.GLContext context)
Deprecated. Now replaced by the same method in OffscreenBufferRenderable |
javax.media.opengl.GLPbuffer |
getBuffer(java.lang.Object obj)
Deprecated. Get the currently registered pBuffer for the given key object. |
javax.media.opengl.GLCapabilities |
getGLSetup()
Deprecated. Now replaced by the same method in OffscreenBufferRenderable |
void |
getLayers(Layer[] layers)
Deprecated. Fetch the current layers that are set. |
int |
numLayers()
Deprecated. Get the number of layers that are currently set. |
void |
registerBuffer(java.lang.Object obj,
javax.media.opengl.GLPbuffer buffer)
Deprecated. Now replaced by the same method in OffscreenBufferRenderable |
void |
setLayers(Layer[] layers,
int numLayers)
Deprecated. Set the collection of geometry that should be rendered to this texture. |
void |
unbindBuffer(javax.media.opengl.GLContext context)
Deprecated. Now replaced by the same method in OffscreenBufferRenderable |
void |
unregisterBuffer(java.lang.Object obj)
Deprecated. Now replaced by the same method in OffscreenBufferRenderable |
Methods inherited from interface org.j3d.aviatrix3d.OffscreenTextureSource |
---|
getClearColor, getHeight, isRepaintRequired |
Methods inherited from interface org.j3d.aviatrix3d.TextureSource |
---|
getFormat, getNumLevels, getWidth |
Method Detail |
---|
void setLayers(Layer[] layers, int numLayers) throws InvalidWriteTimingException, CyclicSceneGraphStructureException
layers
- The collection of layers, in order, to rendernumLayers
- The number of valid layers to use
CyclicSceneGraphStructureException
- Equal parent and child
InvalidWriteTimingException
- An attempt was made to write outside
of the NodeUpdateListener callback methodint numLayers()
void getLayers(Layer[] layers) throws java.lang.IllegalArgumentException
numLayers()
in length. If not, this method does nothing (the
provided array will be unchanged).
layers
- An array to copy the values into
java.lang.IllegalArgumentException
- The array provided is too small or nulljavax.media.opengl.GLCapabilities getGLSetup()
OffscreenBufferRenderable
javax.media.opengl.GLPbuffer getBuffer(java.lang.Object obj)
obj
- The key used to register the buffer with
void registerBuffer(java.lang.Object obj, javax.media.opengl.GLPbuffer buffer)
OffscreenBufferRenderable
obj
- The key used to register the buffer withbuffer
- The buffer instance to use here.void unregisterBuffer(java.lang.Object obj)
OffscreenBufferRenderable
obj
- The key used to register the buffer withvoid bindBuffer(javax.media.opengl.GLContext context)
OffscreenBufferRenderable
context
- The containing context to bind fromvoid unbindBuffer(javax.media.opengl.GLContext context)
OffscreenBufferRenderable
context
- The containing context to bind from
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |