AttributeNode

Last modified: Jun 30, 2024

Base class for representing shader attributes as nodes.

Constructor

new AttributeNode(attributeName, nodeType?)
ParameterTypeDefault Value
attributeNamestring
nodeType?null | stringnull

Constructs a new attribute node.

AccessorType

Properties

PropertyTypeDefault Value
_attributeNamestring
MethodType

Extends

Node

attribute

TSL function for creating an attribute node.

ParameterTypeDefault Value
namestring
nodeType?null | stringnull

Returns

AttributeNode