Function nannou_wgpu::shader_from_spirv_bytes
source · 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.
pub fn shader_from_spirv_bytes(device: &Device, bytes: &[u8]) -> ShaderModule
Create a wgpu shader module from the given slice of SPIR-V bytes.