|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector<Drawable>
de.grogra.imp3d.glsl.utility.DrawableContainer
public class DrawableContainer
Container for Drawables. Optimized to cache Instances of Drawables
| Field Summary |
|---|
| Fields inherited from class java.util.Vector |
|---|
capacityIncrement, elementCount, elementData |
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
DrawableContainer()
|
|
| Method Summary | |
|---|---|
void |
add(GLSLRenderable shape,
Shader s,
GLSLMaterial sh,
boolean asNode,
int layer,
Matrix4d worldTransform,
Matrix4d cachedWorldTransform)
|
void |
cleanup()
|
void |
init()
|
boolean |
isEmpty()
|
Drawable |
lastElement()
|
int |
size()
|
java.lang.String |
toString()
|
| Methods inherited from class java.util.Vector |
|---|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, subList, toArray, toArray, trimToSize |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DrawableContainer()
| Method Detail |
|---|
public void add(GLSLRenderable shape,
Shader s,
GLSLMaterial sh,
boolean asNode,
int layer,
Matrix4d worldTransform,
Matrix4d cachedWorldTransform)
public void cleanup()
public void init()
public boolean isEmpty()
isEmpty in interface java.util.Collection<Drawable>isEmpty in interface java.util.List<Drawable>isEmpty in class java.util.Vector<Drawable>public Drawable lastElement()
lastElement in class java.util.Vector<Drawable>public int size()
size in interface java.util.Collection<Drawable>size in interface java.util.List<Drawable>size in class java.util.Vector<Drawable>public java.lang.String toString()
toString in class java.util.Vector<Drawable>
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||