GPUCompilationMessage


class GPUCompilationMessage


A single message generated during shader compilation.

Summary

Public constructors

GPUCompilationMessage(
    message: String,
    type: Int,
    lineNum: Long,
    linePos: Long,
    offset: Long,
    length: Long
)

Public properties

Long

The length in bytes of the affected source code span.

Long
Long
String

The content of the compilation message.

Long

The byte offset in the source code where the message originates.

Int

The type or severity of the message (error, warning, info).

Public constructors

GPUCompilationMessage

Added in 1.0.0-alpha02
GPUCompilationMessage(
    message: String,
    type: Int,
    lineNum: Long,
    linePos: Long,
    offset: Long,
    length: Long
)

Public properties

length

Added in 1.0.0-alpha02
var lengthLong

The length in bytes of the affected source code span.

lineNum

Added in 1.0.0-alpha02
var lineNumLong

linePos

Added in 1.0.0-alpha02
var linePosLong

message

Added in 1.0.0-alpha02
var messageString

The content of the compilation message.

offset

Added in 1.0.0-alpha02
var offsetLong

The byte offset in the source code where the message originates.

type

Added in 1.0.0-alpha02
var typeInt

The type or severity of the message (error, warning, info).