Skip to main content

gpu_create_shader

Function gpu_create_shader 

Source
pub fn gpu_create_shader(source: &str) -> u32
Expand description

Compile a WGSL shader module. Returns a handle (0 = failure).