![]() |
Blamite Game Engine - Blam (Core)
|
Namespace for things relating to rendering. More...
Namespaces | |
DirectX | |
Namespace containing functions exclusive to DirectX. | |
OpenGL | |
Namespace containing functions exclusive to OpenGL. | |
RenderStack | |
Namespace containing things relating to the Render Stack. | |
Functions | |
BLAM void | SetClearColor (ImVec4 color) |
Changes the color to used to clear the render target. More... | |
BLAM void | ShowCrashScreen (const char *exc, const char *file, int line, std::string message) |
Displays the engine crash screen. More... | |
BLAM HRESULT | SetDisplayRes (int x, int y) |
Changes the game's display resolution. More... | |
Namespace for things relating to rendering.
void BlamRendering::SetClearColor | ( | ImVec4 | color | ) |
Changes the color to used to clear the render target.
color | - The new color to use for render target clearing. |
HRESULT BlamRendering::SetDisplayRes | ( | int | x, |
int | y | ||
) |
Changes the game's display resolution.
x | - The new width to render the game at. |
y | - The new height to render the game at. |
S_OK
if the resolution was updated, otherwise will contain an error code. void BlamRendering::ShowCrashScreen | ( | const char * | exc, |
const char * | file, | ||
int | line, | ||
std::string | message | ||
) |
Displays the engine crash screen.
exc | - The expression that caused the assertion failure. |
file | - The file that caused the assertion failure. |
line | - The line number in the file that caused the failure. |
message | - Additional details regarding the crash. |