Rendu
A lightweight rendering engine for experimentations
|
Base structure of a per-light specialized renderer. More...
#include <LightRenderer.hpp>
Public Member Functions | |
virtual void | draw (const DirectionalLight *light)=0 |
virtual void | draw (const PointLight *light)=0 |
virtual void | draw (const SpotLight *light)=0 |
Base structure of a per-light specialized renderer.
It can be applied to a light by calling light->draw(renderer), which will then call the corresponding method below.
Inherited by DebugLightRenderer, DeferredLight, and ForwardLight.
|
pure virtual |
Perform a rendering task for a directional light.
light | the light to visit. |
Implemented in DeferredLight, ForwardLight, and DebugLightRenderer.
|
pure virtual |
Perform a rendering task for a point light.
light | the light to visit. |
Implemented in DeferredLight, ForwardLight, and DebugLightRenderer.
|
pure virtual |
Perform a rendering task for a spot light.
light | the light to visit. |
Implemented in DeferredLight, ForwardLight, and DebugLightRenderer.