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

@@ -22,6 +22,11 @@
return m_allocationCallbacks;
}
Dispatch const & getDispatch() const VULKAN_HPP_NOEXCEPT
{
return *m_dispatch;
}
protected:
template <typename T>
void destroy( T t ) VULKAN_HPP_NOEXCEPT