Skip to content

KDGpu::VulkanBindGroupPool

Module: Vulkan

VulkanBindGroupPool.

#include <vulkan_bind_group_pool.h>

Public Functions

Name
VulkanBindGroupPool(VkDescriptorPool _descriptorPool, VulkanResourceManager * _vulkanResourceManager, const Handle< Device_t > & _deviceHandle, uint16_t _maxBindGroupCount, BindGroupPoolFlags _flags)
void reset()
void addBindGroup(const Handle< BindGroup_t > & bindGroupHandle)
void removeBindGroup(const Handle< BindGroup_t > & bindGroupHandle)
const std::vector< Handle< BindGroup_t > > & bindGroups() const
uint16_t bindGroupCount() const

Public Attributes

Name
VkDescriptorPool descriptorPool
VulkanResourceManager * vulkanResourceManager
Handle< Device_t > deviceHandle
uint16_t maxBindGroupCount
BindGroupPoolFlags flags

Public Functions Documentation

function VulkanBindGroupPool

1
2
3
4
5
6
7
explicit VulkanBindGroupPool(
    VkDescriptorPool _descriptorPool,
    VulkanResourceManager * _vulkanResourceManager,
    const Handle< Device_t > & _deviceHandle,
    uint16_t _maxBindGroupCount,
    BindGroupPoolFlags _flags
)

function reset

1
void reset()

function addBindGroup

1
2
3
void addBindGroup(
    const Handle< BindGroup_t > & bindGroupHandle
)

function removeBindGroup

1
2
3
void removeBindGroup(
    const Handle< BindGroup_t > & bindGroupHandle
)

function bindGroups

1
const std::vector< Handle< BindGroup_t > > & bindGroups() const

function bindGroupCount

1
uint16_t bindGroupCount() const

Public Attributes Documentation

variable descriptorPool

1
VkDescriptorPool descriptorPool { VK_NULL_HANDLE };

variable vulkanResourceManager

1
VulkanResourceManager * vulkanResourceManager;

variable deviceHandle

1
Handle< Device_t > deviceHandle;

variable maxBindGroupCount

1
uint16_t maxBindGroupCount;

variable flags

1
BindGroupPoolFlags flags { BindGroupPoolFlagBits::None };

Updated on 2025-07-01 at 00:02:08 +0000