Aviatrix3D
2.1.0

org.j3d.aviatrix3d.rendering
Interface OffscreenCullable

All Superinterfaces:
Cullable
All Known Implementing Classes:
MRTOffscreenTexture2D, OffscreenTexture2D

public interface OffscreenCullable
extends Cullable

A cullable that represents and offscreen rendered piece of scene graph that will be used later by a parent object.

An offscreen cullable has two parts - the scene graph that it contains, and the buffer that it should be rendered to. The buffer could be a pbuffer or frame buffer object (FBO). The implementation is not specified at this level.

Version:
$Revision: 2.2 $
Author:
Justin Couch

Method Summary
 LayerCullable getCullableLayer(int layerIndex)
          Get the cullable layer child that for the given layer index.
 OffscreenBufferRenderable getOffscreenRenderable()
          Fetch the renderable that this offscreen cullable will draw to.
 boolean isRepaintRequired()
          Get the current state of the repainting enabled flag.
 int numCullableChildren()
          Returns the number of valid cullable children to process.
 

Method Detail

isRepaintRequired

boolean isRepaintRequired()
Get the current state of the repainting enabled flag.

Returns:
true when the texture requires re-drawing

getCullableLayer

LayerCullable getCullableLayer(int layerIndex)
Get the cullable layer child that for the given layer index.

Returns:
The layer cullable at the given index or null

numCullableChildren

int numCullableChildren()
Returns the number of valid cullable children to process. If there are no valid cullable children, return 0.

Returns:
A number greater than or equal to zero or -1

getOffscreenRenderable

OffscreenBufferRenderable getOffscreenRenderable()
Fetch the renderable that this offscreen cullable will draw to.

Returns:
The renderable instance that we deposit pixels to

Aviatrix3D
2.1.0

Latest Info from http://aviatrix3d.j3d.org/
Copyright © 2003 - 2009 j3d.org