mirror of
https://github.com/KhronosGroup/Vulkan-Hpp
synced 2024-11-21 20:00:11 +00:00
Expose the dispatch member of deleters (#1569)
This commit is contained in:
parent
4e3e3e026d
commit
3a1d6cbcab
@ -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>
|
||||
|
@ -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
|
||||
|
@ -15,6 +15,11 @@
|
||||
return m_owner;
|
||||
}
|
||||
|
||||
Dispatch const & getDispatch() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return *m_dispatch;
|
||||
}
|
||||
|
||||
protected:
|
||||
template <typename T>
|
||||
void destroy( T t ) VULKAN_HPP_NOEXCEPT
|
||||
|
@ -14,6 +14,7 @@
|
||||
|
||||
OwnerType getOwner() const VULKAN_HPP_NOEXCEPT { return m_owner; }
|
||||
PoolType getPool() const VULKAN_HPP_NOEXCEPT { return m_pool; }
|
||||
Dispatch const & getDispatch() const VULKAN_HPP_NOEXCEPT { return *m_dispatch; }
|
||||
|
||||
protected:
|
||||
template <typename T>
|
||||
|
Loading…
Reference in New Issue
Block a user