|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.opengl.material.config.TechniqueConfig.Enqueuer
com.threerings.opengl.material.config.TechniqueConfig.NormalEnqueuer
public static class TechniqueConfig.NormalEnqueuer
Enqueues a single batch at a configurable priority.
| Field Summary | |
|---|---|
PassConfig[] |
passes
The passes to render. |
int |
priority
The priority at which the batch is enqueued. |
String |
queue
The queue into which we render. |
| Constructor Summary | |
|---|---|
TechniqueConfig.NormalEnqueuer()
|
|
| Method Summary | |
|---|---|
Enqueueable |
createEnqueueable(GlContext ctx,
Scope scope,
Geometry geometry,
boolean update,
RenderQueue.Group group,
List<Dependency.Adder> adders,
MutableInteger pidx)
Creates the enqueueable for this enqueuer. |
void |
getDescriptors(GlContext ctx,
List<PassDescriptor> list)
Adds the descriptors for this enqueuer's passes (as encountered in a depth-first traversal) to the provided list. |
void |
getUpdateReferences(ConfigReferenceSet refs)
Adds the enqueuer's update references to the provided set. |
void |
invalidate()
Invalidates any cached data. |
boolean |
isSupported(GlContext ctx,
boolean fallback)
Determines whether this enqueuer is supported by the hardware. |
TechniqueConfig.Enqueuer |
rewrite(MaterialRewriter rewriter)
Calls the appropriate corresponding rewrite method of MaterialRewriter. |
| Methods inherited from class com.threerings.util.DeepObject |
|---|
clone, copy, copy, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
@Editable(editor="config",
mode="render_queue",
nullable=true,
hgroup="q")
public String queue
@Editable(hgroup="q") public int priority
@Editable public PassConfig[] passes
| Constructor Detail |
|---|
public TechniqueConfig.NormalEnqueuer()
| Method Detail |
|---|
public void getUpdateReferences(ConfigReferenceSet refs)
TechniqueConfig.Enqueuer
getUpdateReferences in class TechniqueConfig.Enqueuer
public boolean isSupported(GlContext ctx,
boolean fallback)
TechniqueConfig.Enqueuer
isSupported in class TechniqueConfig.Enqueuerpublic TechniqueConfig.Enqueuer rewrite(MaterialRewriter rewriter)
TechniqueConfig.EnqueuerMaterialRewriter.
rewrite in class TechniqueConfig.Enqueuer
public void getDescriptors(GlContext ctx,
List<PassDescriptor> list)
TechniqueConfig.Enqueuer
getDescriptors in class TechniqueConfig.Enqueuer
public Enqueueable createEnqueueable(GlContext ctx,
Scope scope,
Geometry geometry,
boolean update,
RenderQueue.Group group,
List<Dependency.Adder> adders,
MutableInteger pidx)
TechniqueConfig.Enqueuer
createEnqueueable in class TechniqueConfig.Enqueuerupdate - if true, update the geometry before enqueuing it.adders - a list to populate with adders to run before compositing.pidx - the index of the current pass in the list returned by
TechniqueConfig.Enqueuer.getDescriptors(com.threerings.opengl.util.GlContext, java.util.List) (updated by callees).public void invalidate()
TechniqueConfig.Enqueuer
invalidate in class TechniqueConfig.Enqueuer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||