Base class for representing shader attributes as nodes.
Constructor
new AttributeNode(attributeName, nodeType?)| Parameter | Type | Default Value |
|---|---|---|
| attributeName | string | — |
| nodeType? | null | string | null |
Constructs a new attribute node.
| Accessor | Type | Modifiers |
|---|---|---|
| get type | string | static |
| Method | Type | Modifiers |
|---|---|---|
| getHash | (builder: any) => string | — |
| getNodeType | (builder: any) => null | string | — |
| setAttributeName | (attributeName: string) => AttributeNode | — |
| getAttributeName | () => string | — |
| generate | (builder: any) => any | — |
| serialize | (data: any) => void | — |
| deserialize | (data: any) => void | — |
Extends
Node| Parameter | Type | Default Value |
|---|---|---|
| name | string | — |
| nodeType? | null | string | null |
Returns
AttributeNode