com.threerings.opengl.compositor
Class RenderEffect.TextureTarget

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

public static class RenderEffect.TextureTarget
extends RenderEffect.Target

Renders to a texture.


Field Summary
 
Fields inherited from interface com.threerings.expr.Scope
EPOCH, NOW
 
Constructor Summary
RenderEffect.TextureTarget(GlContext ctx, Scope parentScope, TargetConfig.Texture config)
          Creates a new texture target.
 
Method Summary
 void dispose()
          Releases the resources associated with this scope.
 void render()
          Renders this target.
 void setConfig(TargetConfig.Texture config)
          Sets the configuration of this target.
 
Methods inherited from class com.threerings.opengl.compositor.RenderEffect.Target
getScopeName
 
Methods inherited from class com.threerings.expr.SimpleScope
addListener, get, getParentScope, removeListener, scopeUpdated
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenderEffect.TextureTarget

public RenderEffect.TextureTarget(GlContext ctx,
                                  Scope parentScope,
                                  TargetConfig.Texture config)
Creates a new texture target.

Method Detail

setConfig

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


render

public void render()
Description copied from class: RenderEffect.Target
Renders this target.

Overrides:
render in class RenderEffect.Target

dispose

public void dispose()
Description copied from class: SimpleScope
Releases the resources associated with this scope.

Overrides:
dispose in class SimpleScope


Copyright © 2011. All Rights Reserved.