TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::vulkan::DescriptorAllocator Struct Reference

#include <gui_core/graphics/vulkan/vk_descriptors.h>

Classes

struct  PoolSizeRatio

Public Member Functions

void init_pool (VkDevice device, uint32_t maxSets, ::std::span< PoolSizeRatio > poolRatios, const VkAllocationCallbacks *callbacks)
void clear_descriptors (VkDevice device)
void destroy_pool (VkDevice device)
VkDescriptorSet allocate (VkDevice device, VkDescriptorSetLayout layout)

Public Attributes

VkDescriptorPool pool
const VkAllocationCallbacks * callbacks = nullptr

Member Function Documentation

◆ init_pool()

void tachyon::vulkan::DescriptorAllocator::init_pool ( VkDevice device,
uint32_t maxSets,
::std::span< PoolSizeRatio > poolRatios,
const VkAllocationCallbacks * callbacks )

◆ clear_descriptors()

void tachyon::vulkan::DescriptorAllocator::clear_descriptors ( VkDevice device)

◆ destroy_pool()

void tachyon::vulkan::DescriptorAllocator::destroy_pool ( VkDevice device)

◆ allocate()

VkDescriptorSet tachyon::vulkan::DescriptorAllocator::allocate ( VkDevice device,
VkDescriptorSetLayout layout )

Member Data Documentation

◆ pool

VkDescriptorPool tachyon::vulkan::DescriptorAllocator::pool

◆ callbacks

const VkAllocationCallbacks* tachyon::vulkan::DescriptorAllocator::callbacks = nullptr

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