Searched refs:vkObject (Results 1 – 2 of 2) sorted by relevance
54 inline void destroy(VkT vkObject, const VkAllocationCallbacks *pAllocator) in destroy() argument56 auto object = Cast(vkObject); in destroy()65 vk::freeHostMemory(vkObject, pAllocator); in destroy()70 inline void release(VkT vkObject, const VkAllocationCallbacks *pAllocator) in release() argument72 auto object = Cast(vkObject); in release()82 vk::freeHostMemory(vkObject, pAllocator); in release()
31 static inline T *VkTtoT(VkT vkObject) in VkTtoT() argument33 return static_cast<T *>(static_cast<void *>(vkObject)); in VkTtoT()109 static inline T *Cast(VkT vkObject) in Cast() argument111 return vk::VkTtoT<T, VkT>(vkObject); in Cast()156 static inline T *Cast(VkT vkObject) in Cast() argument158 …return (vkObject == VK_NULL_HANDLE) ? nullptr : &(reinterpret_cast<DispatchableObject<T, VkT> *>(v… in Cast()