Holds information about a complation result, from a program. More...
Public Member Functions | |
ProgramCompilationResult () noexcept | |
bool | getSuccess () const |
nkMemory::StringView | getErrorMessage () const |
SHADER_TYPE | getStage () const |
void | setSuccess (bool value) |
void | setErrorMessage (nkMemory::StringView message) |
void | setStage (SHADER_TYPE value) |
Holds information about a complation result, from a program.
|
noexcept |
Constructor.
bool nkGraphics::ProgramCompilationResult::getSuccess | ( | ) | const |
nkMemory::StringView nkGraphics::ProgramCompilationResult::getErrorMessage | ( | ) | const |
SHADER_TYPE nkGraphics::ProgramCompilationResult::getStage | ( | ) | const |
void nkGraphics::ProgramCompilationResult::setSuccess | ( | bool | value | ) |
value | If the compilation was a success (true) or not (false). |
void nkGraphics::ProgramCompilationResult::setErrorMessage | ( | nkMemory::StringView | message | ) |
message | The error message description. |
void nkGraphics::ProgramCompilationResult::setStage | ( | SHADER_TYPE | value | ) |
value | The stage at which the error occurred. |