Castor3D 0.16.0
Multiplatform 3D engine
Public Types | Public Member Functions | List of all members
castor3d::ColourGradingUbo Class Reference

#include <ColourGradingUbo.hpp>

Public Types

using Configuration = ColourGradingConfig
 

Public Member Functions

C3D_API ColourGradingUbo (ColourGradingUbo const &rhs)=delete
 
C3D_API ColourGradingUbooperator= (ColourGradingUbo const &rhs)=delete
 
C3D_API ColourGradingUbo (ColourGradingUbo &&rhs) noexcept=default
 
C3D_API ColourGradingUbooperator= (ColourGradingUbo &&rhs) noexcept=delete
 
C3D_API ColourGradingUbo (RenderDevice const &device)
 
C3D_API ~ColourGradingUbo () noexcept
 
C3D_API void cpuUpdate (Configuration const &config)
 Updates the UBO from given values.
 
void createPassBinding (crg::FramePass &pass, uint32_t binding) const
 
void createSizedBinding (ashes::DescriptorSet &descriptorSet, VkDescriptorSetLayoutBinding const &layoutBinding) const
 
UniformBufferOffsetT< Configuration > const & getUbo () const
 

Member Typedef Documentation

◆ Configuration

Constructor & Destructor Documentation

◆ ColourGradingUbo() [1/3]

C3D_API castor3d::ColourGradingUbo::ColourGradingUbo ( ColourGradingUbo const & rhs)
delete

◆ ColourGradingUbo() [2/3]

C3D_API castor3d::ColourGradingUbo::ColourGradingUbo ( ColourGradingUbo && rhs)
defaultnoexcept

◆ ColourGradingUbo() [3/3]

C3D_API castor3d::ColourGradingUbo::ColourGradingUbo ( RenderDevice const & device)
explicit

◆ ~ColourGradingUbo()

C3D_API castor3d::ColourGradingUbo::~ColourGradingUbo ( )
noexcept

Member Function Documentation

◆ cpuUpdate()

C3D_API void castor3d::ColourGradingUbo::cpuUpdate ( Configuration const & config)

Updates the UBO from given values.

Parameters
[in]configThe HDR configuration.

◆ createPassBinding()

void castor3d::ColourGradingUbo::createPassBinding ( crg::FramePass & pass,
uint32_t binding ) const
inline

References castor3d::UniformBufferOffsetT< DataT >::createPassBinding().

Here is the call graph for this function:

◆ createSizedBinding()

void castor3d::ColourGradingUbo::createSizedBinding ( ashes::DescriptorSet & descriptorSet,
VkDescriptorSetLayoutBinding const & layoutBinding ) const
inline

References castor3d::UniformBufferOffsetT< DataT >::createSizedBinding().

Here is the call graph for this function:

◆ getUbo()

UniformBufferOffsetT< Configuration > const & castor3d::ColourGradingUbo::getUbo ( ) const
inline

◆ operator=() [1/2]

C3D_API ColourGradingUbo & castor3d::ColourGradingUbo::operator= ( ColourGradingUbo && rhs)
deletenoexcept

◆ operator=() [2/2]

C3D_API ColourGradingUbo & castor3d::ColourGradingUbo::operator= ( ColourGradingUbo const & rhs)
delete

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