SDL  2.0
VULKAN_HPP_NAMESPACE::ObjectFree< OwnerType, Dispatch > Class Template Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::ObjectFree< OwnerType, Dispatch >:

Public Member Functions

 ObjectFree (OwnerType owner=OwnerType(), Optional< const AllocationCallbacks > allocationCallbacks=nullptr, Dispatch const &dispatch=Dispatch())
 
OwnerType getOwner () const
 
Optional< const AllocationCallbacksgetAllocator () const
 

Protected Member Functions

template<typename T >
void destroy (T t)
 

Private Attributes

OwnerType m_owner
 
Optional< const AllocationCallbacksm_allocationCallbacks
 
Dispatch const * m_dispatch
 

Detailed Description

template<typename OwnerType, typename Dispatch>
class VULKAN_HPP_NAMESPACE::ObjectFree< OwnerType, Dispatch >

Definition at line 2565 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ ObjectFree()

template<typename OwnerType, typename Dispatch>
VULKAN_HPP_NAMESPACE::ObjectFree< OwnerType, Dispatch >::ObjectFree ( OwnerType  owner = OwnerType(),
Optional< const AllocationCallbacks allocationCallbacks = nullptr,
Dispatch const &  dispatch = Dispatch() 
)
inline

Definition at line 2568 of file vulkan.hpp.

2569  : m_owner( owner )
2570  , m_allocationCallbacks( allocationCallbacks )
2571  , m_dispatch( &dispatch )
2572  {}
Optional< const AllocationCallbacks > m_allocationCallbacks
Definition: vulkan.hpp:2586

Member Function Documentation

◆ destroy()

template<typename OwnerType, typename Dispatch>
template<typename T >
void VULKAN_HPP_NAMESPACE::ObjectFree< OwnerType, Dispatch >::destroy ( T  t)
inlineprotected

Definition at line 2579 of file vulkan.hpp.

2580  {
2582  }
Optional< const AllocationCallbacks > m_allocationCallbacks
Definition: vulkan.hpp:2586
GLdouble GLdouble t
Definition: SDL_opengl.h:2071

◆ getAllocator()

template<typename OwnerType, typename Dispatch>
Optional<const AllocationCallbacks> VULKAN_HPP_NAMESPACE::ObjectFree< OwnerType, Dispatch >::getAllocator ( ) const
inline

Definition at line 2575 of file vulkan.hpp.

2575 { return m_allocationCallbacks; }
Optional< const AllocationCallbacks > m_allocationCallbacks
Definition: vulkan.hpp:2586

◆ getOwner()

template<typename OwnerType, typename Dispatch>
OwnerType VULKAN_HPP_NAMESPACE::ObjectFree< OwnerType, Dispatch >::getOwner ( ) const
inline

Definition at line 2574 of file vulkan.hpp.

2574 { return m_owner; }

Field Documentation

◆ m_allocationCallbacks

template<typename OwnerType, typename Dispatch>
Optional<const AllocationCallbacks> VULKAN_HPP_NAMESPACE::ObjectFree< OwnerType, Dispatch >::m_allocationCallbacks
private

Definition at line 2586 of file vulkan.hpp.

◆ m_dispatch

template<typename OwnerType, typename Dispatch>
Dispatch const* VULKAN_HPP_NAMESPACE::ObjectFree< OwnerType, Dispatch >::m_dispatch
private

Definition at line 2587 of file vulkan.hpp.

◆ m_owner

template<typename OwnerType, typename Dispatch>
OwnerType VULKAN_HPP_NAMESPACE::ObjectFree< OwnerType, Dispatch >::m_owner
private

Definition at line 2585 of file vulkan.hpp.


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