|
j3d.org Aviatrix3D | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Marker describing a texture source that gets it's source data from an offscreen, direct rendering path.
Examples of this type of texture are either multipass and pBuffer textures.
Field Summary |
Fields inherited from interface org.j3d.aviatrix3d.TextureSource |
FORMAT_BGR, FORMAT_BGRA, FORMAT_INTENSITY_ALPHA, FORMAT_RGB, FORMAT_RGBA, FORMAT_SINGLE_COMPONENT |
Method Summary | |
void |
getClearColor(float[] col)
Set the background colour that this surface should be cleared to before the drawing step. |
int |
getHeight()
Get the height of the texture in pixels. |
Scene |
getRenderedScene()
Get the root of the currently rendered scene. |
boolean |
isRepaintRequired()
Get the current state of the repainting enabled flag. |
void |
setRenderedScene(Scene scene)
Set the collection of geometry that should be rendered to this texture. |
Methods inherited from interface org.j3d.aviatrix3d.TextureSource |
getFormat, getNumLevels, getWidth |
Method Detail |
public void setRenderedScene(Scene scene) throws InvalidWriteTimingException, CyclicSceneGraphStructureException
scene
- The new scene instance to use or null
CyclicSceneGraphStructureException
- Equal parent and child
InvalidWriteTimingException
- An attempt was made to write outside
of the NodeUpdateListener callback methodpublic Scene getRenderedScene()
public int getHeight()
public boolean isRepaintRequired()
public void getClearColor(float[] col)
col
- An array of at least length 4 to copy values into
|
j3d.org Aviatrix3D | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |