GPUCompilationMessage
- class wgpu.GPUCompilationMessage
Bases:
objectAn object that contains information about a problem with shader compilation.
- property length: int
The length of the line?
- property line_num: int
The corresponding line number in the shader source.
- property line_pos: int
The position on the line in the shader source.
- property message: str
The warning/error message.
- property offset: int
Offset of …
- property type: Literal['error', 'warning', 'info'] | str
The type of warning/problem.