diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-02-26 18:04:06 +0000 |
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-02-28 13:41:37 +0000 |
| commit | 1e08193a1678675ac5869b76e8a2339f6de5b773 (patch) | |
| tree | c9a47be9f06f69a06be2f43d371a88e1c507669e /gfx/renderable.h | |
| parent | Tidy the preFrame logic into a single function in SceneRenderer (diff) | |
| download | ilt-1e08193a1678675ac5869b76e8a2339f6de5b773.tar.bz2 ilt-1e08193a1678675ac5869b76e8a2339f6de5b773.tar.xz ilt-1e08193a1678675ac5869b76e8a2339f6de5b773.zip | |
Support for the BillboardPainter
Based on the ShadowStenciller, creates flattened images of a model for
simplified mass use in a scene.
Diffstat (limited to 'gfx/renderable.h')
| -rw-r--r-- | gfx/renderable.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gfx/renderable.h b/gfx/renderable.h index ea72bb6..d0870ad 100644 --- a/gfx/renderable.h +++ b/gfx/renderable.h @@ -6,6 +6,7 @@ class SceneShader; class Frustum; class ShadowMapper; class ShadowStenciller; +class BillboardPainter; class Renderable { public: @@ -19,4 +20,5 @@ public: virtual void shadows(const ShadowMapper & shadowMapper, const Frustum &) const; virtual void updateStencil(const ShadowStenciller & lightDir) const; + virtual void updateBillboard(const BillboardPainter &) const; }; |
