mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +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; }
|
OwnerType getOwner() const VULKAN_HPP_NOEXCEPT { return m_owner; }
|
||||||
Optional<const AllocationCallbacks> getAllocator() const VULKAN_HPP_NOEXCEPT { return m_allocationCallbacks; }
|
Optional<const AllocationCallbacks> getAllocator() const VULKAN_HPP_NOEXCEPT { return m_allocationCallbacks; }
|
||||||
|
Dispatch const & getDispatch() const VULKAN_HPP_NOEXCEPT { return *m_dispatch; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
template <typename T>
|
template <typename T>
|
||||||
@ -47,6 +48,7 @@
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
Optional<const AllocationCallbacks> getAllocator() const VULKAN_HPP_NOEXCEPT { return m_allocationCallbacks; }
|
Optional<const AllocationCallbacks> getAllocator() const VULKAN_HPP_NOEXCEPT { return m_allocationCallbacks; }
|
||||||
|
Dispatch const & getDispatch() const VULKAN_HPP_NOEXCEPT { return *m_dispatch; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
@ -22,6 +22,11 @@
|
|||||||
return m_allocationCallbacks;
|
return m_allocationCallbacks;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Dispatch const & getDispatch() const VULKAN_HPP_NOEXCEPT
|
||||||
|
{
|
||||||
|
return *m_dispatch;
|
||||||
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
template <typename T>
|
template <typename T>
|
||||||
void destroy( T t ) VULKAN_HPP_NOEXCEPT
|
void destroy( T t ) VULKAN_HPP_NOEXCEPT
|
||||||
|
@ -15,6 +15,11 @@
|
|||||||
return m_owner;
|
return m_owner;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Dispatch const & getDispatch() const VULKAN_HPP_NOEXCEPT
|
||||||
|
{
|
||||||
|
return *m_dispatch;
|
||||||
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
template <typename T>
|
template <typename T>
|
||||||
void destroy( T t ) VULKAN_HPP_NOEXCEPT
|
void destroy( T t ) VULKAN_HPP_NOEXCEPT
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
OwnerType getOwner() const VULKAN_HPP_NOEXCEPT { return m_owner; }
|
OwnerType getOwner() const VULKAN_HPP_NOEXCEPT { return m_owner; }
|
||||||
PoolType getPool() const VULKAN_HPP_NOEXCEPT { return m_pool; }
|
PoolType getPool() const VULKAN_HPP_NOEXCEPT { return m_pool; }
|
||||||
|
Dispatch const & getDispatch() const VULKAN_HPP_NOEXCEPT { return *m_dispatch; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
Loading…
Reference in New Issue
Block a user