com.threerings.opengl.material.config
Class TechniqueConfig.GroupedEnqueuer

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.material.config.TechniqueConfig.Enqueuer
          extended by com.threerings.opengl.material.config.TechniqueConfig.CompoundEnqueuer
              extended by com.threerings.opengl.material.config.TechniqueConfig.GroupedEnqueuer
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
TechniqueConfig

public static class TechniqueConfig.GroupedEnqueuer
extends TechniqueConfig.CompoundEnqueuer

Invokes some number of sub-enqueuers within a group.


Field Summary
 int group
          The group into which the batches are enqueued.
 String queue
          The queue into which we render.
 
Fields inherited from class com.threerings.opengl.material.config.TechniqueConfig.CompoundEnqueuer
enqueuers
 
Constructor Summary
TechniqueConfig.GroupedEnqueuer()
           
 
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.
 TechniqueConfig.Enqueuer rewrite(MaterialRewriter rewriter)
          Calls the appropriate corresponding rewrite method of MaterialRewriter.
 
Methods inherited from class com.threerings.opengl.material.config.TechniqueConfig.CompoundEnqueuer
getDescriptors, getUpdateReferences, invalidate, isSupported
 
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

queue

@Editable(editor="config",
          mode="render_queue",
          nullable=true,
          weight=-1.0,
          hgroup="q")
public String queue
The queue into which we render.


group

@Editable(weight=-1.0,
          hgroup="q")
public int group
The group into which the batches are enqueued.

Constructor Detail

TechniqueConfig.GroupedEnqueuer

public TechniqueConfig.GroupedEnqueuer()
Method Detail

rewrite

public TechniqueConfig.Enqueuer rewrite(MaterialRewriter rewriter)
Description copied from class: TechniqueConfig.Enqueuer
Calls the appropriate corresponding rewrite method of MaterialRewriter.

Overrides:
rewrite in class TechniqueConfig.CompoundEnqueuer

createEnqueueable

public Enqueueable createEnqueueable(GlContext ctx,
                                     Scope scope,
                                     Geometry geometry,
                                     boolean update,
                                     RenderQueue.Group group,
                                     List<Dependency.Adder> adders,
                                     MutableInteger pidx)
Description copied from class: TechniqueConfig.Enqueuer
Creates the enqueueable for this enqueuer.

Overrides:
createEnqueueable in class TechniqueConfig.CompoundEnqueuer
update - 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).


Copyright © 2011. All Rights Reserved.