CompilationMessage
public final class CompilationMessage
A single message generated during shader compilation.
Summary
Public constructors |
|---|
CompilationMessage( |
Public methods |
|
|---|---|
final long |
The length in bytes of the affected source code span. |
final long |
|
final long |
|
final @NonNull String |
The content of the compilation message. |
final long |
The byte offset in the source code where the message originates. |
final int |
getType()The type or severity of the message (error, warning, info). |
final void |
setLength(long length)The length in bytes of the affected source code span. |
final void |
setLineNum(long lineNum) |
final void |
setLinePos(long linePos) |
final void |
setMessage(@NonNull String message)The content of the compilation message. |
final void |
setOffset(long offset)The byte offset in the source code where the message originates. |
final void |
setType(int type)The type or severity of the message (error, warning, info). |
Public constructors
CompilationMessage
public CompilationMessage(
@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 affected source code span.
getMessage
public final @NonNull String getMessage()
The content of the compilation message.
getOffset
public final long getOffset()
The byte offset in the source code where the message originates.
getType
public final int getType()
The type or severity of the message (error, warning, info).
setLength
public final void setLength(long length)
The length in bytes of the affected source code span.
setMessage
public final void setMessage(@NonNull String message)
The content of the compilation message.
setOffset
public final void setOffset(long offset)
The byte offset in the source code where the message originates.
setType
public final void setType(int type)
The type or severity of the message (error, warning, info).