Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Static Public Member Functions | List of all members
castor3d::shader::HdrConfigData Struct Reference

#include <HdrConfigUbo.hpp>

Inheritance diagram for castor3d::shader::HdrConfigData:
Inheritance graph
[legend]
Collaboration diagram for castor3d::shader::HdrConfigData:
Collaboration graph
[legend]

Public Member Functions

C3D_API HdrConfigData (sdw::ShaderWriter &writer, ast::expr::ExprPtr expr, bool enabled)
 
 SDW_DeclStructInstance (C3D_API, HdrConfigData)
 
C3D_API sdw::Vec3 removeGamma (sdw::Vec3 const &srgb) const
 
C3D_API sdw::Vec3 applyGamma (sdw::Vec3 const &hdr) const
 
sdw::Float const & getExposure () const
 
sdw::Float const & getGamma () const
 

Static Public Member Functions

static C3D_API ast::type::BaseStructPtr makeType (ast::type::TypesCache &cache)
 
static C3D_API castor::RawUniquePtr< sdw::Struct > declare (sdw::ShaderWriter &writer)
 

Constructor & Destructor Documentation

◆ HdrConfigData()

C3D_API castor3d::shader::HdrConfigData::HdrConfigData ( sdw::ShaderWriter & writer,
ast::expr::ExprPtr expr,
bool enabled )

Member Function Documentation

◆ applyGamma()

C3D_API sdw::Vec3 castor3d::shader::HdrConfigData::applyGamma ( sdw::Vec3 const & hdr) const

◆ declare()

static C3D_API castor::RawUniquePtr< sdw::Struct > castor3d::shader::HdrConfigData::declare ( sdw::ShaderWriter & writer)
static

◆ getExposure()

sdw::Float const & castor3d::shader::HdrConfigData::getExposure ( ) const
inline

◆ getGamma()

sdw::Float const & castor3d::shader::HdrConfigData::getGamma ( ) const
inline

◆ makeType()

static C3D_API ast::type::BaseStructPtr castor3d::shader::HdrConfigData::makeType ( ast::type::TypesCache & cache)
static

◆ removeGamma()

C3D_API sdw::Vec3 castor3d::shader::HdrConfigData::removeGamma ( sdw::Vec3 const & srgb) const

◆ SDW_DeclStructInstance()

castor3d::shader::HdrConfigData::SDW_DeclStructInstance ( C3D_API ,
HdrConfigData  )

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