|
||||||||||
| 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.TextureEnvironmentConfig
@EditorTypes(value={TextureEnvironmentConfig.Modulate.class,TextureEnvironmentConfig.Decal.class,TextureEnvironmentConfig.Blend.class,TextureEnvironmentConfig.Replace.class,TextureEnvironmentConfig.Add.class,TextureEnvironmentConfig.Combine.class})
public abstract class TextureEnvironmentConfigContains the configuration of a texture unit's environment.
| Nested Class Summary | |
|---|---|
static class |
TextureEnvironmentConfig.Add
The add environment mode. |
static class |
TextureEnvironmentConfig.AlphaCombine
Alpha combination modes. |
static class |
TextureEnvironmentConfig.AlphaOperand
Alpha combination operands. |
static class |
TextureEnvironmentConfig.AlphaParam
A single alpha source/operand pair. |
static class |
TextureEnvironmentConfig.Blend
The blend environment mode. |
static class |
TextureEnvironmentConfig.Combine
The combine environment mode. |
static class |
TextureEnvironmentConfig.Decal
The decal environment mode. |
static class |
TextureEnvironmentConfig.Modulate
The modulate environment mode. |
static class |
TextureEnvironmentConfig.Replace
The replace environment mode. |
static class |
TextureEnvironmentConfig.RGBCombine
RGB combination modes. |
static class |
TextureEnvironmentConfig.RGBOperand
RGB combination operands. |
static class |
TextureEnvironmentConfig.RGBParam
A single rgb combine parameter. |
static class |
TextureEnvironmentConfig.Scale
The combination scale values. |
static class |
TextureEnvironmentConfig.Source
Combine sources. |
| Field Summary | |
|---|---|
Color4f |
color
The environment color. |
float |
lodBias
The texture level of detail bias. |
| Constructor Summary | |
|---|---|
TextureEnvironmentConfig()
|
|
| Method Summary | |
|---|---|
void |
configure(TextureUnit unit)
Configures the supplied texture unit with this environment's parameters. |
abstract int |
getMode()
Returns the OpenGL constant for the mode. |
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 |
| Field Detail |
|---|
@Editable(mode="alpha",
hgroup="cl")
public Color4f color
@Editable(step=0.01,
hgroup="cl")
public float lodBias
| Constructor Detail |
|---|
public TextureEnvironmentConfig()
| Method Detail |
|---|
public boolean isSupported(boolean fallback)
public void configure(TextureUnit unit)
public abstract int getMode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||