Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/application/StarRenderer.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-07-06 23:59:18 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-07-06 23:59:18 +1000
commitfe99ec69664c5ca5a400d80e060084ff78d9bb22 (patch)
tree6fbe0123c9a6cb5105e34ad2a0c26a1791fc363e /source/application/StarRenderer.hpp
parentfe4cc1961888db364bbc70cfe0e7a15ec27a5c5b (diff)
Render the world in its own framebuffer
Diffstat (limited to 'source/application/StarRenderer.hpp')
-rw-r--r--source/application/StarRenderer.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/application/StarRenderer.hpp b/source/application/StarRenderer.hpp
index 58c1c27..ad44c5c 100644
--- a/source/application/StarRenderer.hpp
+++ b/source/application/StarRenderer.hpp
@@ -130,6 +130,8 @@ public:
virtual String rendererId() const = 0;
virtual Vec2U screenSize() const = 0;
+ virtual void loadConfig(Json const& config) = 0;
+
// The actual shaders used by this renderer will be in a default no effects
// state when constructed, but can be overridden here. This config will be
// specific to each type of renderer, so it will be necessary to key the