Castor3D 0.12.0
Multiplatform 3D engine
Public Types | Public Member Functions | Static Public Attributes | List of all members
castor3d::LayeredLpvGridConfigUbo Class Reference

#include <LayeredLpvGridConfigUbo.hpp>

Collaboration diagram for castor3d::LayeredLpvGridConfigUbo:
Collaboration graph
[legend]

Public Types

using Configuration = LayeredLpvGridConfigUboConfiguration
 

Public Member Functions

C3D_API LayeredLpvGridConfigUbo (LayeredLpvGridConfigUbo const &rhs)=delete
 
C3D_API LayeredLpvGridConfigUbooperator= (LayeredLpvGridConfigUbo const &rhs)=delete
 
C3D_API LayeredLpvGridConfigUbo (LayeredLpvGridConfigUbo &&rhs)=default
 
C3D_API LayeredLpvGridConfigUbooperator= (LayeredLpvGridConfigUbo &&rhs)=delete
 
C3D_API LayeredLpvGridConfigUbo (RenderDevice const &device)
 
C3D_API ~LayeredLpvGridConfigUbo ()
 
C3D_API void cpuUpdate (std::array< castor::Grid const *, shader::LpvMaxCascadesCount > const &grids, float indirectAttenuation)
 
void createPassBinding (crg::FramePass &pass, uint32_t dstBinding) const
 
void createSizedBinding (ashes::DescriptorSet &descriptorSet, VkDescriptorSetLayoutBinding const &layoutBinding) const
 
ashes::WriteDescriptorSet getDescriptorWrite (uint32_t dstBinding, uint32_t dstArrayElement=0u) const
 
UniformBufferOffsetT< Configuration > const & getUbo () const
 

Static Public Attributes

static C3D_API const std::string LayeredLpvConfig
 
static C3D_API const std::string LayeredLpvGridData
 

Member Typedef Documentation

◆ Configuration

Constructor & Destructor Documentation

◆ LayeredLpvGridConfigUbo() [1/3]

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

◆ LayeredLpvGridConfigUbo() [2/3]

C3D_API castor3d::LayeredLpvGridConfigUbo::LayeredLpvGridConfigUbo ( LayeredLpvGridConfigUbo &&  rhs)
default

◆ LayeredLpvGridConfigUbo() [3/3]

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

◆ ~LayeredLpvGridConfigUbo()

C3D_API castor3d::LayeredLpvGridConfigUbo::~LayeredLpvGridConfigUbo ( )

Member Function Documentation

◆ cpuUpdate()

C3D_API void castor3d::LayeredLpvGridConfigUbo::cpuUpdate ( std::array< castor::Grid const *, shader::LpvMaxCascadesCount > const &  grids,
float  indirectAttenuation 
)

◆ createPassBinding()

void castor3d::LayeredLpvGridConfigUbo::createPassBinding ( crg::FramePass &  pass,
uint32_t  dstBinding 
) const
inline

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

Here is the call graph for this function:

◆ createSizedBinding()

void castor3d::LayeredLpvGridConfigUbo::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::LayeredLpvGridConfigUbo::getDescriptorWrite ( uint32_t  dstBinding,
uint32_t  dstArrayElement = 0u 
) const
inline

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

Here is the call graph for this function:

◆ getUbo()

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

◆ operator=() [1/2]

C3D_API LayeredLpvGridConfigUbo & castor3d::LayeredLpvGridConfigUbo::operator= ( LayeredLpvGridConfigUbo &&  rhs)
delete

◆ operator=() [2/2]

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

Member Data Documentation

◆ LayeredLpvConfig

C3D_API const std::string castor3d::LayeredLpvGridConfigUbo::LayeredLpvConfig
static

◆ LayeredLpvGridData

C3D_API const std::string castor3d::LayeredLpvGridConfigUbo::LayeredLpvGridData
static

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