class TextureAttributesRetained extends NodeComponentRetained
| Modifier and Type | Field and Description |
|---|---|
(package private) static int |
COLOR_CHANGED |
(package private) static int |
COMBINE_ALPHA_FCN_CHANGED |
(package private) static int |
COMBINE_ALPHA_MODE_CHANGED |
(package private) static int |
COMBINE_ALPHA_SCALE_CHANGED |
(package private) static int |
COMBINE_ALPHA_SRC_CHANGED |
(package private) static int |
COMBINE_RGB_FCN_CHANGED |
(package private) static int |
COMBINE_RGB_MODE_CHANGED |
(package private) static int |
COMBINE_RGB_SCALE_CHANGED |
(package private) static int |
COMBINE_RGB_SRC_CHANGED |
(package private) int[] |
combineAlphaFcn |
(package private) int |
combineAlphaMode |
(package private) int |
combineAlphaScale |
(package private) int[] |
combineAlphaSrc |
(package private) int[] |
combineRgbFcn |
(package private) int |
combineRgbMode |
(package private) int |
combineRgbScale |
(package private) int[] |
combineRgbSrc |
(package private) static java.lang.Integer[] |
commandInt |
(package private) static int |
CORRECTION_CHANGED |
(package private) static java.lang.Integer[] |
enums |
(package private) boolean |
mirrorCompDirty |
(package private) static int |
MODE_CHANGED |
(package private) int |
numTextureColorTableComponents |
(package private) int |
perspCorrectionMode |
(package private) static int |
TEXTURE_COLOR_TABLE_CHANGED |
(package private) Color4f |
textureBlendColor |
(package private) int[] |
textureColorTable |
(package private) int |
textureColorTableSize |
(package private) int |
textureMode |
(package private) Transform3D |
transform |
(package private) static int |
TRANSFORM_CHANGED |
changedFrequent, compChanged, duplicateOnCloneTree, mirror, refCnt, refCount, usersDONT_MERGE, inBackgroundGroup, inSetLive, MERGE, MERGE_DONE, mergeFlag, onUpdateList, sourcelistIdx| Constructor and Description |
|---|
TextureAttributesRetained() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
clone() |
(package private) void |
createMirrorObject()
Creates and initializes a mirror object, point the mirror object
to the retained object if the object is not editable
|
(package private) boolean |
equivalent(TextureAttributesRetained tr) |
(package private) int |
getCombineAlphaFunction(int index) |
(package private) int |
getCombineAlphaMode() |
(package private) int |
getCombineAlphaScale() |
(package private) int |
getCombineAlphaSource(int index) |
(package private) int |
getCombineRgbFunction(int index) |
(package private) int |
getCombineRgbMode() |
(package private) int |
getCombineRgbScale() |
(package private) int |
getCombineRgbSource(int index) |
(package private) int |
getNumTextureColorTableComponents() |
(package private) int |
getPerspectiveCorrectionMode()
Gets perspective correction mode value.
|
(package private) void |
getTextureBlendColor(Color4f textureBlendColor)
Gets the texture blend color for this
appearance component object.
|
(package private) void |
getTextureColorTable(int[][] table) |
(package private) int |
getTextureColorTableSize() |
(package private) int |
getTextureMode()
Gets the texture mode parameter for this
texture attributes object.
|
(package private) void |
getTextureTransform(Transform3D transform)
Retrieves a copy of the texture transform object.
|
(package private) void |
handleFrequencyChange(int bit) |
(package private) void |
initCombineAlphaFunction(int index,
int fcn) |
(package private) void |
initCombineAlphaMode(int mode) |
(package private) void |
initCombineAlphaScale(int scale) |
(package private) void |
initCombineAlphaSource(int index,
int src) |
(package private) void |
initCombineMode(TextureAttributesRetained tr) |
(package private) void |
initCombineRgbFunction(int index,
int fcn) |
(package private) void |
initCombineRgbMode(int mode) |
(package private) void |
initCombineRgbScale(int scale) |
(package private) void |
initCombineRgbSource(int index,
int src) |
(package private) void |
initMirrorObject()
Initializes a mirror object
|
(package private) void |
initPerspectiveCorrectionMode(int mode) |
(package private) void |
initTextureBlendColor(Color4f textureBlendColor) |
(package private) void |
initTextureBlendColor(float r,
float g,
float b,
float a) |
(package private) void |
initTextureColorTable(int[][] table) |
(package private) static void |
initTextureEnums() |
(package private) void |
initTextureMode(int textureMode) |
(package private) void |
initTextureTransform(Transform3D transform) |
(package private) void |
sendMessage(int attrMask,
java.lang.Object attr1,
java.lang.Object attr2) |
protected void |
set(TextureAttributesRetained tr) |
(package private) void |
setCombineAlphaFunction(int index,
int fcn) |
(package private) void |
setCombineAlphaMode(int mode) |
(package private) void |
setCombineAlphaScale(int scale) |
(package private) void |
setCombineAlphaSource(int index,
int src) |
(package private) void |
setCombineRgbFunction(int index,
int fcn) |
(package private) void |
setCombineRgbMode(int mode) |
(package private) void |
setCombineRgbScale(int scale) |
(package private) void |
setCombineRgbSource(int index,
int src) |
(package private) void |
setPerspectiveCorrectionMode(int mode)
Sets perspective correction mode to be used for color
and/or texture coordinate interpolation.
|
(package private) void |
setTextureBlendColor(Color4f textureBlendColor)
Sets the texture blend color for this
texture attributes object.
|
(package private) void |
setTextureBlendColor(float r,
float g,
float b,
float a)
Sets the texture blend color for this
appearance component object.
|
(package private) void |
setTextureColorTable(int[][] table) |
(package private) void |
setTextureMode(int textureMode)
Sets the texture mode parameter for this
appearance component object.
|
(package private) void |
setTextureTransform(Transform3D transform)
Sets the texture transform object used to transform texture
coordinates.
|
(package private) void |
updateMirrorObject(int component,
java.lang.Object value,
java.lang.Object value2)
Update the "component" field of the mirror object with the
given "value"
|
(package private) void |
updateNative(Canvas3D cv,
boolean simulate,
int textureFormat) |
addAMirrorUser, addUser, clearLive, copyMirrorUsers, decRefCnt, doSetLive, getDuplicateOnCloneTree, getInImmCtx, incRefCnt, notifyUsers, removeAMirrorUser, removeMirrorUsers, removeUser, set, setDuplicateOnCloneTree, setFrequencyChangeMask, setInImmCtx, setLive, updateMirrorObjectclearLive, clearLive, compile, doSetLive, doSetLive, getSource, getVirtualUniverse, isInSetLive, isStatic, markAsLive, merge, mergeTransform, setCompiled, setLive, setLive, setSource, traversegetIdxUsed, incIdxUsedstatic final int TRANSFORM_CHANGED
static final int MODE_CHANGED
static final int COLOR_CHANGED
static final int CORRECTION_CHANGED
static final int TEXTURE_COLOR_TABLE_CHANGED
static final int COMBINE_RGB_MODE_CHANGED
static final int COMBINE_ALPHA_MODE_CHANGED
static final int COMBINE_RGB_SRC_CHANGED
static final int COMBINE_ALPHA_SRC_CHANGED
static final int COMBINE_RGB_FCN_CHANGED
static final int COMBINE_ALPHA_FCN_CHANGED
static final int COMBINE_RGB_SCALE_CHANGED
static final int COMBINE_ALPHA_SCALE_CHANGED
static java.lang.Integer[] commandInt
static java.lang.Integer[] enums
Transform3D transform
int textureMode
Color4f textureBlendColor
int[] textureColorTable
int numTextureColorTableComponents
int textureColorTableSize
int combineRgbMode
int combineAlphaMode
int[] combineRgbSrc
int[] combineAlphaSrc
int[] combineRgbFcn
int[] combineAlphaFcn
int combineRgbScale
int combineAlphaScale
int perspCorrectionMode
boolean mirrorCompDirty
static final void initTextureEnums()
final void initCombineMode(TextureAttributesRetained tr)
final void initTextureMode(int textureMode)
final void setTextureMode(int textureMode)
textureMode - the texture mode, one of: MODULATE,
DECAL, BLEND, or REPLACEfinal int getTextureMode()
final void initTextureBlendColor(Color4f textureBlendColor)
final void setTextureBlendColor(Color4f textureBlendColor)
textureBlendColor - the texture blend color used when
the mode is BLENDfinal void initTextureBlendColor(float r,
float g,
float b,
float a)
final void setTextureBlendColor(float r,
float g,
float b,
float a)
r - the red component of the colorg - the green component of the colorb - the blue component of the colora - the alpha component of the colorfinal void getTextureBlendColor(Color4f textureBlendColor)
textureBlendColor - the vector that will receive the texture
blend color used when the mode is BLENDfinal void initTextureTransform(Transform3D transform)
final void setTextureTransform(Transform3D transform)
transform - the new transform objectfinal void getTextureTransform(Transform3D transform)
transform - the transform object that will receive the
current texture transform.final void initPerspectiveCorrectionMode(int mode)
final void setPerspectiveCorrectionMode(int mode)
mode - one of NICEST or FASTEST.
The default value is NICEST.final int getPerspectiveCorrectionMode()
final void setTextureColorTable(int[][] table)
final void initTextureColorTable(int[][] table)
final void getTextureColorTable(int[][] table)
final int getNumTextureColorTableComponents()
final int getTextureColorTableSize()
final void initCombineRgbMode(int mode)
final void setCombineRgbMode(int mode)
final int getCombineRgbMode()
final void initCombineAlphaMode(int mode)
final void setCombineAlphaMode(int mode)
final int getCombineAlphaMode()
final void initCombineRgbSource(int index,
int src)
final void setCombineRgbSource(int index,
int src)
final int getCombineRgbSource(int index)
final void initCombineAlphaSource(int index,
int src)
final void setCombineAlphaSource(int index,
int src)
final int getCombineAlphaSource(int index)
final void initCombineRgbFunction(int index,
int fcn)
final void setCombineRgbFunction(int index,
int fcn)
final int getCombineRgbFunction(int index)
final void initCombineAlphaFunction(int index,
int fcn)
final void setCombineAlphaFunction(int index,
int fcn)
final int getCombineAlphaFunction(int index)
final void initCombineRgbScale(int scale)
final void setCombineRgbScale(int scale)
final int getCombineRgbScale()
final void initCombineAlphaScale(int scale)
final void setCombineAlphaScale(int scale)
final int getCombineAlphaScale()
void updateNative(Canvas3D cv, boolean simulate, int textureFormat)
void createMirrorObject()
createMirrorObject in class NodeComponentRetainedvoid initMirrorObject()
initMirrorObject in class NodeComponentRetainedvoid updateMirrorObject(int component,
java.lang.Object value,
java.lang.Object value2)
boolean equivalent(TextureAttributesRetained tr)
protected java.lang.Object clone()
clone in class NodeComponentRetainedprotected void set(TextureAttributesRetained tr)
final void sendMessage(int attrMask,
java.lang.Object attr1,
java.lang.Object attr2)
void handleFrequencyChange(int bit)
handleFrequencyChange in class SceneGraphObjectRetainedCopyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.