#include <ReleaseContainer.h>
Inherits AZ::RHI::Object.
Public Types | |
using | VkDestroyFunc = AZStd::function<void(VkDevice, T, const VkAllocationCallbacks*)> |
Public Member Functions | |
AZ_CLASS_ALLOCATOR (ReleaseContainer< T >, AZ::ThreadPoolAllocator) | |
ReleaseContainer (VkDevice vkDevice, T vkObject, VkDestroyFunc vkDestroyFunc) | |
![]() | |
AZ_RTTI (Object, "{E43378F1-2331-4173-94B8-990ED20E6003}") | |
void | SetName (const Name &name) |
Sets the name of the object. | |
const Name & | GetName () const |
Returns the name set on the object by SetName. | |
uint32_t | use_count () |
Returns the current use count of the object. | |
Additional Inherited Members | |
![]() | |
void | add_ref () const |
void | release () const |
![]() | |
AZStd::atomic_int | m_useCount = 0 |
Utility class used for containing a Vulkan object that will be destroyed on subsequent frames.