![]() |
Blamite Game Engine - blam!
00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
|
Namespace for things relating to rendering. More...
Namespaces | |
BGFX | |
DirectX | |
Namespace containing functions exclusive to DirectX. | |
Models | |
OpenGL | |
Namespace containing functions exclusive to OpenGL. | |
RenderStack | |
Namespace containing things relating to the Render Stack. | |
Vulkan | |
Namespace containing functions exclusive to Vulkan. | |
Functions | |
BLAM BlamRenderingEngine | GetCurrentRenderingEngine () |
Retrieves the current rendering engine being used. More... | |
BLAM void | SetClearColor (ImVec4 color) |
Changes the color to used to clear the render target. More... | |
BLAM ImVec4 * | GetClearColor () |
Retrieves the color used for render target clearing. 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... | |
BLAM void | HandleWindowResize (int width, int height, WPARAM wParam) |
Namespace for things relating to rendering.
ImVec4 * BlamRendering::GetClearColor | ( | ) |
Retrieves the color used for render target clearing.
BlamRenderingEngine BlamRendering::GetCurrentRenderingEngine | ( | ) |
Retrieves the current rendering engine being used.
void BlamRendering::HandleWindowResize | ( | int | width, |
int | height, | ||
WPARAM | wParam | ||
) |
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. |