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.
getMessage
Added in 1.0.0-alpha05
public final @NonNull String getMessage()
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.
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).
