|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.opengl.renderer.state.RenderState
com.threerings.opengl.renderer.state.TextureState
public class TextureState
Contains the texture state.
| Field Summary | |
|---|---|
static TextureState |
DISABLED
A state that disables texturing. |
| Fields inherited from class com.threerings.opengl.renderer.state.RenderState |
|---|
ALPHA_STATE, ARRAY_STATE, COLOR_MASK_STATE, COLOR_STATE, CULL_STATE, DEPTH_STATE, FOG_STATE, LIGHT_STATE, LINE_STATE, MATERIAL_STATE, POINT_STATE, POLYGON_STATE, SHADER_STATE, STATE_COUNT, STENCIL_STATE, TEXTURE_STATE, TRANSFORM_STATE |
| Constructor Summary | |
|---|---|
TextureState(TextureUnit[] units)
Creates a new texture state. |
|
| Method Summary | |
|---|---|
void |
apply(Renderer renderer)
Applies this state. |
int |
getType()
Returns the type of this state. |
TextureUnit |
getUnit(int idx)
Returns the unit at the specified index, if any. |
TextureUnit[] |
getUnits()
Returns a reference to the array of texture units. |
| Methods inherited from class com.threerings.opengl.renderer.state.RenderState |
|---|
copy, createDefaultSet, createEmptySet, getDefaults, isDirty, setDirty |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final TextureState DISABLED
| Constructor Detail |
|---|
public TextureState(TextureUnit[] units)
| Method Detail |
|---|
public TextureUnit[] getUnits()
public TextureUnit getUnit(int idx)
public int getType()
RenderState
getType in class RenderStatepublic void apply(Renderer renderer)
RenderState
apply in class RenderState
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||