com.threerings.opengl.renderer.config
Class TextureCoordGenConfig.NormalMap

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.renderer.config.TextureCoordGenConfig
          extended by com.threerings.opengl.renderer.config.TextureCoordGenConfig.NormalMap
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
TextureCoordGenConfig

public static class TextureCoordGenConfig.NormalMap
extends TextureCoordGenConfig

Generates coordinates using a normal map function.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.renderer.config.TextureCoordGenConfig
TextureCoordGenConfig.EyeLinear, TextureCoordGenConfig.Linear, TextureCoordGenConfig.NormalMap, TextureCoordGenConfig.ObjectLinear, TextureCoordGenConfig.ReflectionMap, TextureCoordGenConfig.SphereMap
 
Constructor Summary
TextureCoordGenConfig.NormalMap()
           
 
Method Summary
 int getModeAndPlane(Vector4f plane)
          Returns the OpenGL constant for the mode and populates the supplied object with the plane coefficients (if applicable).
 boolean isSupported(boolean fallback)
          Checks whether the mode is supported.
 
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
 

Constructor Detail

TextureCoordGenConfig.NormalMap

public TextureCoordGenConfig.NormalMap()
Method Detail

isSupported

public boolean isSupported(boolean fallback)
Description copied from class: TextureCoordGenConfig
Checks whether the mode is supported.

Overrides:
isSupported in class TextureCoordGenConfig

getModeAndPlane

public int getModeAndPlane(Vector4f plane)
Description copied from class: TextureCoordGenConfig
Returns the OpenGL constant for the mode and populates the supplied object with the plane coefficients (if applicable).

Specified by:
getModeAndPlane in class TextureCoordGenConfig


Copyright © 2011. All Rights Reserved.