public abstract class ShaderAttribute extends NodeComponent
There are two ways in which values can be specified for uniform attributes: explicitly, by providing a value; and implicitly, by defining a binding between a Java 3D system attribute and a uniform attribute. This functionality is provided by two subclasses of ShaderAttribute as follows:
(attrName, value) pairs, is used for explicitly
defined attributes(attrName, j3dAttrName) pairs, is used for
implicitly defined, automatically tracked attributesShaderAttributeSet,
ShaderProgramforceDuplicatenodeHashtable, retained| Constructor and Description |
|---|
ShaderAttribute(java.lang.String attrName)
Package scope constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAttributeName()
Retrieves the name of this shader attribute.
|
checkDuplicateNodeComponent, cloneNodeComponent, cloneNodeComponent, createRetained, duplicateAttributes, duplicateChild, duplicateNodeComponent, duplicateNodeComponent, getDuplicateOnCloneTree, setDuplicateOnCloneTree, validateImageIllegalSharingcapabilityBitsEmpty, checkForLiveOrCompiled, clearCapability, clearCapabilityIsFrequent, clearLive, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getName, getNamePrefix, getNodeComponent, getUserData, isCompiled, isLive, isLiveOrCompiled, setCapability, setCapabilityIsFrequent, setCompiled, setDefaultReadCapabilities, setLive, setName, setUserData, toString, updateNodeReferencesCopyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.