pub type ShaderModuleDescriptorDxil<'a> = ShaderModuleDescriptorDxil<'a, Label<'a>>;
Expand description
Descriptor for a shader module given by DirectX DXIL source.
This type is unique to the Rust API of wgpu
. In the WebGPU specification,
only WGSL source code strings are accepted.
Aliased Type§
struct ShaderModuleDescriptorDxil<'a> {
pub entry_point: String,
pub label: Option<&'a str>,
pub num_workgroups: (u32, u32, u32),
pub source: &'a [u8],
}
Fields§
§entry_point: String
Entrypoint.
label: Option<&'a str>
Debug label of the shader module. This will show up in graphics debuggers for easy identification.
num_workgroups: (u32, u32, u32)
Number of workgroups in each dimension x, y and z.
source: &'a [u8]
Shader DXIL source.