WGSL is strictly typed, puts every variable in an explicit address space, and lays out buffers by rules the host must match byte for byte. Every example here ran on the GPU.
MENU
WGSL Types
WGSL Types, Variables and Address Spaces
WGSL Types, Variables and Address Spaces
WGSL is strictly typed, puts every variable in an explicit address space, and lays out buffers by rules the host must match byte for byte. Every example here ran on the GPU.