ref
ref<
T>:Textendsobject?T&ref<T> :ref<T>
A reference to a value T. Can be passed to other functions to give them
mutable access to the underlying value.
Conceptually, it represents a WGSL pointer.
Type Parameters
Section titled “Type Parameters”• T