Advanced
Parses a WGSL shader source and extracts its @group/@binding declarations and the structs they reference. The result feeds generateGpuLayoutGroups to build a WebGPU bind group layout.
@group
@binding
The WGSL shader source to parse.
The structs and @group/@binding groups found in the source.
Parses a WGSL shader source and extracts its
@group/@bindingdeclarations and the structs they reference. The result feeds generateGpuLayoutGroups to build a WebGPU bind group layout.