Open 3D Engine Atom Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::Vulkan::BindlessDescriptorPool Class Reference

#include <BindlessDescriptorPool.h>

Public Member Functions

RHI::ResultCode Init (Device &device, const AZ::RHI::BindlessSrgDescriptor &bindlessSrgDesc)
 
void Shutdown ()
 
uint32_t AttachReadBuffer (BufferView *view)
 Add/Update a read only buffer descriptor to the global bindless heap.
 
uint32_t AttachReadWriteBuffer (BufferView *view)
 Add/Update a read write buffer descriptor to the global bindless heap.
 
uint32_t AttachReadImage (ImageView *view)
 Add/Update a read only image descriptor to the global bindless heap.
 
uint32_t AttachReadWriteImage (ImageView *view)
 Add/Update a read write image descriptor to the global bindless heap.
 
uint32_t AttachReadCubeMapImage (ImageView *view)
 Add/Update a read only cubemap image descriptor to the global bindless heap.
 
void DetachReadBuffer (uint32_t index)
 Remove the index associated with a read only buffer descriptor from the free list allocator.
 
void DetachReadWriteBuffer (uint32_t index)
 Remove the index associated with a read write buffer descriptor from the free list allocator.
 
void DetachReadImage (uint32_t index)
 Remove the index associated with a read only image descriptor from the free list allocator.
 
void DetachReadWriteImage (uint32_t index)
 Remove the index associated with a read write image descriptor from the free list allocator.
 
void DetachReadCubeMapImage (uint32_t index)
 Remove the index associated with a read only cubemapimage descriptor from the free list allocator.
 
void GarbageCollect ()
 Garbage collect all the free list allocators related to all the bindless resource types.
 
VkDescriptorSet GetNativeDescriptorSet ()
 Return the descriptor set related to the global bindless descriptor set.
 
uint32_t GetBindlessSrgBindingSlot ()
 Return the binding slot for the bindless srg.
 
bool IsInitialized () const
 Boolean to return true if the pool is initialized.
 

Detailed Description

This class is responsible for managing the global bindless descriptor heap. It provides support for this heap via both unbounded arrays.


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