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 ()=default
 
 ObjectFree (OwnerType owner, Optional< const AllocationCallbacks > allocationCallbacks VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const &dispatch=VULKAN_HPP_DEFAULT_DISPATCHER) VULKAN_HPP_NOEXCEPT
 
OwnerType getOwner () const 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

OwnerType m_owner = {}
 
Optional< const AllocationCallbacksm_allocationCallbacks = nullptr
 
Dispatch const * m_dispatch = nullptr
 

Detailed Description

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

Definition at line 3658 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ ObjectFree() [1/2]

template<typename OwnerType , typename Dispatch >
VULKAN_HPP_NAMESPACE::ObjectFree< OwnerType, Dispatch >::ObjectFree ( )
default

◆ ObjectFree() [2/2]

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

Definition at line 3663 of file vulkan.hpp.

3666  : m_owner( owner )
3667  , m_allocationCallbacks( allocationCallbacks )
3668  , m_dispatch( &dispatch )
3669  {}
Optional< const AllocationCallbacks > m_allocationCallbacks
Definition: vulkan.hpp:3691

Member Function Documentation

◆ destroy()

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

◆ getAllocator()

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

Definition at line 3676 of file vulkan.hpp.

3677  {
3678  return m_allocationCallbacks;
3679  }

References VULKAN_HPP_NAMESPACE::ObjectFree< OwnerType, Dispatch >::m_allocationCallbacks.

◆ getOwner()

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

Definition at line 3671 of file vulkan.hpp.

3672  {
3673  return m_owner;
3674  }

References VULKAN_HPP_NAMESPACE::ObjectFree< OwnerType, Dispatch >::m_owner.

Field Documentation

◆ m_allocationCallbacks

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

◆ m_dispatch

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

◆ m_owner

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

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