From 2d6bf0f6b904ed331b5cb7aaab8855077ae9ce28 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 2 Oct 2022 18:21:38 +0100 Subject: Add WorldOverlay concept Allows rendering in the world view objects which are not (yet?) part of that world --- ui/worldOverlay.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 ui/worldOverlay.h (limited to 'ui/worldOverlay.h') 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; +}; -- cgit v1.2.3