CompilationMessage


class CompilationMessage


A single message generated during shader compilation.

Summary

Public constructors

CompilationMessage(
    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

CompilationMessage

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

Public properties

length

Added in 1.0.0-alpha01
var lengthLong

The length in bytes of the affected source code span.

lineNum

Added in 1.0.0-alpha01
var lineNumLong

linePos

Added in 1.0.0-alpha01
var linePosLong

message

Added in 1.0.0-alpha01
var messageString

The content of the compilation message.

offset

Added in 1.0.0-alpha01
var offsetLong

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

type

Added in 1.0.0-alpha01
var typeInt

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