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-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.

lineNum

Added in 1.0.0-alpha05
var lineNum: Long

linePos

Added in 1.0.0-alpha05
var linePos: Long

message

Added in 1.0.0-alpha05
var message: String

The compilation message string.

offset

Added in 1.0.0-alpha05
var offset: Long

The byte offset from the beginning of the shader source.

type

Added in 1.0.0-alpha05
var type: Int

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