Tour of WGSL

Variables

A variable represents a value stored in memory. Variables are declared with the var keyword. Variables are the only mutable objects in a WGSL program.

Immutable values are declared with the const, override, and let keywords.