|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.opengl.renderer.config.TextureCoordGenConfig
@EditorTypes(value={TextureCoordGenConfig.ObjectLinear.class,TextureCoordGenConfig.EyeLinear.class,TextureCoordGenConfig.SphereMap.class,TextureCoordGenConfig.NormalMap.class,TextureCoordGenConfig.ReflectionMap.class})
public abstract class TextureCoordGenConfigContains a texture coordinate generation function.
| Nested Class Summary | |
|---|---|
static class |
TextureCoordGenConfig.EyeLinear
Generates coordinates using a linear function in eye space. |
static class |
TextureCoordGenConfig.Linear
Superclass of the linear texture coordinate generation functions. |
static class |
TextureCoordGenConfig.NormalMap
Generates coordinates using a normal map function. |
static class |
TextureCoordGenConfig.ObjectLinear
Generates coordinates using a linear function in object (model) space. |
static class |
TextureCoordGenConfig.ReflectionMap
Generates coordinates using a reflection map function. |
static class |
TextureCoordGenConfig.SphereMap
Generates coordinates using a sphere map function. |
| Constructor Summary | |
|---|---|
TextureCoordGenConfig()
|
|
| Method Summary | |
|---|---|
abstract 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. |
boolean |
usesNormals()
Checks whether the texture coordinate generation function uses vertex normals. |
| 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 |
|---|
public TextureCoordGenConfig()
| Method Detail |
|---|
public boolean isSupported(boolean fallback)
public abstract int getModeAndPlane(Vector4f plane)
public boolean usesNormals()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||