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

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

public static class TextureConfig.OriginalRectangle
extends TextureConfig.Original2D

A 2D texture that uses the rectangle target.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.renderer.config.TextureConfig.Original2D
TextureConfig.Original2D.Blank, TextureConfig.Original2D.Contents, TextureConfig.Original2D.ImageFile
 
Field Summary
 
Fields inherited from class com.threerings.opengl.renderer.config.TextureConfig.Original2D
contents
 
Fields inherited from class com.threerings.opengl.renderer.config.TextureConfig.Original
_pool, _texture, border, borderColor, compareFunc, compareMode, depthMode, format, identity, magFilter, maxAnisotropy, minFilter, wrapR, wrapS, wrapT
 
Constructor Summary
TextureConfig.OriginalRectangle()
           
 
Method Summary
protected  Texture createTexture(GlContext ctx)
          Creates the texture for this configuration.
 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.Original2D
getUpdateResources
 
Methods inherited from class com.threerings.opengl.renderer.config.TextureConfig.Original
configureTexture, getFromPool, getPool, 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
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextureConfig.OriginalRectangle

public TextureConfig.OriginalRectangle()
Method Detail

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

createTexture

protected Texture createTexture(GlContext ctx)
Description copied from class: TextureConfig.Original
Creates the texture for this configuration.

Overrides:
createTexture in class TextureConfig.Original2D