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

#include <LpvGridConfigUbo.hpp>

Public Types

using Configuration = LpvGridConfigUboConfiguration
 

Public Member Functions

C3D_API LpvGridConfigUbo (LpvGridConfigUbo const &rhs)=delete
 
C3D_API LpvGridConfigUbooperator= (LpvGridConfigUbo const &rhs)=delete
 
C3D_API LpvGridConfigUbo (LpvGridConfigUbo &&rhs) noexcept=default
 
C3D_API LpvGridConfigUbooperator= (LpvGridConfigUbo &&rhs) noexcept=delete
 
C3D_API LpvGridConfigUbo (RenderDevice const &device)
 
C3D_API ~LpvGridConfigUbo () noexcept
 
C3D_API castor::Grid const & cpuUpdate (castor::BoundingBox const &aabb, castor::Point3f const &cameraPos, uint32_t gridDim, float indirectAttenuation)
 
C3D_API castor::Grid const & cpuUpdate (float gridLevelScale, castor::Grid const &grid, castor::Point3f const &cameraPos, castor::Point3f const &cameraDir, float indirectAttenuation)
 
UniformBufferOffsetT< Configuration > & getUbo ()
 
UniformBufferOffsetT< Configuration > const & getUbo () const
 
void createPassBinding (crg::FramePass &pass, uint32_t binding) const
 
void createSizedBinding (ashes::DescriptorSet &descriptorSet, VkDescriptorSetLayoutBinding const &layoutBinding) const
 
ashes::WriteDescriptorSet getDescriptorWrite (uint32_t dstBinding, uint32_t dstArrayElement=0u) const
 
void addDescriptorWrite (ashes::WriteDescriptorSetArray &descriptorWrites, uint32_t &dstBinding, uint32_t dstArrayElement=0u) const
 

Member Typedef Documentation

◆ Configuration

Constructor & Destructor Documentation

◆ LpvGridConfigUbo() [1/3]

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

◆ LpvGridConfigUbo() [2/3]

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

◆ LpvGridConfigUbo() [3/3]

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

◆ ~LpvGridConfigUbo()

C3D_API castor3d::LpvGridConfigUbo::~LpvGridConfigUbo ( )
noexcept

Member Function Documentation

◆ addDescriptorWrite()

void castor3d::LpvGridConfigUbo::addDescriptorWrite ( ashes::WriteDescriptorSetArray & descriptorWrites,
uint32_t & dstBinding,
uint32_t dstArrayElement = 0u ) const
inline

References getDescriptorWrite().

Here is the call graph for this function:

◆ cpuUpdate() [1/2]

C3D_API castor::Grid const & castor3d::LpvGridConfigUbo::cpuUpdate ( castor::BoundingBox const & aabb,
castor::Point3f const & cameraPos,
uint32_t gridDim,
float indirectAttenuation )

◆ cpuUpdate() [2/2]

C3D_API castor::Grid const & castor3d::LpvGridConfigUbo::cpuUpdate ( float gridLevelScale,
castor::Grid const & grid,
castor::Point3f const & cameraPos,
castor::Point3f const & cameraDir,
float indirectAttenuation )

◆ createPassBinding()

void castor3d::LpvGridConfigUbo::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::LpvGridConfigUbo::createSizedBinding ( ashes::DescriptorSet & descriptorSet,
VkDescriptorSetLayoutBinding const & layoutBinding ) const
inline

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

Here is the call graph for this function:

◆ getDescriptorWrite()

ashes::WriteDescriptorSet castor3d::LpvGridConfigUbo::getDescriptorWrite ( uint32_t dstBinding,
uint32_t dstArrayElement = 0u ) const
inline

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

Referenced by addDescriptorWrite().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getUbo() [1/2]

UniformBufferOffsetT< Configuration > & castor3d::LpvGridConfigUbo::getUbo ( )
inline

◆ getUbo() [2/2]

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

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