From 35546b223856688ae08a64b0cf4f07c47e465ee7 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 23 Nov 2022 19:35:34 +0000 Subject: Add light stage to renderable objects --- gfx/renderable.cpp | 6 ++++++ gfx/renderable.h | 1 + 2 files changed, 7 insertions(+) create mode 100644 gfx/renderable.cpp (limited to 'gfx') diff --git a/gfx/renderable.cpp b/gfx/renderable.cpp new file mode 100644 index 0000000..9e8d122 --- /dev/null +++ b/gfx/renderable.cpp @@ -0,0 +1,6 @@ +#include "renderable.h" + +void +Renderable::lights(const SceneShader &) const +{ +} diff --git a/gfx/renderable.h b/gfx/renderable.h index 9b25645..f75c36f 100644 --- a/gfx/renderable.h +++ b/gfx/renderable.h @@ -11,4 +11,5 @@ public: DEFAULT_MOVE_COPY(Renderable); virtual void render(const SceneShader & shader) const = 0; + virtual void lights(const SceneShader & shader) const; }; -- cgit v1.2.3