Vulkan-Hpp
vk::AllocationCallbacks Struct Reference

#include <vulkan_structs.hpp>

Public Types

using NativeType = VkAllocationCallbacks
 

Public Member Functions

VULKAN_HPP_CONSTEXPR AllocationCallbacks (void *pUserData_={}, PFN_vkAllocationFunction pfnAllocation_={}, PFN_vkReallocationFunction pfnReallocation_={}, PFN_vkFreeFunction pfnFree_={}, PFN_vkInternalAllocationNotification pfnInternalAllocation_={}, PFN_vkInternalFreeNotification pfnInternalFree_={}) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR AllocationCallbacks (AllocationCallbacks const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 AllocationCallbacks (VkAllocationCallbacks const &rhs) VULKAN_HPP_NOEXCEPT
 
AllocationCallbacksoperator= (AllocationCallbacks const &rhs) VULKAN_HPP_NOEXCEPT=default
 
AllocationCallbacksoperator= (VkAllocationCallbacks const &rhs) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 AllocationCallbackssetPUserData (void *pUserData_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 AllocationCallbackssetPfnAllocation (PFN_vkAllocationFunction pfnAllocation_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 AllocationCallbackssetPfnReallocation (PFN_vkReallocationFunction pfnReallocation_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 AllocationCallbackssetPfnFree (PFN_vkFreeFunction pfnFree_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 AllocationCallbackssetPfnInternalAllocation (PFN_vkInternalAllocationNotification pfnInternalAllocation_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 AllocationCallbackssetPfnInternalFree (PFN_vkInternalFreeNotification pfnInternalFree_) VULKAN_HPP_NOEXCEPT
 
 operator VkAllocationCallbacks const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkAllocationCallbacks & () VULKAN_HPP_NOEXCEPT
 
bool operator== (AllocationCallbacks const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (AllocationCallbacks const &rhs) const VULKAN_HPP_NOEXCEPT
 

Public Attributes

void * pUserData = {}
 
PFN_vkAllocationFunction pfnAllocation = {}
 
PFN_vkReallocationFunction pfnReallocation = {}
 
PFN_vkFreeFunction pfnFree = {}
 
PFN_vkInternalAllocationNotification pfnInternalAllocation = {}
 
PFN_vkInternalFreeNotification pfnInternalFree = {}
 

Detailed Description

Definition at line 4512 of file vulkan_structs.hpp.

Member Typedef Documentation

◆ NativeType

Constructor & Destructor Documentation

◆ AllocationCallbacks() [1/3]

VULKAN_HPP_CONSTEXPR vk::AllocationCallbacks::AllocationCallbacks ( void *  pUserData_ = {},
PFN_vkAllocationFunction  pfnAllocation_ = {},
PFN_vkReallocationFunction  pfnReallocation_ = {},
PFN_vkFreeFunction  pfnFree_ = {},
PFN_vkInternalAllocationNotification  pfnInternalAllocation_ = {},
PFN_vkInternalFreeNotification  pfnInternalFree_ = {} 
)
inline

Definition at line 4517 of file vulkan_structs.hpp.

◆ AllocationCallbacks() [2/3]

VULKAN_HPP_CONSTEXPR vk::AllocationCallbacks::AllocationCallbacks ( AllocationCallbacks const &  rhs)
default

◆ AllocationCallbacks() [3/3]

vk::AllocationCallbacks::AllocationCallbacks ( VkAllocationCallbacks const &  rhs)
inline

Definition at line 4534 of file vulkan_structs.hpp.

Member Function Documentation

◆ operator VkAllocationCallbacks &()

vk::AllocationCallbacks::operator VkAllocationCallbacks & ( )
inline

Definition at line 4590 of file vulkan_structs.hpp.

◆ operator VkAllocationCallbacks const &()

vk::AllocationCallbacks::operator VkAllocationCallbacks const & ( ) const
inline

Definition at line 4585 of file vulkan_structs.hpp.

◆ operator!=()

bool vk::AllocationCallbacks::operator!= ( AllocationCallbacks const &  rhs) const
inline

Definition at line 4622 of file vulkan_structs.hpp.

◆ operator=() [1/2]

AllocationCallbacks& vk::AllocationCallbacks::operator= ( AllocationCallbacks const &  rhs)
default

◆ operator=() [2/2]

AllocationCallbacks& vk::AllocationCallbacks::operator= ( VkAllocationCallbacks const &  rhs)
inline

Definition at line 4541 of file vulkan_structs.hpp.

◆ operator==()

bool vk::AllocationCallbacks::operator== ( AllocationCallbacks const &  rhs) const
inline

Definition at line 4612 of file vulkan_structs.hpp.

◆ setPfnAllocation()

VULKAN_HPP_CONSTEXPR_14 AllocationCallbacks& vk::AllocationCallbacks::setPfnAllocation ( PFN_vkAllocationFunction  pfnAllocation_)
inline

Definition at line 4554 of file vulkan_structs.hpp.

◆ setPfnFree()

VULKAN_HPP_CONSTEXPR_14 AllocationCallbacks& vk::AllocationCallbacks::setPfnFree ( PFN_vkFreeFunction  pfnFree_)
inline

Definition at line 4566 of file vulkan_structs.hpp.

◆ setPfnInternalAllocation()

VULKAN_HPP_CONSTEXPR_14 AllocationCallbacks& vk::AllocationCallbacks::setPfnInternalAllocation ( PFN_vkInternalAllocationNotification  pfnInternalAllocation_)
inline

Definition at line 4572 of file vulkan_structs.hpp.

◆ setPfnInternalFree()

VULKAN_HPP_CONSTEXPR_14 AllocationCallbacks& vk::AllocationCallbacks::setPfnInternalFree ( PFN_vkInternalFreeNotification  pfnInternalFree_)
inline

Definition at line 4578 of file vulkan_structs.hpp.

◆ setPfnReallocation()

VULKAN_HPP_CONSTEXPR_14 AllocationCallbacks& vk::AllocationCallbacks::setPfnReallocation ( PFN_vkReallocationFunction  pfnReallocation_)
inline

Definition at line 4560 of file vulkan_structs.hpp.

◆ setPUserData()

VULKAN_HPP_CONSTEXPR_14 AllocationCallbacks& vk::AllocationCallbacks::setPUserData ( void *  pUserData_)
inline

Definition at line 4548 of file vulkan_structs.hpp.

Member Data Documentation

◆ pfnAllocation

PFN_vkAllocationFunction vk::AllocationCallbacks::pfnAllocation = {}

Definition at line 4629 of file vulkan_structs.hpp.

◆ pfnFree

PFN_vkFreeFunction vk::AllocationCallbacks::pfnFree = {}

Definition at line 4631 of file vulkan_structs.hpp.

◆ pfnInternalAllocation

PFN_vkInternalAllocationNotification vk::AllocationCallbacks::pfnInternalAllocation = {}

Definition at line 4632 of file vulkan_structs.hpp.

◆ pfnInternalFree

PFN_vkInternalFreeNotification vk::AllocationCallbacks::pfnInternalFree = {}

Definition at line 4633 of file vulkan_structs.hpp.

◆ pfnReallocation

PFN_vkReallocationFunction vk::AllocationCallbacks::pfnReallocation = {}

Definition at line 4630 of file vulkan_structs.hpp.

◆ pUserData

void* vk::AllocationCallbacks::pUserData = {}

Definition at line 4628 of file vulkan_structs.hpp.


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