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)
 
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 VkDescriptorSetids (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.
 
 DescriptorSets (void)=default
 
 ~DescriptorSets (void)
 
VkDescriptorSetLayout layout (void) const
 
std::span< const VkDescriptorSetids (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() [1/2]

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

◆ alignment() [2/2]

VkDeviceSize anonymous_namespace{vulkan.cpp}::UBODescriptorSets::alignment ( ) const
inline

◆ init() [1/2]

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:

◆ init() [2/2]

bool anonymous_namespace{vulkan.cpp}::UBODescriptorSets::init ( VkDevice  dev,
VkDeviceSize  size,
VkDeviceSize  min_ubo_align,
std::span< const VkDescriptorSetLayoutBinding >  bindings 
)

◆ updated() [1/4]

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

◆ updated() [2/4]

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

◆ updated() [3/4]

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

◆ updated() [4/4]

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

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 files: