|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.opengl.renderer.TextureUnit
com.threerings.opengl.renderer.Renderer.TextureUnitRecord
protected static class Renderer.TextureUnitRecord
Represents the current state of a single texture unit.
| Field Summary | |
|---|---|
Boolean |
enabled1D
Whether or not 1D texturing is enabled for this unit. |
Boolean |
enabled2D
Whether or not 2D texturing is enabled for this unit. |
Boolean |
enabled3D
Whether or not 3D texturing is enabled for this unit. |
Boolean |
enabledCubeMap
Whether or not cube map texturing is enabled for this unit. |
Boolean |
enabledRectangle
Whether or not rectangular texturing is enabled for this unit. |
Boolean |
genEnabledQ
Whether or not texture coordinate generation is enabled for the q coordinate. |
Boolean |
genEnabledR
Whether or not texture coordinate generation is enabled for the r coordinate. |
Boolean |
genEnabledS
Whether or not texture coordinate generation is enabled for the s coordinate. |
Boolean |
genEnabledT
Whether or not texture coordinate generation is enabled for the t coordinate. |
Vector4f |
genEyePlaneQ
The q texture coordinate generation eye plane. |
Vector4f |
genEyePlaneR
The r texture coordinate generation eye plane. |
Vector4f |
genEyePlaneS
The s texture coordinate generation eye plane. |
Vector4f |
genEyePlaneT
The t texture coordinate generation eye plane. |
Texture |
texture1D
The texture bound to the 1D target. |
Texture |
texture2D
The texture bound to the 2D target. |
Texture |
texture3D
The texture bound to the 3D target. |
Texture |
textureCubeMap
The texture bound to the cube map target. |
Texture |
textureRectangle
The texture bound to the rectangular target. |
TextureUnit |
unit
A reference to the last unit set. |
| Fields inherited from class com.threerings.opengl.renderer.TextureUnit |
|---|
alphaCombine, alphaOperand0, alphaOperand1, alphaOperand2, alphaScale, alphaSource0, alphaSource1, alphaSource2, dirty, envColor, envMode, genModeQ, genModeR, genModeS, genModeT, genPlaneQ, genPlaneR, genPlaneS, genPlaneT, lodBias, rgbCombine, rgbOperand0, rgbOperand1, rgbOperand2, rgbScale, rgbSource0, rgbSource1, rgbSource2, texture, transform |
| Constructor Summary | |
|---|---|
Renderer.TextureUnitRecord()
Creates a new texture unit record. |
|
| Method Summary | |
|---|---|
void |
invalidate()
Invalidates this record, forcing it to be reapplied. |
| Methods inherited from class com.threerings.opengl.renderer.TextureUnit |
|---|
allGenModesEqual, anyGenModesEqual, setTexture |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Boolean enabled1D
public Texture texture1D
public Boolean enabled2D
public Texture texture2D
public Boolean enabledRectangle
public Texture textureRectangle
public Boolean enabled3D
public Texture texture3D
public Boolean enabledCubeMap
public Texture textureCubeMap
public Boolean genEnabledS
public Vector4f genEyePlaneS
public Boolean genEnabledT
public Vector4f genEyePlaneT
public Boolean genEnabledR
public Vector4f genEyePlaneR
public Boolean genEnabledQ
public Vector4f genEyePlaneQ
public TextureUnit unit
| Constructor Detail |
|---|
public Renderer.TextureUnitRecord()
| Method Detail |
|---|
public void invalidate()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||