TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::vulkan::DescriptorAllocatorGrowable::PoolSizeRatio Struct Reference

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

Public Member Functions

uint32_t CountFor (uint32_t setCount) const
 How many of type a pool for setCount sets has.

Public Attributes

VkDescriptorType type
float ratio
uint32_t minimum = 0
 a pool has at least this many, so one big set fits

Member Function Documentation

◆ CountFor()

uint32_t tachyon::vulkan::DescriptorAllocatorGrowable::PoolSizeRatio::CountFor ( uint32_t setCount) const
inline

How many of type a pool for setCount sets has.

Member Data Documentation

◆ type

VkDescriptorType tachyon::vulkan::DescriptorAllocatorGrowable::PoolSizeRatio::type

◆ ratio

float tachyon::vulkan::DescriptorAllocatorGrowable::PoolSizeRatio::ratio

◆ minimum

uint32_t tachyon::vulkan::DescriptorAllocatorGrowable::PoolSizeRatio::minimum = 0

a pool has at least this many, so one big set fits


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