GPUCompilationMessage
class GPUCompilationMessage
Describes a single message generated during shader compilation.
Summary
Public constructors |
|---|
Public properties |
|
|---|---|
Long |
The length in bytes of the source code related to the message. |
Long |
|
Long |
|
String |
The compilation message string. |
Long |
The byte offset from the beginning of the shader source. |
Int |
The severity of the message (error, warning, or info). |
Public constructors
GPUCompilationMessage
Added in 1.0.0-alpha05
GPUCompilationMessage(
message: String,
type: Int,
lineNum: Long,
linePos: Long,
offset: Long,
length: Long
)
Public properties
length
Added in 1.0.0-alpha05
var length: Long
The length in bytes of the source code related to the message.
offset
Added in 1.0.0-alpha05
var offset: Long
The byte offset from the beginning of the shader source.