Expose the dispatch member of deleters (#1569)

This commit is contained in:
Michael Ferrari
2023-05-03 12:03:28 +02:00
committed by GitHub
parent 4e3e3e026d
commit 3a1d6cbcab
4 changed files with 13 additions and 0 deletions

View File

@@ -17,6 +17,7 @@
OwnerType getOwner() const VULKAN_HPP_NOEXCEPT { return m_owner; }
Optional<const AllocationCallbacks> getAllocator() const VULKAN_HPP_NOEXCEPT { return m_allocationCallbacks; }
Dispatch const & getDispatch() const VULKAN_HPP_NOEXCEPT { return *m_dispatch; }
protected:
template <typename T>
@@ -47,6 +48,7 @@
{}
Optional<const AllocationCallbacks> getAllocator() const VULKAN_HPP_NOEXCEPT { return m_allocationCallbacks; }
Dispatch const & getDispatch() const VULKAN_HPP_NOEXCEPT { return *m_dispatch; }
protected:
template <typename T>