GPUShaderModule
- class wgpu.GPUShaderModule
Bases:
GPUObjectBaseRepresents a programmable shader.
Create a shader module using GPUDevice.create_shader_module().
- get_compilation_info(*args, **kwargs)
Backwards compatible method for get_compilation_info_sync()
- get_compilation_info_async() GPUPromise[GPUCompilationInfo]
Get shader compilation info. Always resolves to an empty list at the moment.
- get_compilation_info_sync() GPUCompilationInfo
Sync version of
get_compilation_info_async().Provided by wgpu-py, but not compatible with WebGPU.