3 ms·
If you're talking about the shading language WGSL, yes if you inline it in your code you won't have syntax highlighting (unless your editor happens to support t
by bschwindHN 3y ago
If you're talking about the shading language WGSL, yes if you inline it in your code you won't have syntax highlighting (unless your editor happens to support that usage). Depending on your code infrastructure you can have it in separate files though with syntax highlighting. It's just a string you pass to an API, after all.
It's not really anything to do with WebGPU in particular.