Elaztek Developer Hub
Blamite Game Engine - blam!  00346.12.11.21.0529.blamite
The core library for the Blamite Game Engine.
bgfx.cpp File Reference

Variables

int width = 1600
 
int height = 900
 
BlamColor * bgfx_clear_color = nullptr
 TODO: remove bgfx_ prefix after opengl code is removed because its technically a global variable XDd. More...
 
int render_clear_flags = BGFX_CLEAR_COLOR | BGFX_CLEAR_DEPTH
 
uint16_t view_3d = 0
 The View ID for 3D rendering. More...
 
uint16_t view_2d = 1
 The View ID for 2D rendering. More...
 

Variable Documentation

◆ bgfx_clear_color

BlamColor* bgfx_clear_color = nullptr

TODO: remove bgfx_ prefix after opengl code is removed because its technically a global variable XDd.

◆ height

int height = 900

◆ render_clear_flags

int render_clear_flags = BGFX_CLEAR_COLOR | BGFX_CLEAR_DEPTH

◆ view_2d

uint16_t view_2d = 1

The View ID for 2D rendering.

◆ view_3d

uint16_t view_3d = 0

The View ID for 3D rendering.

◆ width

int width = 1600