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

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.Original
              extended by com.threerings.opengl.renderer.config.TextureConfig.OriginalCubeMap
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
TextureConfig

public static class TextureConfig.OriginalCubeMap
extends TextureConfig.Original

A cube map texture.


Nested Class Summary
static class TextureConfig.OriginalCubeMap.Blank
          Creates a blank texture.
static class TextureConfig.OriginalCubeMap.Contents
          The initial contents of the texture.
static class TextureConfig.OriginalCubeMap.FileTrio
          Contains the files for the x, y, and z faces.
static class TextureConfig.OriginalCubeMap.ImageFile
          Creates a texture from the specified image.
static class TextureConfig.OriginalCubeMap.ImageFiles
          Creates a texture from the specified images.
 
Field Summary
 TextureConfig.OriginalCubeMap.Contents contents
          The initial contents of the texture.
 
Fields inherited from class com.threerings.opengl.renderer.config.TextureConfig.Original
border, borderColor, compareFunc, compareMode, depthMode, format, identity, magFilter, maxAnisotropy, minFilter, wrapR, wrapS, wrapT
 
Constructor Summary
TextureConfig.OriginalCubeMap()
           
 
Method Summary
 void getUpdateResources(HashSet<String> paths)
          Adds the implementation's update resources 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.Original
getFromPool, getTexture, invalidate, returnToPool
 
Methods inherited from class com.threerings.opengl.renderer.config.TextureConfig.Implementation
getTexture, getUpdateReferences
 
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

contents

@Editable(category="data")
public TextureConfig.OriginalCubeMap.Contents contents
The initial contents of the texture.

Constructor Detail

TextureConfig.OriginalCubeMap

public TextureConfig.OriginalCubeMap()
Method Detail

getUpdateResources

public void getUpdateResources(HashSet<String> paths)
Description copied from class: TextureConfig.Implementation
Adds the implementation's update resources to the provided set.

Overrides:
getUpdateResources 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.

Overrides:
isSupported in class TextureConfig.Original


Copyright © 2011. All Rights Reserved.