|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.j3d.aviatrix3d.pipeline.graphics.ViewportCollection
public class ViewportCollection
Data holder that passes the information about what is to be rendered from a
single layer (with multiple viewports, potentially) from the output of the
GraphicsCullStage
through to the GraphicsSortStage
.
Field Summary | |
---|---|
int |
numViewports
The number of valid viewports to render in this layer |
ViewportLayerCollection[] |
viewports
Listing of valid viewports to render from this latyer |
Constructor Summary | |
---|---|
ViewportCollection()
Create a default bucket for handling a layer that defaults to having a single scene. |
|
ViewportCollection(int layerCount)
Create a bucket for handling a layer that can hold the given number of scenes to be rendered. |
Method Summary | |
---|---|
void |
ensureCapacity(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 ViewportLayerCollection[] viewports
public int numViewports
Constructor Detail |
---|
public ViewportCollection()
public ViewportCollection(int layerCount) throws java.lang.IllegalArgumentException
layerCount
- The number of scenes to be handled
java.lang.IllegalArgumentException
- The size was non-positiveMethod Detail |
---|
public void ensureCapacity(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 |