Castor3D  ..
Public Member Functions | Static Public Member Functions | List of all members
Castor3D::ReinhardToneMapping Class Reference

Implements Reinhard tone mapping algorithm. More...

+ Inheritance diagram for Castor3D::ReinhardToneMapping:
+ Collaboration diagram for Castor3D::ReinhardToneMapping:

Public Member Functions

C3D_API ReinhardToneMapping (Engine &p_engine, Parameters const &p_parameters)
 
virtual C3D_API ~ReinhardToneMapping ()
 Destructor. More...
 
- Public Member Functions inherited from Castor3D::ToneMapping
C3D_API ToneMapping (eTONE_MAPPING_TYPE p_type, Engine &p_engine, Parameters const &p_parameters)
 Specified constructor. More...
 
virtual C3D_API ~ToneMapping ()
 Destructor. More...
 
C3D_API bool Initialise ()
 Initialises tone mapping shader. More...
 
C3D_API void Cleanup ()
 Cleanup function. More...
 
C3D_API void Apply (Castor::Size const &p_size, Texture const &p_texture)
 Applies the tone mapping for given HDR texture. More...
 

Static Public Member Functions

static C3D_API ToneMappingSPtr Create (Engine &p_engine, Parameters const &p_parameters)
 Creator function, for the factory. More...
 

Additional Inherited Members

- Protected Attributes inherited from Castor3D::ToneMapping
eTONE_MAPPING_TYPE m_type
 The tone mapping type. More...
 
ShaderProgramSPtr m_program
 The Reinhard tone mapping shader program. More...
 
float m_exposure
 The exposure value. More...
 
OneFloatFrameVariableSPtr m_exposureVar
 The exposure shader variable. More...
 
- Static Protected Attributes inherited from Castor3D::ToneMapping
static Castor::String const HdrConfig
 The configuration constants buffer name. More...
 
static Castor::String const Exposure
 The exposure constant name. More...
 

Detailed Description

Implements Reinhard tone mapping algorithm.

Author
Sylvain DOREMUS
Version
0.8.0
Date
11/03/2016

Constructor & Destructor Documentation

◆ ReinhardToneMapping()

C3D_API Castor3D::ReinhardToneMapping::ReinhardToneMapping ( Engine p_engine,
Parameters const &  p_parameters 
)

Specified constructor

Parameters
[in]p_engineThe engine.
[in]p_parametersThe implementation specific parameters.

◆ ~ReinhardToneMapping()

virtual C3D_API Castor3D::ReinhardToneMapping::~ReinhardToneMapping ( )
virtual

Destructor.

Member Function Documentation

◆ Create()

static C3D_API ToneMappingSPtr Castor3D::ReinhardToneMapping::Create ( Engine p_engine,
Parameters const &  p_parameters 
)
static

Creator function, for the factory.

Parameters
[in]p_engineThe engine.
[in]p_parametersThe implementation specific parameters.

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