|
Aviatrix3D 2.0 Dev |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.j3d.aviatrix3d.pipeline.graphics.ViewportLayerCollection
Data holder that passes the information about what is to be rendered from a single viewport that has one or more layers.
Field Summary | |
MultipassRenderBucket[] |
multipass
Listing of valid scenes to render from this latyer |
int |
numBuckets
The total number of buckets to render |
int |
numMultipass
The number of multipass scenes total, in all render buckets |
int |
numScenes
The number of valid scenes to render in this layer |
SceneRenderBucket[] |
scenes
Listing of valid scenes to render from this latyer |
boolean[] |
useNormalScene
Indication of whether to use normal (true) or multipass (false) scene at the given layer index. |
Constructor Summary | |
ViewportLayerCollection()
Create a default bucket for handling a layer that defaults to having a single scene. |
|
ViewportLayerCollection(int sceneCount)
Create a bucket for handling a layer that can hold the given number of scenes to be rendered. |
Method Summary | |
void |
ensureMultipassCapacity(int size)
Ensure that there are enough items in the scenes array for the given number of scenes to be processed. |
void |
ensureSceneCapacity(int size)
Ensure that there are enough items in the scenes array for the given number of scenes to be processed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public SceneRenderBucket[] scenes
public int numScenes
public MultipassRenderBucket[] multipass
public int numMultipass
public boolean[] useNormalScene
public int numBuckets
Constructor Detail |
public ViewportLayerCollection()
By default the multipass buckets are not allocated.
public ViewportLayerCollection(int sceneCount) throws java.lang.IllegalArgumentException
By default the multipass buckets are not allocated.
sceneCount
- The number of scenes to be handled
java.lang.IllegalArgumentException
- The size was non-positiveMethod Detail |
public void ensureSceneCapacity(int size)
size
- The minimum size neededpublic void ensureMultipassCapacity(int size)
size
- The minimum size needed
|
Aviatrix3D 2.0 Dev |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |