|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
OffscreenTexture2D
or MRTOffscreenTexture2D
public interface MultipassTextureSource
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
Deprecated. The bitmask indicating the accumulation buffer is used. |
static int |
COLOR_BUFFER
Deprecated. The bitmask indicating the colour buffer is used. |
static int |
DEPTH_BUFFER
Deprecated. The bitmask indicating the depth buffer is used. |
static int |
STENCIL_BUFFER
Deprecated. The bitmask indicating the stencil buffer is used. |
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 | |
---|---|
MultipassRenderObserver |
getRenderObserver()
Deprecated. Fetch the observer instance that may be associated with the texture source. |
int |
getUsedBuffers()
Deprecated. Get the list of buffers that are required to be rendered by this source. |
ViewportLayer |
getViewportLayer()
Deprecated. Get the root of the currently rendered scene. |
void |
setNumLevels(int numLevels)
Deprecated. Set the number of levels of mipmap generation that should be rendered. |
Methods inherited from interface org.j3d.aviatrix3d.OffscreenTextureSource |
---|
getClearColor, getHeight, isRepaintRequired |
Methods inherited from interface org.j3d.aviatrix3d.TextureSource |
---|
getFormat, getNumLevels, getWidth |
Field Detail |
---|
static final int COLOR_BUFFER
static final int DEPTH_BUFFER
static final int STENCIL_BUFFER
static final int ACCUMULATION_BUFFER
Method Detail |
---|
ViewportLayer getViewportLayer()
MultipassRenderObserver getRenderObserver()
int getUsedBuffers()
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 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |