GPUCompilationMessage
public final class GPUCompilationMessage
Describes a single message generated during shader compilation.
Summary
Public constructors |
|---|
GPUCompilationMessage( |
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 |
getType()The severity of the message (error, warning, or info). |
final void |
setLength(long value)The length in bytes of the source code related to the message. |
final void |
setLineNum(long value) |
final void |
setLinePos(long value) |
final void |
setMessage(@NonNull String value)The compilation message string. |
final void |
setOffset(long value)The byte offset from the beginning of the shader source. |
final void |
setType(int value)The severity of the message (error, warning, or info). |
Public constructors
GPUCompilationMessage
public GPUCompilationMessage(
@NonNull String message,
int type,
long lineNum,
long linePos,
long offset,
long length
)
Public methods
getLength
public final long getLength()
The length in bytes of the source code related to the message.
getMessage
public final @NonNull String getMessage()
The compilation message string.
getOffset
public final long getOffset()
The byte offset from the beginning of the shader source.
getType
public final int getType()
The severity of the message (error, warning, or info).
setLength
public final void setLength(long value)
The length in bytes of the source code related to the message.
setMessage
public final void setMessage(@NonNull String value)
The compilation message string.
setOffset
public final void setOffset(long value)
The byte offset from the beginning of the shader source.
setType
public final void setType(int value)
The severity of the message (error, warning, or info).