|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use MaterialState | |
|---|---|
| com.threerings.opengl.renderer.config | Renderer configuration bits. |
| com.threerings.opengl.renderer.state | |
| Uses of MaterialState in com.threerings.opengl.renderer.config |
|---|
| Methods in com.threerings.opengl.renderer.config that return MaterialState | |
|---|---|
MaterialState |
MaterialStateConfig.getState()
Returns the corresponding material state. |
| Uses of MaterialState in com.threerings.opengl.renderer.state |
|---|
| Fields in com.threerings.opengl.renderer.state declared as MaterialState | |
|---|---|
static MaterialState |
MaterialState.DEFAULT
The default material. |
static MaterialState |
MaterialState.WHITE
A simple white material. |
| Methods in com.threerings.opengl.renderer.state that return MaterialState | |
|---|---|
static MaterialState |
MaterialState.getInstance(Color4f frontAmbient,
Color4f frontDiffuse,
Color4f frontSpecular,
Color4f frontEmission,
float frontShininess,
Color4f backAmbient,
Color4f backDiffuse,
Color4f backSpecular,
Color4f backEmission,
float backShininess,
int colorMaterialMode,
int colorMaterialFace,
boolean localViewer,
boolean separateSpecular,
boolean flatShading)
If there is a shared instance with the supplied parameters, returns a reference to it; otherwise, returns a new state with the parameters. |
static MaterialState |
MaterialState.getInstance(Color4f frontAmbient,
Color4f frontDiffuse,
Color4f frontSpecular,
Color4f frontEmission,
float frontShininess,
Color4f backAmbient,
Color4f backDiffuse,
Color4f backSpecular,
Color4f backEmission,
float backShininess,
int colorMaterialMode,
int colorMaterialFace,
boolean twoSide,
boolean localViewer,
boolean separateSpecular,
boolean flatShading)
If there is a shared instance with the supplied parameters, returns a reference to it; otherwise, returns a new state with the parameters. |
static MaterialState |
MaterialState.getInstance(Color4f ambient,
Color4f diffuse,
Color4f specular,
Color4f emission,
float shininess,
int colorMaterialMode,
boolean localViewer,
boolean separateSpecular,
boolean flatShading)
If there is a shared instance with the supplied parameters, returns a reference to it; otherwise, returns a new state with the parameters. |
static MaterialState |
MaterialState.getInstance(MaterialState state)
If there is a shared equivalent to the specified state, this method will return the shared state; otherwise, it will simply return the parameter. |
| Methods in com.threerings.opengl.renderer.state with parameters of type MaterialState | |
|---|---|
static MaterialState |
MaterialState.getInstance(MaterialState state)
If there is a shared equivalent to the specified state, this method will return the shared state; otherwise, it will simply return the parameter. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||