VV::V1::DescriptorPool struct

A descriptor pool maintains a pool of descriptors, from which descriptor sets are allocated. Descriptor pools are externally synchronized, meaning that the application must not allocate and/or free descriptor sets from the same pool in multiple threads simultaneously.

Specification

Derived classes

struct VV::V2::DescriptorPool
A descriptor pool maintains a pool of descriptors, from which descriptor sets are allocated. Descriptor pools are externally synchronized, meaning that the application must not allocate and/or free descriptor sets from the same pool in multiple threads simultaneously.

Public types

struct AllocateInfo
Specification
struct CreateInfo
Specification
struct Size
Specification
using Handle = VkDescriptorPool
Specification
using CreateFlags = Bitfield<EDescriptorPoolCreateFlag, VkDescriptorPoolCreateFlags>
Specification
using ResetFlags = Bitfield<EUndefined, VkDescriptorPoolResetFlags>
Specification

Public static functions

static auto Allocate(LogicalDevice::Handle _device, const AllocateInfo& _allocateInfo, DescriptorSet::Handle* _descriptorSets) -> EResult
Specification
static auto Create(LogicalDevice::Handle _device, const CreateInfo& _createInfo, const Memory::AllocationCallbacks* _allocator, Handle& _descriptorPool) -> EResult
Specification
static void Destroy(LogicalDevice::Handle _device, Handle _descriptorPool, const Memory::AllocationCallbacks* _allocator)
Specification
static auto Free(LogicalDevice::Handle _device, Handle _descriptorPool, ui32 _descriptorSetCount, const DescriptorSet::Handle* _descriptorSets) -> EResult
Specification
static auto Reset(LogicalDevice::Handle _device, Handle _descriptorPool, ResetFlags& _flags) -> EResult
Specification