|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.expr.DynamicScope
com.threerings.opengl.compositor.RenderEffect
public class RenderEffect
Handles a render effect.
| Nested Class Summary | |
|---|---|
static class |
RenderEffect.OutputTarget
Renders to the output. |
static class |
RenderEffect.Target
Handles a single effect target. |
static class |
RenderEffect.TextureTarget
Renders to a texture. |
| Field Summary |
|---|
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
RenderEffect(GlContext ctx,
Scope parentScope,
ConfigReference<RenderEffectConfig> ref)
Creates a new render effect. |
|
RenderEffect(GlContext ctx,
Scope parentScope,
RenderEffectConfig config)
Creates a new render effect. |
|
| Method Summary | |
|---|---|
int |
compareTo(RenderEffect other)
|
void |
configUpdated(ConfigEvent<RenderEffectConfig> event)
Called when a configuration has been updated. |
void |
dispose()
Releases the resources associated with this scope. |
int |
getPriority()
Returns the effect's priority. |
void |
render(int idx)
Renders this effect. |
void |
setConfig(ConfigReference<RenderEffectConfig> ref)
Sets the configuration of this render effect. |
void |
setConfig(RenderEffectConfig config)
Sets the configuration of this effect. |
| Methods inherited from class com.threerings.expr.DynamicScope |
|---|
addListener, endCompoundUpdate, get, getParentScope, getScopeName, put, remove, removeListener, scopeUpdated, setParentScope, startCompoundUpdate, wasUpdated |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RenderEffect(GlContext ctx,
Scope parentScope,
ConfigReference<RenderEffectConfig> ref)
public RenderEffect(GlContext ctx,
Scope parentScope,
RenderEffectConfig config)
| Method Detail |
|---|
public void setConfig(ConfigReference<RenderEffectConfig> ref)
public void setConfig(RenderEffectConfig config)
public int getPriority()
public void render(int idx)
idx - the effect's index within the compositor list.public void configUpdated(ConfigEvent<RenderEffectConfig> event)
ConfigUpdateListener
configUpdated in interface ConfigUpdateListener<RenderEffectConfig>public int compareTo(RenderEffect other)
compareTo in interface Comparable<RenderEffect>public void dispose()
DynamicScope
dispose in class DynamicScope
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||