dawn.WGPUShaderModule
export interface WGPUShaderModule {
/**
* Opaque native handle to this shader module.
*/
readonly handle: ShaderModuleHandle;
}- readonly
handle(ShaderModuleHandle) - – Opaque native handle to this shader module.
Compiled shader module.
Contains compiled shader code (WGSL) that can be used in compute pipelines. Shader modules are immutable after creation.