One potentially tricky part is that the generated WGSL should be written to the disk, so that projects like wgsl-analyzer can actually use the structs and properly suggest autocompletions in the IDE.
Otherwise, one works with a partial shader code, and WGSL language servers cannot possibly do their job.
Pinging @victorvde to hear their thoughts on this.
One potentially tricky part is that the generated WGSL should be written to the disk, so that projects like wgsl-analyzer can actually use the structs and properly suggest autocompletions in the IDE. Otherwise, one works with a partial shader code, and WGSL language servers cannot possibly do their job.
Pinging @victorvde to hear their thoughts on this.