|
||||||||||
| 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.MaterialStateConfig
@EditorTypes(value={MaterialStateConfig.OneSided.class,MaterialStateConfig.TwoSided.class})
public abstract class MaterialStateConfigConfigurable material state.
| Nested Class Summary | |
|---|---|
static class |
MaterialStateConfig.ColorMaterialFace
Color material face constants. |
static class |
MaterialStateConfig.ColorMaterialMode
Color material mode constants. |
static class |
MaterialStateConfig.OneSided
A one-sided material configuration. |
static class |
MaterialStateConfig.Side
The parameters of one side. |
static class |
MaterialStateConfig.TwoSided
A two-sided material configuration. |
| Field Summary | |
|---|---|
MaterialStateConfig.ColorMaterialMode |
colorMaterialMode
The color material mode. |
boolean |
flatShading
The flat shading flag. |
boolean |
localViewer
The local viewer flag. |
boolean |
separateSpecular
The separate specular flag. |
boolean |
uniqueInstance
If true, do not use a shared instance. |
| Constructor Summary | |
|---|---|
MaterialStateConfig()
|
|
| Method Summary | |
|---|---|
MaterialState |
getState()
Returns the corresponding material state. |
void |
invalidate()
Invalidates the config's cached data. |
boolean |
isSupported(boolean fallback)
Determines whether this state is supported by the hardware. |
| 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(weight=1.0,
hgroup="cm")
public MaterialStateConfig.ColorMaterialMode colorMaterialMode
@Editable(hgroup="m3",
weight=2.0)
public boolean localViewer
@Editable(hgroup="m3",
weight=2.0)
public boolean separateSpecular
@Editable(hgroup="m3",
weight=2.0)
public boolean flatShading
@Editable(weight=2.0) public boolean uniqueInstance
| Constructor Detail |
|---|
public MaterialStateConfig()
| Method Detail |
|---|
public boolean isSupported(boolean fallback)
public MaterialState getState()
public void invalidate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||