Refactored Platform into a struct to hold global state better

This commit is contained in:
Noel Berry committed 2022-02-11 20:19:14 -08:00
1 parent ddb7d1b372
commit 1caa31032b
20 files changed
+971 -791

No files matched your search

+3 -3
View File
@@ -19,7 +19,7 @@ namespace Blah
};
// Renderer Information
struct RendererFeatures
struct RendererInfo
{
// The type of Renderer being used
RendererType type = RendererType::None;
@@ -142,8 +142,8 @@ namespace Blah
// Otherwise this function does nothing.
void fullscreen(bool enabled);
// Retrieves the Renderer Features
const RendererFeatures& renderer();
// Retrieves the Renderer Information
const RendererInfo& renderer();
// Gets the BackBuffer
const TargetRef& backbuffer();