Rendu
A lightweight rendering engine for experimentations
Loading...
Searching...
No Matches
LightRenderer.hpp
1#pragma once
2#include "system/Config.hpp"
3
5class PointLight;
6class SpotLight;
7
14
15public:
16
20 virtual void draw(const DirectionalLight * light) = 0;
21
25 virtual void draw(const PointLight * light) = 0;
26
30 virtual void draw(const SpotLight * light) = 0;
31
32
33};
A directional light, where all light rays have the same direction.
Definition: DirectionalLight.hpp:13
Base structure of a per-light specialized renderer.
Definition: LightRenderer.hpp:13
virtual void draw(const DirectionalLight *light)=0
virtual void draw(const PointLight *light)=0
virtual void draw(const SpotLight *light)=0
An omnidirectional punctual light, where light is radiating in all directions from a single point in ...
Definition: PointLight.hpp:15
A spotlight, where light rays in a given cone are radiating from a single point in space....
Definition: SpotLight.hpp:13