Inheritance: EventDispatcher → Node → ArrayElementNode →
This class enables element access on instances of StorageBufferNode. In most cases, it is indirectly used when accessing elements with the StorageBufferNode#element method.
const position = positionStorage.element( instanceIndex );
Constructs storage buffer element node.
storageBufferNode
The storage buffer node.
indexNode
The index node that defines the element access.
This flag can be used for type testing.
Default is true.
The storage buffer node.