blob: 5a9b1cd0ed53f272882c125e2898c4cf8f33740f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#include <special_members.hpp>
class SceneShader;
class ShadowMapper;
class Renderable {
public:
Renderable() = default;
virtual ~Renderable() = default;
DEFAULT_MOVE_COPY(Renderable);
virtual void render(const SceneShader & shader) const = 0;
virtual void lights(const SceneShader & shader) const;
virtual void shadows(const ShadowMapper & shadowMapper) const;
};
|