Tour of WGSL

Arrays

Arrays are indexed collections of elements.

The first element is at index 0.

Arrays either have a fixed size: array<T,N> or are runtime-sized array<T> .