Lines Matching refs:pAllocator
47 static VkResult Create(const VkAllocationCallbacks *pAllocator, const CreateInfo *pCreateInfo, VkT … in Create() argument
55 memory = vk::allocate(size, REQUIRED_MEMORY_ALIGNMENT, pAllocator, T::GetAllocationScope()); in Create()
62 void *objectMemory = vk::allocate(sizeof(T), alignof(T), pAllocator, T::GetAllocationScope()); in Create()
65 vk::deallocate(memory, pAllocator); in Create()
73 vk::deallocate(memory, pAllocator); in Create()
91 …void destroy(const VkAllocationCallbacks *pAllocator) {} // Method defined by objects to delete t… in destroy() argument
94 …static VkResult Create(const VkAllocationCallbacks *pAllocator, const CreateInfo *pCreateInfo, VkT… in Create() argument
96 return vk::Create<T, VkT, CreateInfo>(pAllocator, pCreateInfo, outObject, extendedInfo...); in Create()
137 void destroy(const VkAllocationCallbacks *pAllocator) in destroy() argument
139 object.destroy(pAllocator); in destroy()
142 void operator delete(void *ptr, const VkAllocationCallbacks *pAllocator) in operator delete() argument
149 …static VkResult Create(const VkAllocationCallbacks *pAllocator, const CreateInfo *pCreateInfo, VkT… in Create() argument
151 …return vk::Create<DispatchableObject<T, VkT>, VkT, CreateInfo>(pAllocator, pCreateInfo, outObject,… in Create()