webgpu: Support shader customizations
Advanced VTK developers have been used to customizing shader code at runtime with string substitutions specified on the actor's vtkShaderProperty
. Example: Replace //VTK::Color::Impl
with custom glsl code.
Similarly, let's allow developers to customize .wgsl
shader code.
Edited by Jaswant Panchumarti (Kitware)