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
,
ShaderProgram
Modifier and Type | Method and Description |
---|---|
String |
getAttributeName()
Retrieves the name of this shader attribute.
|
cloneNodeComponent, cloneNodeComponent, duplicateNodeComponent, duplicateNodeComponent, getDuplicateOnCloneTree, setDuplicateOnCloneTree
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString, updateNodeReferences
public String getAttributeName()
Copyright © 2016–2022 SciJava. All rights reserved.