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

#include <SsaoConfigUbo.hpp>

Public Member Functions

C3D_API SsaoConfigUbo (SsaoConfigUbo const &rhs)=delete
 
C3D_API SsaoConfigUbooperator= (SsaoConfigUbo const &rhs)=delete
 
C3D_API SsaoConfigUbo (SsaoConfigUbo &&rhs) noexcept=default
 
C3D_API SsaoConfigUbooperator= (SsaoConfigUbo &&rhs) noexcept=delete
 
C3D_API SsaoConfigUbo (RenderDevice const &device)
 
C3D_API ~SsaoConfigUbo () noexcept
 
C3D_API void cpuUpdate (SsaoConfig const &config, Camera const &camera)
 Updates the UBO content.
 
void createPassBinding (crg::FramePass &pass, uint32_t binding) const
 
void createSizedBinding (ashes::DescriptorSet &descriptorSet, VkDescriptorSetLayoutBinding const &layoutBinding) const
 
UniformBufferOffsetT< Configuration > const & getUbo () const
 

Constructor & Destructor Documentation

◆ SsaoConfigUbo() [1/3]

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

◆ SsaoConfigUbo() [2/3]

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

◆ SsaoConfigUbo() [3/3]

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

◆ ~SsaoConfigUbo()

C3D_API castor3d::SsaoConfigUbo::~SsaoConfigUbo ( )
noexcept

Member Function Documentation

◆ cpuUpdate()

C3D_API void castor3d::SsaoConfigUbo::cpuUpdate ( SsaoConfig const & config,
Camera const & camera )

Updates the UBO content.

Parameters
[in]configThe SSAO configuration.
[in]cameraThe viewing camera.

◆ createPassBinding()

void castor3d::SsaoConfigUbo::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::SsaoConfigUbo::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::SsaoConfigUbo::getUbo ( ) const
inline

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

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