Rendu
A lightweight rendering engine for experimentations
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
ShadowMap Class Referenceabstract

Store shadowing information as a map generated from the light viewpoint. More...

#include <ShadowMap.hpp>

Classes

struct  Region
 

Public Member Functions

 ShadowMap ()=default
 
virtual void draw (const Scene &scene)=0
 
virtual ~ShadowMap ()=default
 
 ShadowMap (const ShadowMap &)=delete
 
ShadowMapoperator= (const ShadowMap &)=delete
 
 ShadowMap (ShadowMap &&)=default
 
ShadowMapoperator= (ShadowMap &&)=delete
 

Detailed Description

Store shadowing information as a map generated from the light viewpoint.

Inherited by BasicShadowMap2DArray, BasicShadowMapCubeArray, EmptyShadowMap2DArray, EmptyShadowMapCubeArray, VarianceShadowMap2DArray, and VarianceShadowMapCubeArray.

Constructor & Destructor Documentation

◆ ShadowMap() [1/3]

ShadowMap::ShadowMap ( )
default

Default constructor.

◆ ~ShadowMap()

virtual ShadowMap::~ShadowMap ( )
virtualdefault

Destructor.

◆ ShadowMap() [2/3]

ShadowMap::ShadowMap ( const ShadowMap )
delete

Copy constructor.

◆ ShadowMap() [3/3]

ShadowMap::ShadowMap ( ShadowMap &&  )
default

Move constructor.

Member Function Documentation

◆ draw()

virtual void ShadowMap::draw ( const Scene scene)
pure virtual

Update the shadow map.

Parameters
scenethe objcts to draw in the map.

Implemented in BasicShadowMap2DArray, BasicShadowMapCubeArray, EmptyShadowMap2DArray, EmptyShadowMapCubeArray, VarianceShadowMap2DArray, and VarianceShadowMapCubeArray.

◆ operator=() [1/2]

ShadowMap & ShadowMap::operator= ( const ShadowMap )
delete

Copy assignment.

Returns
a reference to the object assigned to

◆ operator=() [2/2]

ShadowMap & ShadowMap::operator= ( ShadowMap &&  )
delete

Move assignment.

Returns
a reference to the object assigned to

The documentation for this class was generated from the following file: