#Shader defs on internal assets
2 messages · Page 1 of 1 (latest)
Shader defs are usually set at the pipeline level, not the shader level (not sure if you can set them at the shader level)
2 messages · Page 1 of 1 (latest)
I'm trying define some defs on a wgsl file loaded like: load_internal_asset!(app, UTIL, "../assets/shaders/util.wgsl", Shader::from_wgsl);
How can I do that?
Shader defs are usually set at the pipeline level, not the shader level (not sure if you can set them at the shader level)