template <typename T>

struct AtomicTransactionalIncrement

Defined at line 4645 of file ../../src/ui/lib/escher/third_party/VulkanMemoryAllocator/vk_mem_alloc.h

An object that increments given atomic but decrements it back in the destructor unless Commit() is called.

Public Methods

void ~AtomicTransactionalIncrement<T> ()

Defined at line 4650 of file ../../src/ui/lib/escher/third_party/VulkanMemoryAllocator/vk_mem_alloc.h

void Commit ()

Defined at line 4656 of file ../../src/ui/lib/escher/third_party/VulkanMemoryAllocator/vk_mem_alloc.h

T Increment (AtomicT * atomic)

Defined at line 4657 of file ../../src/ui/lib/escher/third_party/VulkanMemoryAllocator/vk_mem_alloc.h