SDL  2.0
VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfoNV Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfoNV:

Public Member Functions

VULKAN_HPP_CONSTEXPR ExportMemoryAllocateInfoNV (VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleTypes_={}) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR ExportMemoryAllocateInfoNV (ExportMemoryAllocateInfoNV const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 ExportMemoryAllocateInfoNV (VkExportMemoryAllocateInfoNV const &rhs) VULKAN_HPP_NOEXCEPT
 
ExportMemoryAllocateInfoNVoperator= (VkExportMemoryAllocateInfoNV const &rhs) VULKAN_HPP_NOEXCEPT
 
ExportMemoryAllocateInfoNVoperator= (ExportMemoryAllocateInfoNV const &rhs) VULKAN_HPP_NOEXCEPT
 
ExportMemoryAllocateInfoNVsetPNext (const void *pNext_) VULKAN_HPP_NOEXCEPT
 
ExportMemoryAllocateInfoNVsetHandleTypes (VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleTypes_) VULKAN_HPP_NOEXCEPT
 
 operator VkExportMemoryAllocateInfoNV const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkExportMemoryAllocateInfoNV & () VULKAN_HPP_NOEXCEPT
 
bool operator== (ExportMemoryAllocateInfoNV const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (ExportMemoryAllocateInfoNV const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExportMemoryAllocateInfoNV
 
const voidpNext = {}
 
VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleTypes = {}
 

Static Public Attributes

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

Detailed Description

Definition at line 57015 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ ExportMemoryAllocateInfoNV() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfoNV::ExportMemoryAllocateInfoNV ( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV  handleTypes_ = {})
inline

Definition at line 57021 of file vulkan.hpp.

57022  : handleTypes( handleTypes_ )
57023  {}
VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleTypes
Definition: vulkan.hpp:57090
#define VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:179

◆ ExportMemoryAllocateInfoNV() [2/3]

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

◆ ExportMemoryAllocateInfoNV() [3/3]

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

Definition at line 57027 of file vulkan.hpp.

57028  {
57029  *this = rhs;
57030  }

Member Function Documentation

◆ operator VkExportMemoryAllocateInfoNV &()

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

Definition at line 57063 of file vulkan.hpp.

57064  {
57065  return *reinterpret_cast<VkExportMemoryAllocateInfoNV*>( this );
57066  }

◆ operator VkExportMemoryAllocateInfoNV const &()

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

Definition at line 57058 of file vulkan.hpp.

57059  {
57060  return *reinterpret_cast<const VkExportMemoryAllocateInfoNV*>( this );
57061  }

◆ operator!=()

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

Definition at line 57079 of file vulkan.hpp.

57080  {
57081  return !operator==( rhs );
57082  }
bool operator==(ExportMemoryAllocateInfoNV const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:57072

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

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

Definition at line 57039 of file vulkan.hpp.

57040  {
57041  memcpy( static_cast<void *>( this ), &rhs, sizeof( ExportMemoryAllocateInfoNV ) );
57042  return *this;
57043  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR ExportMemoryAllocateInfoNV(VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleTypes_={}) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:57021

References memcpy.

◆ operator=() [2/2]

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

Definition at line 57033 of file vulkan.hpp.

57034  {
57035  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfoNV const *>( &rhs );
57036  return *this;
57037  }

◆ operator==()

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

Definition at line 57072 of file vulkan.hpp.

57073  {
57074  return ( sType == rhs.sType )
57075  && ( pNext == rhs.pNext )
57076  && ( handleTypes == rhs.handleTypes );
57077  }
const VULKAN_HPP_NAMESPACE::StructureType sType
Definition: vulkan.hpp:57088

◆ setHandleTypes()

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

Definition at line 57051 of file vulkan.hpp.

57052  {
57053  handleTypes = handleTypes_;
57054  return *this;
57055  }

◆ setPNext()

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

Definition at line 57045 of file vulkan.hpp.

57046  {
57047  pNext = pNext_;
57048  return *this;
57049  }

Field Documentation

◆ allowDuplicate

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

Definition at line 57017 of file vulkan.hpp.

◆ handleTypes

VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfoNV::handleTypes = {}

Definition at line 57090 of file vulkan.hpp.

◆ pNext

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

Definition at line 57089 of file vulkan.hpp.

◆ structureType

VULKAN_HPP_CONST_OR_CONSTEXPR StructureType VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfoNV::structureType = StructureType::eExportMemoryAllocateInfoNV
static

Definition at line 57018 of file vulkan.hpp.

◆ sType

const VULKAN_HPP_NAMESPACE::StructureType VULKAN_HPP_NAMESPACE::ExportMemoryAllocateInfoNV::sType = StructureType::eExportMemoryAllocateInfoNV

Definition at line 57088 of file vulkan.hpp.


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