My Project
 
Loading...
Searching...
No Matches
graphics_engine::engine Namespace Reference

Functions

DLLEXPORT auto InitializeEngine () -> types::Expected< void >
 Initialize the graphics engine.
 
DLLEXPORT auto Render () -> types::Expected< void >
 Render everything in the graphics engine.
 
DLLEXPORT auto SetBackgroundColor (const glm::vec4 &color) -> void
 Sets the background color for the rendering engine.
 

Function Documentation

◆ InitializeEngine()

DLLEXPORT auto graphics_engine::engine::InitializeEngine ( ) -> types::Expected< void >

Initialize the graphics engine.

Returns
void on success, error on failure.

◆ Render()

DLLEXPORT auto graphics_engine::engine::Render ( ) -> types::Expected< void >

Render everything in the graphics engine.

Returns
void on success, error on failure.

◆ SetBackgroundColor()

DLLEXPORT auto graphics_engine::engine::SetBackgroundColor ( const glm::vec4 &  color) -> void

Sets the background color for the rendering engine.

Parameters
colorThe new background color as a glm::vec4 (RGBA format).