Skip to main content

generate

Function generate 

Source
pub fn generate(program: &TypedProgram) -> KainResult<String>
Expand description

Generate USF code from typed KAIN program Uses two-pass generation: first collect all uniforms, then emit code