|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.opengl.util.SimpleRenderable
public abstract class SimpleRenderable
A base class for renderable objects based on SimpleBatches.
| Constructor Summary | |
|---|---|
SimpleRenderable(GlContext ctx)
Creates a new simple renderable. |
|
SimpleRenderable(GlContext ctx,
String queue)
Creates a new simple renderable. |
|
SimpleRenderable(GlContext ctx,
String queue,
int priority)
Creates a new simple renderable. |
|
SimpleRenderable(GlContext ctx,
String queue,
int priority,
boolean modifiesColorState,
int primitiveCount)
Creates a new simple renderable. |
|
| Method Summary | |
|---|---|
void |
composite()
Adds this object's Dependencys and Enqueueables to the compositor in
preparation for rendering. |
void |
enqueue()
Enqueues this object for rendering. |
RenderState[] |
getStates()
Returns a reference to the state set. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleRenderable(GlContext ctx)
public SimpleRenderable(GlContext ctx,
String queue)
queue - the name of the queue into which we place the batch.
public SimpleRenderable(GlContext ctx,
String queue,
int priority)
queue - the name of the queue into which we place the batch.priority - the priority level at which to enqueue the batch.
public SimpleRenderable(GlContext ctx,
String queue,
int priority,
boolean modifiesColorState,
int primitiveCount)
queue - the name of the queue into which we place the batch.priority - the priority level at which to enqueue the batch.modifiesColorState - if true, invalidate the color state after calling the
draw() method.primitiveCount - the primitive count to report to the renderer.| Method Detail |
|---|
public RenderState[] getStates()
public void composite()
CompositableDependencys and Enqueueables to the compositor in
preparation for rendering.
composite in interface Compositablepublic void enqueue()
Enqueueable
enqueue in interface Enqueueable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||