|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.render.preprocessing.RenderBin
public final class RenderBin
A collection of RenderAtoms that will be prioritized and sorted for rendering.
| Nested Class Summary | |
|---|---|
static class |
RenderBin.DynamicAtomArray
|
| Constructor Summary | |
|---|---|
RenderBin(RenderBinType type,
java.lang.String name,
int initialCapacity)
|
|
| Method Summary | |
|---|---|
void |
addAtom(RenderAtom<? extends Node> atom,
org.openmali.spatial.bodies.Classifier.Classification classify,
long frameId)
Adds a RenderAtom to the chain of RenderAtoms. |
void |
clear()
Removes all Atoms from the RenderBin. |
void |
dump(StatePriorities priorities)
|
RenderAtom<? extends Node> |
getAtom(int index)
|
RenderBin.DynamicAtomArray |
getAtoms()
|
java.lang.String |
getName()
|
RenderAtom<? extends Node> |
getNextAtom()
|
RenderBinType |
getType()
|
void |
resetIterationPointer()
Must be called at the beginning when the Atoms list is to be iterated. |
void |
shrink()
Removes unused atoms from the RenderBin |
int |
size()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RenderBin(RenderBinType type,
java.lang.String name,
int initialCapacity)
| Method Detail |
|---|
public final RenderBinType getType()
public final java.lang.String getName()
public final RenderBin.DynamicAtomArray getAtoms()
public final int size()
public final void clear()
public final void shrink()
public final RenderAtom<? extends Node> getAtom(int index)
index - the deserved Atom's RenderBucket's index.
public final void resetIterationPointer()
public final RenderAtom<? extends Node> getNextAtom()
public final void addAtom(RenderAtom<? extends Node> atom,
org.openmali.spatial.bodies.Classifier.Classification classify,
long frameId)
atom - the RenderAtom to be addedclassify - frameId - public void dump(StatePriorities priorities)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||