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

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.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.
 
Fields inherited from class com.threerings.opengl.renderer.config.TextureConfig.BaseDerived
texture
 
Constructor Summary
TextureConfig.Reflection()
           
 
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

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.

Constructor Detail

TextureConfig.Reflection

public TextureConfig.Reflection()
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.