SDL  2.0
VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfoNV Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfoNV:

Public Member Functions

 ExportMemoryAllocateInfoNV (ExternalMemoryHandleTypeFlagsNV handleTypes_=ExternalMemoryHandleTypeFlagsNV())
 
 ExportMemoryAllocateInfoNV (VkExportMemoryAllocateInfoNV const &rhs)
 
ExportMemoryAllocateInfoNVoperator= (VkExportMemoryAllocateInfoNV const &rhs)
 
ExportMemoryAllocateInfoNVsetPNext (const void *pNext_)
 
ExportMemoryAllocateInfoNVsetHandleTypes (ExternalMemoryHandleTypeFlagsNV handleTypes_)
 
 operator VkExportMemoryAllocateInfoNV const & () const
 
 operator VkExportMemoryAllocateInfoNV & ()
 
bool operator== (ExportMemoryAllocateInfoNV const &rhs) const
 
bool operator!= (ExportMemoryAllocateInfoNV const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
ExternalMemoryHandleTypeFlagsNV handleTypes
 

Private Attributes

StructureType sType = StructureType::eExportMemoryAllocateInfoNV
 

Detailed Description

Definition at line 30178 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ ExportMemoryAllocateInfoNV() [1/2]

VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfoNV::ExportMemoryAllocateInfoNV ( ExternalMemoryHandleTypeFlagsNV  handleTypes_ = ExternalMemoryHandleTypeFlagsNV())
inline

Definition at line 30180 of file vulkan.hpp.

30181  : handleTypes( handleTypes_ )
30182  {
30183  }

◆ ExportMemoryAllocateInfoNV() [2/2]

VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfoNV::ExportMemoryAllocateInfoNV ( VkExportMemoryAllocateInfoNV const &  rhs)
inline

Definition at line 30185 of file vulkan.hpp.

30186  {
30187  memcpy( this, &rhs, sizeof( ExportMemoryAllocateInfoNV ) );
30188  }

References memcpy.

Member Function Documentation

◆ operator VkExportMemoryAllocateInfoNV &()

VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfoNV::operator VkExportMemoryAllocateInfoNV & ( )
inline

Definition at line 30212 of file vulkan.hpp.

30213  {
30214  return *reinterpret_cast<VkExportMemoryAllocateInfoNV*>(this);
30215  }

◆ operator VkExportMemoryAllocateInfoNV const &()

VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfoNV::operator VkExportMemoryAllocateInfoNV const & ( ) const
inline

Definition at line 30207 of file vulkan.hpp.

30208  {
30209  return *reinterpret_cast<const VkExportMemoryAllocateInfoNV*>(this);
30210  }

◆ operator!=()

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

Definition at line 30224 of file vulkan.hpp.

30225  {
30226  return !operator==( rhs );
30227  }

References operator==().

◆ operator=()

ExportMemoryAllocateInfoNV& VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfoNV::operator= ( VkExportMemoryAllocateInfoNV const &  rhs)
inline

Definition at line 30190 of file vulkan.hpp.

30191  {
30192  memcpy( this, &rhs, sizeof( ExportMemoryAllocateInfoNV ) );
30193  return *this;
30194  }

References memcpy.

◆ operator==()

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

Definition at line 30217 of file vulkan.hpp.

30218  {
30219  return ( sType == rhs.sType )
30220  && ( pNext == rhs.pNext )
30221  && ( handleTypes == rhs.handleTypes );
30222  }

References handleTypes, pNext, and sType.

Referenced by operator!=().

◆ setHandleTypes()

ExportMemoryAllocateInfoNV& VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfoNV::setHandleTypes ( ExternalMemoryHandleTypeFlagsNV  handleTypes_)
inline

Definition at line 30201 of file vulkan.hpp.

30202  {
30203  handleTypes = handleTypes_;
30204  return *this;
30205  }

References handleTypes.

◆ setPNext()

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

Definition at line 30195 of file vulkan.hpp.

30196  {
30197  pNext = pNext_;
30198  return *this;
30199  }

References pNext.

Field Documentation

◆ handleTypes

ExternalMemoryHandleTypeFlagsNV VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfoNV::handleTypes

Definition at line 30234 of file vulkan.hpp.

Referenced by operator==(), and setHandleTypes().

◆ pNext

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

Definition at line 30233 of file vulkan.hpp.

Referenced by operator==(), and setPNext().

◆ sType

StructureType VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfoNV::sType = StructureType::eExportMemoryAllocateInfoNV
private

Definition at line 30230 of file vulkan.hpp.

Referenced by operator==().


The documentation for this struct was generated from the following file:
VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfoNV::ExportMemoryAllocateInfoNV
ExportMemoryAllocateInfoNV(ExternalMemoryHandleTypeFlagsNV handleTypes_=ExternalMemoryHandleTypeFlagsNV())
Definition: vulkan.hpp:30180
VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfoNV::operator==
bool operator==(ExportMemoryAllocateInfoNV const &rhs) const
Definition: vulkan.hpp:30217
memcpy
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfoNV::pNext
const void * pNext
Definition: vulkan.hpp:30233
VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfoNV::handleTypes
ExternalMemoryHandleTypeFlagsNV handleTypes
Definition: vulkan.hpp:30234
VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfoNV::sType
StructureType sType
Definition: vulkan.hpp:30230