pub fn shader_from_spirv_bytes(device: &Device, bytes: &[u8]) -> ShaderModule
Expand description

Create a wgpu shader module from the given slice of SPIR-V bytes.