SDL  2.0
VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfo Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfo:

Public Member Functions

 ExportMemoryAllocateInfo (ExternalMemoryHandleTypeFlags handleTypes_=ExternalMemoryHandleTypeFlags())
 
 ExportMemoryAllocateInfo (VkExportMemoryAllocateInfo const &rhs)
 
ExportMemoryAllocateInfooperator= (VkExportMemoryAllocateInfo const &rhs)
 
ExportMemoryAllocateInfosetPNext (const void *pNext_)
 
ExportMemoryAllocateInfosetHandleTypes (ExternalMemoryHandleTypeFlags handleTypes_)
 
 operator VkExportMemoryAllocateInfo const & () const
 
 operator VkExportMemoryAllocateInfo & ()
 
bool operator== (ExportMemoryAllocateInfo const &rhs) const
 
bool operator!= (ExportMemoryAllocateInfo const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
ExternalMemoryHandleTypeFlags handleTypes
 

Private Attributes

StructureType sType = StructureType::eExportMemoryAllocateInfo
 

Detailed Description

Definition at line 31847 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ ExportMemoryAllocateInfo() [1/2]

VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfo::ExportMemoryAllocateInfo ( ExternalMemoryHandleTypeFlags  handleTypes_ = ExternalMemoryHandleTypeFlags())
inline

Definition at line 31849 of file vulkan.hpp.

31850  : handleTypes( handleTypes_ )
31851  {
31852  }
ExternalMemoryHandleTypeFlags handleTypes
Definition: vulkan.hpp:31903

◆ ExportMemoryAllocateInfo() [2/2]

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

Definition at line 31854 of file vulkan.hpp.

References memcpy.

31855  {
31856  memcpy( this, &rhs, sizeof( ExportMemoryAllocateInfo ) );
31857  }
ExportMemoryAllocateInfo(ExternalMemoryHandleTypeFlags handleTypes_=ExternalMemoryHandleTypeFlags())
Definition: vulkan.hpp:31849
#define memcpy
Definition: SDL_malloc.c:630

Member Function Documentation

◆ operator VkExportMemoryAllocateInfo &()

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

Definition at line 31881 of file vulkan.hpp.

31882  {
31883  return *reinterpret_cast<VkExportMemoryAllocateInfo*>(this);
31884  }

◆ operator VkExportMemoryAllocateInfo const &()

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

Definition at line 31876 of file vulkan.hpp.

31877  {
31878  return *reinterpret_cast<const VkExportMemoryAllocateInfo*>(this);
31879  }

◆ operator!=()

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

Definition at line 31893 of file vulkan.hpp.

31894  {
31895  return !operator==( rhs );
31896  }
bool operator==(ExportMemoryAllocateInfo const &rhs) const
Definition: vulkan.hpp:31886

◆ operator=()

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

Definition at line 31859 of file vulkan.hpp.

References memcpy.

31860  {
31861  memcpy( this, &rhs, sizeof( ExportMemoryAllocateInfo ) );
31862  return *this;
31863  }
ExportMemoryAllocateInfo(ExternalMemoryHandleTypeFlags handleTypes_=ExternalMemoryHandleTypeFlags())
Definition: vulkan.hpp:31849
#define memcpy
Definition: SDL_malloc.c:630

◆ operator==()

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

Definition at line 31886 of file vulkan.hpp.

References handleTypes, pNext, and sType.

31887  {
31888  return ( sType == rhs.sType )
31889  && ( pNext == rhs.pNext )
31890  && ( handleTypes == rhs.handleTypes );
31891  }
ExternalMemoryHandleTypeFlags handleTypes
Definition: vulkan.hpp:31903

◆ setHandleTypes()

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

Definition at line 31870 of file vulkan.hpp.

31871  {
31872  handleTypes = handleTypes_;
31873  return *this;
31874  }
ExternalMemoryHandleTypeFlags handleTypes
Definition: vulkan.hpp:31903

◆ setPNext()

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

Definition at line 31864 of file vulkan.hpp.

31865  {
31866  pNext = pNext_;
31867  return *this;
31868  }

Field Documentation

◆ handleTypes

ExternalMemoryHandleTypeFlags VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfo::handleTypes

Definition at line 31903 of file vulkan.hpp.

Referenced by operator==().

◆ pNext

const void* VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfo::pNext = nullptr

Definition at line 31902 of file vulkan.hpp.

Referenced by operator==().

◆ sType

StructureType VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfo::sType = StructureType::eExportMemoryAllocateInfo
private

Definition at line 31899 of file vulkan.hpp.

Referenced by operator==().


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