|
Aviatrix3D 1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Marker describing a texture source that that is rendered to the main surface using a multipass technique.
Note: This class does nothing in Aviatrix3D 1.0
In a multipass source, the drawn surface still needs to conform to the power of 2 size requirements. Since the viewport for the window is almost guaranteed not to be a power of two, the user must make sure that they set an explicit, correct, viewport size through the ViewEnvironment provided with the scene.
Field Summary | |
static int |
ACCUMULATION_BUFFER
The bitmask indicating the accumulation buffer is used. |
static int |
COLOR_BUFFER
The bitmask indicating the colour buffer is used. |
static int |
DEPTH_BUFFER
The bitmask indicating the depth buffer is used. |
static int |
STENCIL_BUFFER
The bitmask indicating the stencil buffer is used. |
Fields inherited from interface org.j3d.aviatrix3d.TextureSource |
FORMAT_BGR, FORMAT_BGRA, FORMAT_INTENSITY_ALPHA, FORMAT_RGB, FORMAT_RGBA, FORMAT_SINGLE_COMPONENT |
Method Summary | |
MultipassRenderObserver |
getRenderObserver()
Fetch the observer instance that may be associated with the texture source. |
int |
getUsedBuffers()
Get the list of buffers that are required to be rendered by this source. |
void |
setNumLevels(int numLevels)
Set the number of levels of mipmap generation that should be rendered. |
Methods inherited from interface org.j3d.aviatrix3d.OffscreenTextureSource |
getClearColor, getHeight, getRenderedScene, isRepaintRequired, setRenderedScene |
Methods inherited from interface org.j3d.aviatrix3d.TextureSource |
getFormat, getNumLevels, getWidth |
Field Detail |
public static final int COLOR_BUFFER
public static final int DEPTH_BUFFER
public static final int STENCIL_BUFFER
public static final int ACCUMULATION_BUFFER
Method Detail |
public MultipassRenderObserver getRenderObserver()
public int getUsedBuffers()
public void setNumLevels(int numLevels) throws InvalidWriteTimingException, java.lang.IllegalArgumentException
numLevels
- The number of levels to render
java.lang.IllegalArgumentException
- The number of levels is more than what
the current size could reduce to
InvalidWriteTimingException
- An attempt was made to write outside
of the NodeUpdateListener callback method
|
Aviatrix3D 1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |