diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-10-02 18:21:38 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-10-02 19:29:39 +0100 |
commit | 2d6bf0f6b904ed331b5cb7aaab8855077ae9ce28 (patch) | |
tree | f7f6762839b98305a0e277f86d8d46ab975ff465 /ui/worldOverlay.h | |
parent | Make Window shader available to clients (diff) | |
download | ilt-2d6bf0f6b904ed331b5cb7aaab8855077ae9ce28.tar.bz2 ilt-2d6bf0f6b904ed331b5cb7aaab8855077ae9ce28.tar.xz ilt-2d6bf0f6b904ed331b5cb7aaab8855077ae9ce28.zip |
Add WorldOverlay concept
Allows rendering in the world view objects which are not (yet?) part of that world
Diffstat (limited to 'ui/worldOverlay.h')
-rw-r--r-- | ui/worldOverlay.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ui/worldOverlay.h b/ui/worldOverlay.h new file mode 100644 index 0000000..028122a --- /dev/null +++ b/ui/worldOverlay.h @@ -0,0 +1,9 @@ +#pragma once + +class Shader; + +class WorldOverlay { +public: + virtual ~WorldOverlay() = default; + virtual void render(const Shader &) const = 0; +}; |