Struct wgpu::ShaderModule [−][src]
pub struct ShaderModule { /* fields omitted */ }
Expand description
Handle to a compiled shader module.
A ShaderModule
represents a compiled shader module on the GPU. It can be created by passing
valid SPIR-V source code to Device::create_shader_module
. Shader modules are used to define
programmable stages of a pipeline.