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()
- async get_compilation_info_async()¶
Get shader compilation info. Always returns empty list at the moment.
- get_compilation_info_sync()¶
Sync version of
get_compilation_info_async().Provided by wgpu-py, but not compatible with WebGPU.