com.threerings.opengl.compositor
Class RenderEffect.Target

java.lang.Object
  extended by com.threerings.expr.SimpleScope
      extended by com.threerings.opengl.compositor.RenderEffect.Target
All Implemented Interfaces:
Scope, ScopeUpdateListener
Direct Known Subclasses:
RenderEffect.OutputTarget, RenderEffect.TextureTarget
Enclosing class:
RenderEffect

public abstract static class RenderEffect.Target
extends SimpleScope

Handles a single effect target.


Field Summary
protected  TargetConfig _config
          The target config.
protected  GlContext _ctx
          The renderer context.
protected  Executor[] _executors
          Executors for the target steps.
 
Fields inherited from class com.threerings.expr.SimpleScope
_parentScope
 
Fields inherited from interface com.threerings.expr.Scope
EPOCH, NOW
 
Constructor Summary
protected RenderEffect.Target(GlContext ctx, Scope parentScope)
          Creates a new target.
 
Method Summary
 String getScopeName()
          Returns the name of this scope for purposes of qualification.
 void render()
          Renders this target.
protected  void setConfig(TargetConfig config)
          Sets the configuration of this target.
 
Methods inherited from class com.threerings.expr.SimpleScope
addListener, dispose, get, getParentScope, removeListener, scopeUpdated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_ctx

protected GlContext _ctx
The renderer context.


_config

protected TargetConfig _config
The target config.


_executors

protected Executor[] _executors
Executors for the target steps.

Constructor Detail

RenderEffect.Target

protected RenderEffect.Target(GlContext ctx,
                              Scope parentScope)
Creates a new target.

Method Detail

render

public void render()
Renders this target.


getScopeName

public String getScopeName()
Description copied from interface: Scope
Returns the name of this scope for purposes of qualification. Can return null if qualified symbols cannot specifically address this scope.

Specified by:
getScopeName in interface Scope
Overrides:
getScopeName in class SimpleScope

setConfig

protected void setConfig(TargetConfig config)
Sets the configuration of this target.