GPUCompilationMessage

class wgpu.GPUCompilationMessage

Bases: object

An object that contains information about a problem with shader compilation.

property length

The length of the line?

property line_num

The corresponding line number in the shader source.

property line_pos

The position on the line in the shader source.

property message

The warning/error message.

property offset

Offset of …

property type

The type of warning/problem.