com.threerings.opengl.renderer.config
Class TextureCoordGenConfig.NormalMap
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.renderer.config.TextureCoordGenConfig
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.
|
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. |
TextureCoordGenConfig.NormalMap
public TextureCoordGenConfig.NormalMap()
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.