blob: e126fff691bb9fd3bbea5b2cd8f04f6d77f3160e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#include <special_members.h>
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;
};
|