com.threerings.opengl.compositor.config
Class RenderEffectConfig

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.config.ManagedConfig
          extended by com.threerings.config.ParameterizedConfig
              extended by com.threerings.config.BoundConfig
                  extended by com.threerings.opengl.compositor.config.RenderEffectConfig
All Implemented Interfaces:
ConfigUpdateListener<ManagedConfig>, Exportable, ScopeUpdateListener, ResourceManager.ModificationObserver, Copyable, Cloneable

public class RenderEffectConfig
extends BoundConfig

Describes a render effect.


Nested Class Summary
static class RenderEffectConfig.Derived
          A derived implementation.
static class RenderEffectConfig.Implementation
          Contains the actual implementation of the effect.
static class RenderEffectConfig.Original
          An original implementation.
static class RenderEffectConfig.Technique
          A technique available to render the effect.
 
Nested classes/interfaces inherited from class com.threerings.config.BoundConfig
BoundConfig.ScopeKey
 
Field Summary
 RenderEffectConfig.Implementation implementation
          The actual effect implementation.
 
Fields inherited from class com.threerings.config.BoundConfig
_bound, _updaters, bindings
 
Fields inherited from class com.threerings.config.ParameterizedConfig
_args, _base, _derived, parameters
 
Fields inherited from class com.threerings.config.ManagedConfig
_cfgmgr, _listeners, _name, _updateConfigs, _updateResources
 
Constructor Summary
RenderEffectConfig()
           
 
Method Summary
 int getPriority(GlContext ctx)
          Gets the priority of the effect.
 RenderEffectConfig.Technique getTechnique(GlContext ctx, String scheme)
          Finds a technique to render this effect.
protected  void getUpdateReferences(ConfigReferenceSet refs)
          Collects all of the references within this config to configs that, when updated, should trigger a call to ManagedConfig.fireConfigUpdated().
 void wasUpdated()
          Notes that this configuration has been updated.
 
Methods inherited from class com.threerings.config.BoundConfig
bind, getBound, scopeUpdated
 
Methods inherited from class com.threerings.config.ParameterizedConfig
applyArguments, applyArguments, getInstance, getParameter, getParameter, getReference, maybeFireOnConfigManager, validateOuters, validateReferences
 
Methods inherited from class com.threerings.config.ManagedConfig
addListener, addUpdateDependencies, clearUpdateDependencies, configUpdated, fireConfigUpdated, getConfigManager, getInstance, getInstance, getInstance, getInstance, getName, getUpdateResources, init, removeListener, resourceModified, setName, updateFromSource
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

implementation

@Editable
public RenderEffectConfig.Implementation implementation
The actual effect implementation.

Constructor Detail

RenderEffectConfig

public RenderEffectConfig()
Method Detail

getPriority

public int getPriority(GlContext ctx)
Gets the priority of the effect.


getTechnique

public RenderEffectConfig.Technique getTechnique(GlContext ctx,
                                                 String scheme)
Finds a technique to render this effect.

Parameters:
scheme - the preferred render scheme to use.

wasUpdated

public void wasUpdated()
Description copied from class: ManagedConfig
Notes that this configuration has been updated.

Overrides:
wasUpdated in class BoundConfig

getUpdateReferences

protected void getUpdateReferences(ConfigReferenceSet refs)
Description copied from class: ManagedConfig
Collects all of the references within this config to configs that, when updated, should trigger a call to ManagedConfig.fireConfigUpdated().

Overrides:
getUpdateReferences in class ManagedConfig