com.threerings.opengl.renderer.config
Class TextureConfig.CubeRender

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.renderer.config.TextureConfig.Implementation
          extended by com.threerings.opengl.renderer.config.TextureConfig.BaseDerived
              extended by 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.
 
Fields inherited from class com.threerings.opengl.renderer.config.TextureConfig.BaseDerived
texture
 
Constructor Summary
TextureConfig.CubeRender()
           
 
Method Summary
 Texture getTexture(GlContext ctx, TextureState state, TextureUnit unit, Scope scope, List<Dependency.Adder> adders, List<Updater> updaters)
          Returns the (possibly dynamic) texture corresponding to this configuration.
 
Methods inherited from class com.threerings.opengl.renderer.config.TextureConfig.BaseDerived
getUpdateReferences, isSupported
 
Methods inherited from class com.threerings.opengl.renderer.config.TextureConfig.Implementation
getFromPool, getTexture, getUpdateResources, invalidate, returnToPool
 
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

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.

Constructor Detail

TextureConfig.CubeRender

public TextureConfig.CubeRender()
Method Detail

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.