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, com.threerings.resource.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.
 
Field Summary
 RenderEffectConfig.Implementation implementation
          The actual effect implementation.
 
Fields inherited from class com.threerings.config.BoundConfig
bindings
 
Fields inherited from class com.threerings.config.ParameterizedConfig
parameters
 
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.
 void wasUpdated()
          Notes that this configuration has been updated.
 
Methods inherited from class com.threerings.config.BoundConfig
scopeUpdated
 
Methods inherited from class com.threerings.config.ParameterizedConfig
getInstance, getParameter, getReference, validateOuters, validateReferences
 
Methods inherited from class com.threerings.config.ManagedConfig
addListener, configUpdated, getConfigManager, getInstance, getInstance, getInstance, getInstance, getName, 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
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


Copyright © 2011. All Rights Reserved.