Skip to main content

raytrace_wgsl

Function raytrace_wgsl 

Source
pub fn raytrace_wgsl() -> &'static str
Expand description

Returns the WGSL shader source for the WebGPU backend.

ยงReturns

  • &'static str - The combined vertex and fragment shader source.