Skip to main content

effect_wgsl

Function effect_wgsl 

Source
pub fn effect_wgsl(definition: &EffectDef) -> String
Expand description

Returns the complete module the renderer compiles for definition: the generated preamble for its parameters and resources, followed by its body.