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

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
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Direct Known Subclasses:
TextureConfig.CubeRender, TextureConfig.Derived, TextureConfig.Frame, TextureConfig.Reflection, TextureConfig.Refraction
Enclosing class:
TextureConfig

public abstract static class TextureConfig.BaseDerived
extends TextureConfig.Implementation

Base class of TextureConfig.BaseDerived and related implementations.


Field Summary
 ConfigReference<TextureConfig> texture
          The texture reference.
 
Constructor Summary
TextureConfig.BaseDerived()
           
 
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.
 void getUpdateReferences(ConfigReferenceSet refs)
          Adds the implementation's update references to the provided set.
 boolean isSupported(GlContext ctx, boolean fallback)
          Determines whether this configuration is supported by the hardware.
 
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

texture

@Editable(nullable=true)
public ConfigReference<TextureConfig> texture
The texture reference.

Constructor Detail

TextureConfig.BaseDerived

public TextureConfig.BaseDerived()
Method Detail

getUpdateReferences

public void getUpdateReferences(ConfigReferenceSet refs)
Description copied from class: TextureConfig.Implementation
Adds the implementation's update references to the provided set.

Overrides:
getUpdateReferences in class TextureConfig.Implementation

isSupported

public boolean isSupported(GlContext ctx,
                           boolean fallback)
Description copied from class: TextureConfig.Implementation
Determines whether this configuration is supported by the hardware.

Specified by:
isSupported in class TextureConfig.Implementation

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.

Specified by:
getTexture in class TextureConfig.Implementation


Copyright © 2011. All Rights Reserved.