SDL  2.0
VULKAN_HPP_NAMESPACE::ObjectDestroy< NoParent, Dispatch > Class Template Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::ObjectDestroy< NoParent, Dispatch >:

Public Member Functions

 ObjectDestroy ()=default
 
 ObjectDestroy (Optional< const AllocationCallbacks > allocationCallbacks, Dispatch const &dispatch=VULKAN_HPP_DEFAULT_DISPATCHER) VULKAN_HPP_NOEXCEPT
 
Optional< const AllocationCallbacksgetAllocator () const VULKAN_HPP_NOEXCEPT
 

Protected Member Functions

template<typename T >
void destroy (T t) VULKAN_HPP_NOEXCEPT
 

Private Attributes

Optional< const AllocationCallbacksm_allocationCallbacks = nullptr
 
Dispatch const * m_dispatch = nullptr
 

Detailed Description

template<typename Dispatch>
class VULKAN_HPP_NAMESPACE::ObjectDestroy< NoParent, Dispatch >

Definition at line 3631 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ ObjectDestroy() [1/2]

template<typename Dispatch >
VULKAN_HPP_NAMESPACE::ObjectDestroy< NoParent, Dispatch >::ObjectDestroy ( )
default

◆ ObjectDestroy() [2/2]

template<typename Dispatch >
VULKAN_HPP_NAMESPACE::ObjectDestroy< NoParent, Dispatch >::ObjectDestroy ( Optional< const AllocationCallbacks allocationCallbacks,
Dispatch const &  dispatch = VULKAN_HPP_DEFAULT_DISPATCHER 
)
inline

Definition at line 3636 of file vulkan.hpp.

3638  : m_allocationCallbacks( allocationCallbacks )
3639  , m_dispatch( &dispatch )
3640  {}
Optional< const AllocationCallbacks > m_allocationCallbacks
Definition: vulkan.hpp:3653

Member Function Documentation

◆ destroy()

template<typename Dispatch >
template<typename T >
void VULKAN_HPP_NAMESPACE::ObjectDestroy< NoParent, Dispatch >::destroy ( T  t)
inlineprotected

◆ getAllocator()

template<typename Dispatch >
Optional<const AllocationCallbacks> VULKAN_HPP_NAMESPACE::ObjectDestroy< NoParent, Dispatch >::getAllocator ( ) const
inline

Field Documentation

◆ m_allocationCallbacks

template<typename Dispatch >
Optional<const AllocationCallbacks> VULKAN_HPP_NAMESPACE::ObjectDestroy< NoParent, Dispatch >::m_allocationCallbacks = nullptr
private

Definition at line 3653 of file vulkan.hpp.

◆ m_dispatch

template<typename Dispatch >
Dispatch const* VULKAN_HPP_NAMESPACE::ObjectDestroy< NoParent, Dispatch >::m_dispatch = nullptr
private

Definition at line 3654 of file vulkan.hpp.


The documentation for this class was generated from the following file: