Default values can be set using WGPU_COMPILATION_MESSAGE_INIT as initializer.
Definition at line 1800 of file webgpu.h.
◆ nextInChain
◆ message
◆ type
WGPUCompilationMessageType WGPUCompilationMessage::type |
Severity level of the message.
Defaults to (WGPUCompilationMessageType)0.
Definition at line 1815 of file webgpu.h.
◆ lineNum
uint64_t WGPUCompilationMessage::lineNum |
Line number where the message is attached, starting at 1.
Defaults to 0
.
Definition at line 1821 of file webgpu.h.
◆ linePos
uint64_t WGPUCompilationMessage::linePos |
Offset in UTF-8 code units (bytes) from the beginning of the line, starting at 1.
Defaults to 0
.
Definition at line 1827 of file webgpu.h.
◆ offset
uint64_t WGPUCompilationMessage::offset |
Offset in UTF-8 code units (bytes) from the beginning of the shader code, starting at 0.
Defaults to 0
.
Definition at line 1833 of file webgpu.h.
◆ length
uint64_t WGPUCompilationMessage::length |
Length in UTF-8 code units (bytes) of the span the message corresponds to.
Defaults to 0
.
Definition at line 1839 of file webgpu.h.