GPUCompilationMessage


class GPUCompilationMessage


Describes 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 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-alpha04
GPUCompilationMessage(
    message: String,
    type: Int,
    lineNum: Long,
    linePos: Long,
    offset: Long,
    length: Long
)

Public properties

length

Added in 1.0.0-alpha04
var lengthLong

The length in bytes of the source code related to the message.

lineNum

Added in 1.0.0-alpha04
var lineNumLong

linePos

Added in 1.0.0-alpha04
var linePosLong

message

Added in 1.0.0-alpha04
var messageString

The compilation message string.

offset

Added in 1.0.0-alpha04
var offsetLong

The byte offset from the beginning of the shader source.

type

Added in 1.0.0-alpha04
var typeInt

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