SDL  2.0
VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfo Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfo:

Public Member Functions

VULKAN_HPP_CONSTEXPR ExportMemoryAllocateInfo (VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags handleTypes_={}) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR ExportMemoryAllocateInfo (ExportMemoryAllocateInfo const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 ExportMemoryAllocateInfo (VkExportMemoryAllocateInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
ExportMemoryAllocateInfooperator= (VkExportMemoryAllocateInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
ExportMemoryAllocateInfooperator= (ExportMemoryAllocateInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
ExportMemoryAllocateInfosetPNext (const void *pNext_) VULKAN_HPP_NOEXCEPT
 
ExportMemoryAllocateInfosetHandleTypes (VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags handleTypes_) VULKAN_HPP_NOEXCEPT
 
 operator VkExportMemoryAllocateInfo const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkExportMemoryAllocateInfo & () VULKAN_HPP_NOEXCEPT
 
bool operator== (ExportMemoryAllocateInfo const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (ExportMemoryAllocateInfo const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExportMemoryAllocateInfo
 
const voidpNext = {}
 
VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags handleTypes = {}
 

Static Public Attributes

static const bool allowDuplicate = false
 
static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExportMemoryAllocateInfo
 

Detailed Description

Definition at line 56927 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ ExportMemoryAllocateInfo() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfo::ExportMemoryAllocateInfo ( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags  handleTypes_ = {})
inline

Definition at line 56933 of file vulkan.hpp.

56934  : handleTypes( handleTypes_ )
56935  {}
VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags handleTypes
Definition: vulkan.hpp:57002
#define VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:179

◆ ExportMemoryAllocateInfo() [2/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfo::ExportMemoryAllocateInfo ( ExportMemoryAllocateInfo const &  rhs)
default

◆ ExportMemoryAllocateInfo() [3/3]

VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfo::ExportMemoryAllocateInfo ( VkExportMemoryAllocateInfo const &  rhs)
inline

Definition at line 56939 of file vulkan.hpp.

56940  {
56941  *this = rhs;
56942  }

Member Function Documentation

◆ operator VkExportMemoryAllocateInfo &()

VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfo::operator VkExportMemoryAllocateInfo & ( )
inline

Definition at line 56975 of file vulkan.hpp.

56976  {
56977  return *reinterpret_cast<VkExportMemoryAllocateInfo*>( this );
56978  }

◆ operator VkExportMemoryAllocateInfo const &()

VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfo::operator VkExportMemoryAllocateInfo const & ( ) const
inline

Definition at line 56970 of file vulkan.hpp.

56971  {
56972  return *reinterpret_cast<const VkExportMemoryAllocateInfo*>( this );
56973  }

◆ operator!=()

bool VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfo::operator!= ( ExportMemoryAllocateInfo const &  rhs) const
inline

Definition at line 56991 of file vulkan.hpp.

56992  {
56993  return !operator==( rhs );
56994  }
bool operator==(ExportMemoryAllocateInfo const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:56984

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

ExportMemoryAllocateInfo& VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfo::operator= ( ExportMemoryAllocateInfo const &  rhs)
inline

Definition at line 56951 of file vulkan.hpp.

56952  {
56953  memcpy( static_cast<void *>( this ), &rhs, sizeof( ExportMemoryAllocateInfo ) );
56954  return *this;
56955  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR ExportMemoryAllocateInfo(VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags handleTypes_={}) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:56933

References memcpy.

◆ operator=() [2/2]

ExportMemoryAllocateInfo& VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfo::operator= ( VkExportMemoryAllocateInfo const &  rhs)
inline

Definition at line 56945 of file vulkan.hpp.

56946  {
56947  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfo const *>( &rhs );
56948  return *this;
56949  }

◆ operator==()

bool VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfo::operator== ( ExportMemoryAllocateInfo const &  rhs) const
inline

Definition at line 56984 of file vulkan.hpp.

56985  {
56986  return ( sType == rhs.sType )
56987  && ( pNext == rhs.pNext )
56988  && ( handleTypes == rhs.handleTypes );
56989  }
const VULKAN_HPP_NAMESPACE::StructureType sType
Definition: vulkan.hpp:57000

◆ setHandleTypes()

ExportMemoryAllocateInfo& VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfo::setHandleTypes ( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags  handleTypes_)
inline

Definition at line 56963 of file vulkan.hpp.

56964  {
56965  handleTypes = handleTypes_;
56966  return *this;
56967  }

◆ setPNext()

ExportMemoryAllocateInfo& VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfo::setPNext ( const void pNext_)
inline

Definition at line 56957 of file vulkan.hpp.

56958  {
56959  pNext = pNext_;
56960  return *this;
56961  }

Field Documentation

◆ allowDuplicate

const bool VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfo::allowDuplicate = false
static

Definition at line 56929 of file vulkan.hpp.

◆ handleTypes

VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfo::handleTypes = {}

Definition at line 57002 of file vulkan.hpp.

◆ pNext

const void* VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfo::pNext = {}

Definition at line 57001 of file vulkan.hpp.

◆ structureType

VULKAN_HPP_CONST_OR_CONSTEXPR StructureType VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfo::structureType = StructureType::eExportMemoryAllocateInfo
static

Definition at line 56930 of file vulkan.hpp.

◆ sType

const VULKAN_HPP_NAMESPACE::StructureType VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfo::sType = StructureType::eExportMemoryAllocateInfo

Definition at line 57000 of file vulkan.hpp.


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