GPUCompilationMessage


public final class GPUCompilationMessage


Describes a single message generated during shader compilation.

Summary

Public constructors

GPUCompilationMessage(
    @NonNull String message,
    int type,
    long lineNum,
    long linePos,
    long offset,
    long length
)

Public methods

final long

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

final long
final long
final @NonNull String

The compilation message string.

final long

The byte offset from the beginning of the shader source.

final int

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

final void
setLength(long length)

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

final void
setLineNum(long lineNum)
final void
setLinePos(long linePos)
final void

The compilation message string.

final void
setOffset(long offset)

The byte offset from the beginning of the shader source.

final void
setType(int type)

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

Public constructors

GPUCompilationMessage

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

Public methods

getLength

Added in 1.0.0-alpha04
public final long getLength()

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

getLineNum

Added in 1.0.0-alpha04
public final long getLineNum()

getLinePos

Added in 1.0.0-alpha04
public final long getLinePos()

getMessage

Added in 1.0.0-alpha04
public final @NonNull String getMessage()

The compilation message string.

getOffset

Added in 1.0.0-alpha04
public final long getOffset()

The byte offset from the beginning of the shader source.

getType

Added in 1.0.0-alpha04
public final int getType()

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

setLength

Added in 1.0.0-alpha04
public final void setLength(long length)

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

setLineNum

Added in 1.0.0-alpha04
public final void setLineNum(long lineNum)

setLinePos

Added in 1.0.0-alpha04
public final void setLinePos(long linePos)

setMessage

Added in 1.0.0-alpha04
public final void setMessage(@NonNull String message)

The compilation message string.

setOffset

Added in 1.0.0-alpha04
public final void setOffset(long offset)

The byte offset from the beginning of the shader source.

setType

Added in 1.0.0-alpha04
public final void setType(int type)

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