|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.media.j3d.IndexedObject
javax.media.j3d.SceneGraphObjectRetained
javax.media.j3d.NodeComponentRetained
javax.media.j3d.TextureUnitStateRetained
class TextureUnitStateRetained
Field Summary | |
---|---|
(package private) static int |
ALL_STATE_CHANGED
|
(package private) TextureAttributesRetained |
texAttrs
|
(package private) static int |
TEXCOORD_GEN_CHANGED
|
(package private) TexCoordGenerationRetained |
texGen
|
(package private) TextureRetained |
texture
|
(package private) static int |
TEXTURE_ATTRS_CHANGED
|
(package private) static int |
TEXTURE_CHANGED
|
Fields inherited from class javax.media.j3d.NodeComponentRetained |
---|
changedFrequent, compChanged, duplicateOnCloneTree, mirror, refCnt, refCount, users |
Fields inherited from class javax.media.j3d.SceneGraphObjectRetained |
---|
DONT_MERGE, inBackgroundGroup, inSetLive, MERGE, MERGE_DONE, mergeFlag, onUpdateList, source |
Fields inherited from class javax.media.j3d.IndexedObject |
---|
listIdx |
Constructor Summary | |
---|---|
TextureUnitStateRetained()
|
Method Summary | |
---|---|
(package private) void |
addAMirrorUser(Shape3DRetained shape)
|
(package private) void |
clearLive(int refCount)
|
protected java.lang.Object |
clone()
|
(package private) void |
compile(CompileState compState)
This is the default compile() method, which just marks the sgo as compiled. |
(package private) void |
copyMirrorUsers(NodeComponentRetained node)
|
(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 |
equals(TextureUnitStateRetained ts)
|
(package private) boolean |
equivalent(TextureUnitStateRetained tr)
|
(package private) boolean |
getInImmCtx()
This gets the immedate mode context flag |
(package private) TexCoordGeneration |
getTexCoordGeneration()
|
(package private) Texture |
getTexture()
|
(package private) TextureAttributes |
getTextureAttributes()
|
(package private) void |
handleFrequencyChange(int bit)
|
(package private) void |
initMirrorObject()
|
(package private) void |
initTexCoordGeneration(TexCoordGeneration texGen)
|
(package private) void |
initTexture(Texture texture)
|
(package private) void |
initTextureAttributes(TextureAttributes texAttrs)
|
(package private) void |
initTextureUnitState(Texture texture,
TextureAttributes texAttrs,
TexCoordGeneration texGen)
|
(package private) boolean |
isLive()
|
(package private) boolean |
isStatic()
true if component can't be read or written after compile or setlive() |
(package private) boolean |
isTextureEnabled()
|
(package private) void |
removeAMirrorUser(Shape3DRetained shape)
|
(package private) void |
removeMirrorUsers(NodeComponentRetained node)
|
(package private) void |
sendMessage(int attrMask,
java.lang.Object attr)
|
protected void |
set(TextureRetained texture,
TextureAttributesRetained texAttrs,
TexCoordGenerationRetained texGen)
|
protected void |
set(TextureUnitStateRetained tr)
set the texture unit state according to the specified texture unit state |
(package private) void |
setInImmCtx(boolean flag)
This sets the immedate mode context flag |
(package private) void |
setLive(boolean backgroundGroup,
int refCount)
|
(package private) void |
setTexCoordGeneration(TexCoordGeneration texGen)
|
(package private) void |
setTexture(Texture texture)
|
(package private) void |
setTextureAttributes(TextureAttributes texAttrs)
|
(package private) void |
setTextureUnitState(Texture texture,
TextureAttributes texAttrs,
TexCoordGeneration texGen)
|
(package private) void |
setTextureUnitStateComponent(NodeComponent comp,
NodeComponentRetained thisComp,
int messageOp)
An abstract method to validate the texture unit state component |
(package private) void |
updateMirrorObject(int component,
java.lang.Object value)
Update the "component" field of the mirror object with the given "value" |
(package private) void |
updateNative(int unitIndex,
Canvas3D cv,
boolean reload,
boolean simulate)
|
Methods inherited from class javax.media.j3d.NodeComponentRetained |
---|
addUser, decRefCnt, doSetLive, getDuplicateOnCloneTree, incRefCnt, notifyUsers, removeUser, set, setDuplicateOnCloneTree, setFrequencyChangeMask |
Methods inherited from class javax.media.j3d.SceneGraphObjectRetained |
---|
clearLive, clearLive, doSetLive, doSetLive, getSource, getVirtualUniverse, isInSetLive, markAsLive, merge, mergeTransform, setCompiled, setLive, setLive, setSource, traverse |
Methods inherited from class javax.media.j3d.IndexedObject |
---|
getIdxUsed, incIdxUsed |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final int TEXTURE_CHANGED
static final int TEXTURE_ATTRS_CHANGED
static final int TEXCOORD_GEN_CHANGED
static final int ALL_STATE_CHANGED
TextureRetained texture
TextureAttributesRetained texAttrs
TexCoordGenerationRetained texGen
Constructor Detail |
---|
TextureUnitStateRetained()
Method Detail |
---|
final void setTextureUnitStateComponent(NodeComponent comp, NodeComponentRetained thisComp, int messageOp)
final void initTextureUnitState(Texture texture, TextureAttributes texAttrs, TexCoordGeneration texGen)
final void setTextureUnitState(Texture texture, TextureAttributes texAttrs, TexCoordGeneration texGen)
final void initTexture(Texture texture)
final void setTexture(Texture texture)
final void initTextureAttributes(TextureAttributes texAttrs)
final void setTextureAttributes(TextureAttributes texAttrs)
final void initTexCoordGeneration(TexCoordGeneration texGen)
final void setTexCoordGeneration(TexCoordGeneration texGen)
Texture getTexture()
TextureAttributes getTextureAttributes()
TexCoordGeneration getTexCoordGeneration()
void updateNative(int unitIndex, Canvas3D cv, boolean reload, boolean simulate)
void createMirrorObject()
createMirrorObject
in class NodeComponentRetained
void initMirrorObject()
initMirrorObject
in class NodeComponentRetained
void updateMirrorObject(int component, java.lang.Object value)
updateMirrorObject
in class NodeComponentRetained
boolean equivalent(TextureUnitStateRetained tr)
protected java.lang.Object clone()
clone
in class NodeComponentRetained
protected void set(TextureUnitStateRetained tr)
protected void set(TextureRetained texture, TextureAttributesRetained texAttrs, TexCoordGenerationRetained texGen)
void addAMirrorUser(Shape3DRetained shape)
addAMirrorUser
in class NodeComponentRetained
void removeAMirrorUser(Shape3DRetained shape)
removeAMirrorUser
in class NodeComponentRetained
void removeMirrorUsers(NodeComponentRetained node)
removeMirrorUsers
in class NodeComponentRetained
void copyMirrorUsers(NodeComponentRetained node)
copyMirrorUsers
in class NodeComponentRetained
void setLive(boolean backgroundGroup, int refCount)
setLive
in class NodeComponentRetained
void clearLive(int refCount)
clearLive
in class NodeComponentRetained
boolean isStatic()
SceneGraphObjectRetained
isStatic
in class SceneGraphObjectRetained
void compile(CompileState compState)
SceneGraphObjectRetained
compile
in class SceneGraphObjectRetained
boolean equals(TextureUnitStateRetained ts)
void setInImmCtx(boolean flag)
NodeComponentRetained
setInImmCtx
in class NodeComponentRetained
boolean getInImmCtx()
NodeComponentRetained
getInImmCtx
in class NodeComponentRetained
boolean isLive()
final void sendMessage(int attrMask, java.lang.Object attr)
boolean isTextureEnabled()
void handleFrequencyChange(int bit)
handleFrequencyChange
in class SceneGraphObjectRetained
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |