Blamite Game Engine - blam!  00263.10.17.20.0001.blamite
The core library for the Blamite Game Engine.
Namespaces | Functions
BlamRendering Namespace Reference

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.
 
 Vulkan
 Namespace containing functions exclusive to Vulkan.
 

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...
 
BLAM void HandleWindowResize (WPARAM wParam, LPARAM lParam)
 

Detailed Description

Namespace for things relating to rendering.

Function Documentation

◆ HandleWindowResize()

void BlamRendering::HandleWindowResize ( WPARAM  wParam,
LPARAM  lParam 
)

◆ SetClearColor()

void BlamRendering::SetClearColor ( ImVec4  color)

Changes the color to used to clear the render target.

Parameters
color- The new color to use for render target clearing.

◆ SetDisplayRes()

HRESULT BlamRendering::SetDisplayRes ( int  x,
int  y 
)

Changes the game's display resolution.

Parameters
x- The new width to render the game at.
y- The new height to render the game at.
Returns
S_OK if the resolution was updated, otherwise will contain an error code.

◆ ShowCrashScreen()

void BlamRendering::ShowCrashScreen ( const char *  exc,
const char *  file,
int  line,
std::string  message 
)

Displays the engine crash screen.

Parameters
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.