Struct wgpu::ShaderModuleDescriptor [−][src]
pub struct ShaderModuleDescriptor<'a> {
pub label: Label<'a>,
pub source: ShaderSource<'a>,
}Expand description
Descriptor for a shader module.
Fields
label: Label<'a>Debug label of the shader module. This will show up in graphics debuggers for easy identification.
source: ShaderSource<'a>Source code for the shader.