|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.j3d.aviatrix3d.pipeline.graphics.ViewportLayerCollection
public class 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 | |
---|---|
static int |
FLAT_SCENE
Scene type is 2D scene |
MultipassRenderBucket[] |
multipass
Listing of valid scenes to render from this latyer |
static int |
MULTIPASS_SCENE
Scene type is multipass scene |
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 |
byte[] |
sceneType
Indication of what scene type this layer represents. |
static int |
SINGLE_SCENE
Scene type is basic scene |
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 static final int SINGLE_SCENE
public static final int MULTIPASS_SCENE
public static final int FLAT_SCENE
public SceneRenderBucket[] scenes
public int numScenes
public MultipassRenderBucket[] multipass
public int numMultipass
public byte[] sceneType
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.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |