|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.opengl.compositor.config.TargetConfig
com.threerings.opengl.compositor.config.TargetConfig.Texture
public static class TargetConfig.Texture
Renders to a (color and/or depth) texture.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.threerings.opengl.compositor.config.TargetConfig |
|---|
TargetConfig.Input, TargetConfig.Output, TargetConfig.Texture |
| Field Summary | |
|---|---|
ConfigReference<TextureConfig> |
color
The color texture to which we render. |
ConfigReference<TextureConfig> |
depth
The depth texture to which we render. |
int |
depthBits
The number of depth bits to request. |
int |
stencilBits
The number of stencil bits to request. |
| Fields inherited from class com.threerings.opengl.compositor.config.TargetConfig |
|---|
input, steps |
| Constructor Summary | |
|---|---|
TargetConfig.Texture()
|
|
| Method Summary | |
|---|---|
RenderEffect.Target |
createEffectTarget(GlContext ctx,
Scope scope)
Creates the effect target for this config. |
TextureRenderer |
getTextureRenderer(GlContext ctx)
Retrieves the texture renderer for this config. |
void |
getUpdateReferences(ConfigReferenceSet refs)
Adds the target's update references to the provided set. |
boolean |
isSupported(GlContext ctx,
boolean fallback)
Determines whether this target config is supported by the hardware. |
| 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 |
|---|
@Editable(weight=-1.0,
nullable=true)
public ConfigReference<TextureConfig> color
@Editable(weight=-1.0,
nullable=true)
public ConfigReference<TextureConfig> depth
@Editable(min=0.0,
weight=-1.0,
hgroup="b")
public int depthBits
@Editable(min=0.0,
weight=-1.0,
hgroup="b")
public int stencilBits
| Constructor Detail |
|---|
public TargetConfig.Texture()
| Method Detail |
|---|
public TextureRenderer getTextureRenderer(GlContext ctx)
public void getUpdateReferences(ConfigReferenceSet refs)
TargetConfig
getUpdateReferences in class TargetConfig
public boolean isSupported(GlContext ctx,
boolean fallback)
TargetConfig
isSupported in class TargetConfig
public RenderEffect.Target createEffectTarget(GlContext ctx,
Scope scope)
TargetConfig
createEffectTarget in class TargetConfig
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||