Capítulo 380 de 859
Base class for representing shader attributes as nodes.
AttributeNode sets this property to true by default.Constructor
| Signature |
|---|
new AttributeNode( attributeName : string, nodeType : string ) |
Properties
| Property | Description |
|---|---|
.global : boolean | AttributeNode sets this property to true by default. |
Methods
| Method | Description |
|---|---|
.getAttributeName( builder : NodeBuilder ) : string | Returns the attribute name of this node. The method can be overwritten in derived classes if the final name must be computed analytically. |
.setAttributeName( attributeName : string ) : AttributeNode | Sets the attribute name to the given value. The method can be overwritten in derived classes if the final name must be computed analytically. |