GPUCompilationMessage


public final class GPUCompilationMessage

Describes a single message generated during shader compilation.

Summary

Public constructors

GPUCompilationMessage

Added in 1.0.0-alpha05
public GPUCompilationMessage(
 @NonNull String message,
 int type,
 long lineNum,
 long linePos,
 long offset,
 long length
)

Public methods

getLength

Added in 1.0.0-alpha05
public final long getLength()

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

getLineNum

Added in 1.0.0-alpha05
public final long getLineNum()

getLinePos

Added in 1.0.0-alpha05
public final long getLinePos()

getMessage

Added in 1.0.0-alpha05
public final @NonNull StringgetMessage()

The compilation message string.

getOffset

Added in 1.0.0-alpha05
public final long getOffset()

The byte offset from the beginning of the shader source.

getType

Added in 1.0.0-alpha05
public final int getType()

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

setLength

Added in 1.0.0-alpha05
public final void setLength(long value)

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

setLineNum

Added in 1.0.0-alpha05
public final void setLineNum(long value)

setLinePos

Added in 1.0.0-alpha05
public final void setLinePos(long value)

setMessage

Added in 1.0.0-alpha05
public final void setMessage(@NonNull String value)

The compilation message string.

setOffset

Added in 1.0.0-alpha05
public final void setOffset(long value)

The byte offset from the beginning of the shader source.

setType

Added in 1.0.0-alpha05
public final void setType(int value)

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