com.threerings.opengl.renderer.config
Class TextureConfig.Reflection
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.renderer.config.TextureConfig.Implementation
com.threerings.opengl.renderer.config.TextureConfig.BaseDerived
com.threerings.opengl.renderer.config.TextureConfig.Reflection
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- TextureConfig
public static class TextureConfig.Reflection
- extends TextureConfig.BaseDerived
A planar reflection texture.
|
Field Summary |
boolean |
back
Whether to enable rendering to the front and back. |
boolean |
front
Whether to enable rendering to the front and back. |
int |
maxDepth
The maximum allowable depth. |
front
@Editable(hgroup="f")
public boolean front
- Whether to enable rendering to the front and back.
back
@Editable(hgroup="f")
public boolean back
- Whether to enable rendering to the front and back.
maxDepth
@Editable(min=0.0,
hgroup="f")
public int maxDepth
- The maximum allowable depth.
TextureConfig.Reflection
public TextureConfig.Reflection()
getTexture
public Texture getTexture(GlContext ctx,
TextureState state,
TextureUnit unit,
Scope scope,
List<Dependency.Adder> adders,
List<Updater> updaters)
- Description copied from class:
TextureConfig.Implementation
- Returns the (possibly dynamic) texture corresponding to this configuration.
- Overrides:
getTexture in class TextureConfig.BaseDerived
Copyright © 2011. All Rights Reserved.