com.threerings.opengl.renderer.config
Class TextureConfig.BaseDerived
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.renderer.config.TextureConfig.Implementation
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.
texture
@Editable(nullable=true)
public ConfigReference<TextureConfig> texture
- The texture reference.
TextureConfig.BaseDerived
public TextureConfig.BaseDerived()
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.