Commit Graph

4 Commits

Author SHA1 Message Date
4c6712e2fe Redefine ID types to be actual pointers
Redefined various ID types to be aliases of pointers instead of casting
a uintptr_t to the needed pointer.

e.g. SurfaceID = Surface*
2025-04-16 23:46:00 +10:00
f727261a84 Rename Renderer::create to Renderer::init
All functions that the create/destroy a global static singleton should
use the names init and shutdown, while any static functions that
return/take a new object should use the names create and destroy.

e.g.
void Renderer::init() and void Renderer::shutdown()
Window* Window::create() and void Window::destroy(Window* window)
2025-03-28 13:46:59 +10:00
8a635cc15f Simplify static Renderer class implementation 2025-03-07 22:12:01 +10:00
3009a4c6d9 Add basic Renderer and RenderDriver classes 2025-02-12 00:59:35 +10:00