Searched refs:vkObject (Results 1 – 2 of 2) sorted by relevance
30 static inline T *VkTtoT(VkT vkObject) in VkTtoT() argument32 return static_cast<T *>(static_cast<void *>(vkObject)); in VkTtoT()111 static inline T *Cast(VkT vkObject) in Cast() argument113 return vk::VkTtoT<T, VkT>(vkObject); in Cast()158 static inline T *Cast(VkT vkObject) in Cast() argument160 …return (vkObject == VK_NULL_HANDLE) ? nullptr : &(reinterpret_cast<DispatchableObject<T, VkT> *>(v… in Cast()
53 inline void destroy(VkT vkObject, const VkAllocationCallbacks* pAllocator) in destroy() argument55 auto object = Cast(vkObject); in destroy()64 vk::deallocate(vkObject, pAllocator); in destroy()