com.threerings.opengl.renderer.config
Class TextureConfig.CubeRender
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.CubeRender
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- TextureConfig
public static class TextureConfig.CubeRender
- extends TextureConfig.BaseDerived
A dynamically rendered cube map.
|
Field Summary |
int |
faces
Toggles for the faces. |
float |
far
The distance to the far clip plane. |
int |
maxDepth
The maximum allowable depth. |
float |
near
The distance to the near clip plane. |
near
@Editable(min=0.0,
step=0.01,
hgroup="f")
public float near
- The distance to the near clip plane.
far
@Editable(min=0.0,
step=0.01,
hgroup="f")
public float far
- The distance to the far clip plane.
faces
@Editable(editor="mask",
mode="cube_map_face",
hgroup="m")
public int faces
- Toggles for the faces.
maxDepth
@Editable(min=0.0,
hgroup="m")
public int maxDepth
- The maximum allowable depth.
TextureConfig.CubeRender
public TextureConfig.CubeRender()
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.