javax.media.j3d
Class ShaderAttributeRetained

java.lang.Object
  extended by javax.media.j3d.IndexedObject
      extended by javax.media.j3d.SceneGraphObjectRetained
          extended by javax.media.j3d.NodeComponentRetained
              extended by javax.media.j3d.ShaderAttributeRetained
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
ShaderAttributeBindingRetained, ShaderAttributeObjectRetained

abstract class ShaderAttributeRetained
extends NodeComponentRetained

The ShaderAttributeRetained object encapsulates a uniform attribute for a shader programs.


Field Summary
(package private)  java.lang.String attrName
          Name of the shader attribute (immutable)
 
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
ShaderAttributeRetained()
          Package scope constructor
 
Method Summary
(package private)  java.lang.String getAttributeName()
          Retrieves the name of this shader attribute.
(package private)  void initializeAttrName(java.lang.String attrName)
           
(package private)  void initMirrorObject()
           
 
Methods inherited from class javax.media.j3d.NodeComponentRetained
addAMirrorUser, addUser, clearLive, clone, copyMirrorUsers, createMirrorObject, decRefCnt, doSetLive, getDuplicateOnCloneTree, getInImmCtx, incRefCnt, notifyUsers, removeAMirrorUser, removeMirrorUsers, removeUser, set, setDuplicateOnCloneTree, setFrequencyChangeMask, setInImmCtx, setLive, updateMirrorObject
 
Methods inherited from class javax.media.j3d.SceneGraphObjectRetained
clearLive, clearLive, compile, doSetLive, doSetLive, getSource, getVirtualUniverse, handleFrequencyChange, isInSetLive, isStatic, 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

attrName

java.lang.String attrName
Name of the shader attribute (immutable)

Constructor Detail

ShaderAttributeRetained

ShaderAttributeRetained()
Package scope constructor

Method Detail

initializeAttrName

void initializeAttrName(java.lang.String attrName)

getAttributeName

java.lang.String getAttributeName()
Retrieves the name of this shader attribute.

Returns:
the name of this shader attribute

initMirrorObject

void initMirrorObject()
Overrides:
initMirrorObject in class NodeComponentRetained


Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.