nngn
Loading...
Searching...
No Matches
anonymous_namespace{vulkan.cpp}::UBODescriptorSets Class Reference
Inheritance diagram for anonymous_namespace{vulkan.cpp}::UBODescriptorSets:
Collaboration diagram for anonymous_namespace{vulkan.cpp}::UBODescriptorSets:

Public Member Functions

VkDeviceSize alignment () const
 
const std::bitset< MAX_FRAMES > & updated () const
 
std::bitset< MAX_FRAMES > & updated ()
 
bool init (VkDevice dev, VkDeviceSize size, VkDeviceSize min_ubo_align, std::span< const VkDescriptorSetLayoutBinding > bindings)
 
- Public Member Functions inherited from nngn::DescriptorSets
 DescriptorSets (void)=default
 
 ~DescriptorSets (void)
 
VkDescriptorSetLayout layout (void) const
 
std::span< const VkDescriptorSet > ids (void) const
 
bool init (VkDevice dev, std::span< const VkDescriptorSetLayoutBinding > bindings)
 
bool reset (VkDescriptorPool pool, std::uint32_t max)
 
void destroy ()
 Destroys resources associated with the sets.
 

Private Attributes

VkDeviceSize m_alignment = {}
 
std::bitset< MAX_FRAMESm_updated = {}
 

Additional Inherited Members

- Protected Attributes inherited from nngn::DescriptorSets
VkDevice dev = {}
 

Member Function Documentation

◆ alignment()

VkDeviceSize anonymous_namespace{vulkan.cpp}::UBODescriptorSets::alignment ( ) const
inline
Here is the caller graph for this function:

◆ init()

bool anonymous_namespace{vulkan.cpp}::UBODescriptorSets::init ( VkDevice dev,
VkDeviceSize size,
VkDeviceSize min_ubo_align,
std::span< const VkDescriptorSetLayoutBinding > bindings )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updated() [1/2]

std::bitset< MAX_FRAMES > & anonymous_namespace{vulkan.cpp}::UBODescriptorSets::updated ( )
inline

◆ updated() [2/2]

const std::bitset< MAX_FRAMES > & anonymous_namespace{vulkan.cpp}::UBODescriptorSets::updated ( ) const
inline
Here is the caller graph for this function:

Member Data Documentation

◆ m_alignment

VkDeviceSize anonymous_namespace{vulkan.cpp}::UBODescriptorSets::m_alignment = {}
private

◆ m_updated

std::bitset<MAX_FRAMES> anonymous_namespace{vulkan.cpp}::UBODescriptorSets::m_updated = {}
private

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