SDL  2.0
VULKAN_HPP_NAMESPACE::ImportMemoryHostPointerInfoEXT Struct Reference

#include <vulkan.hpp>

Public Member Functions

VULKAN_HPP_CONSTEXPR ImportMemoryHostPointerInfoEXT (VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_=VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd, void *pHostPointer_={}) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR ImportMemoryHostPointerInfoEXT (ImportMemoryHostPointerInfoEXT const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 ImportMemoryHostPointerInfoEXT (VkImportMemoryHostPointerInfoEXT const &rhs) VULKAN_HPP_NOEXCEPT
 
ImportMemoryHostPointerInfoEXToperator= (VkImportMemoryHostPointerInfoEXT const &rhs) VULKAN_HPP_NOEXCEPT
 
ImportMemoryHostPointerInfoEXToperator= (ImportMemoryHostPointerInfoEXT const &rhs) VULKAN_HPP_NOEXCEPT
 
ImportMemoryHostPointerInfoEXTsetPNext (const void *pNext_) VULKAN_HPP_NOEXCEPT
 
ImportMemoryHostPointerInfoEXTsetHandleType (VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_) VULKAN_HPP_NOEXCEPT
 
ImportMemoryHostPointerInfoEXTsetPHostPointer (void *pHostPointer_) VULKAN_HPP_NOEXCEPT
 
 operator VkImportMemoryHostPointerInfoEXT const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkImportMemoryHostPointerInfoEXT & () VULKAN_HPP_NOEXCEPT
 
bool operator== (ImportMemoryHostPointerInfoEXT const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (ImportMemoryHostPointerInfoEXT const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImportMemoryHostPointerInfoEXT
 
const voidpNext = {}
 
VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType = VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd
 
voidpHostPointer = {}
 

Static Public Attributes

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

Detailed Description

Definition at line 59862 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ ImportMemoryHostPointerInfoEXT() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::ImportMemoryHostPointerInfoEXT::ImportMemoryHostPointerInfoEXT ( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits  handleType_ = VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd,
void pHostPointer_ = {} 
)
inline

Definition at line 59868 of file vulkan.hpp.

59869  : handleType( handleType_ ), pHostPointer( pHostPointer_ )
59870  {}
VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType
Definition: vulkan.hpp:59944
#define VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:179

◆ ImportMemoryHostPointerInfoEXT() [2/3]

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

◆ ImportMemoryHostPointerInfoEXT() [3/3]

VULKAN_HPP_NAMESPACE::ImportMemoryHostPointerInfoEXT::ImportMemoryHostPointerInfoEXT ( VkImportMemoryHostPointerInfoEXT const &  rhs)
inline

Definition at line 59874 of file vulkan.hpp.

59875  {
59876  *this = rhs;
59877  }

Member Function Documentation

◆ operator VkImportMemoryHostPointerInfoEXT &()

VULKAN_HPP_NAMESPACE::ImportMemoryHostPointerInfoEXT::operator VkImportMemoryHostPointerInfoEXT & ( )
inline

Definition at line 59916 of file vulkan.hpp.

59917  {
59918  return *reinterpret_cast<VkImportMemoryHostPointerInfoEXT*>( this );
59919  }

◆ operator VkImportMemoryHostPointerInfoEXT const &()

VULKAN_HPP_NAMESPACE::ImportMemoryHostPointerInfoEXT::operator VkImportMemoryHostPointerInfoEXT const & ( ) const
inline

Definition at line 59911 of file vulkan.hpp.

59912  {
59913  return *reinterpret_cast<const VkImportMemoryHostPointerInfoEXT*>( this );
59914  }

◆ operator!=()

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

Definition at line 59933 of file vulkan.hpp.

59934  {
59935  return !operator==( rhs );
59936  }
bool operator==(ImportMemoryHostPointerInfoEXT const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:59925

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

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

Definition at line 59886 of file vulkan.hpp.

59887  {
59888  memcpy( static_cast<void *>( this ), &rhs, sizeof( ImportMemoryHostPointerInfoEXT ) );
59889  return *this;
59890  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR ImportMemoryHostPointerInfoEXT(VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_=VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd, void *pHostPointer_={}) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:59868

References memcpy.

◆ operator=() [2/2]

ImportMemoryHostPointerInfoEXT& VULKAN_HPP_NAMESPACE::ImportMemoryHostPointerInfoEXT::operator= ( VkImportMemoryHostPointerInfoEXT const &  rhs)
inline

Definition at line 59880 of file vulkan.hpp.

59881  {
59882  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::ImportMemoryHostPointerInfoEXT const *>( &rhs );
59883  return *this;
59884  }

◆ operator==()

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

Definition at line 59925 of file vulkan.hpp.

59926  {
59927  return ( sType == rhs.sType )
59928  && ( pNext == rhs.pNext )
59929  && ( handleType == rhs.handleType )
59930  && ( pHostPointer == rhs.pHostPointer );
59931  }
GLuint64 GLenum handleType
Definition: gl2ext.h:1508
const VULKAN_HPP_NAMESPACE::StructureType sType
Definition: vulkan.hpp:59942

◆ setHandleType()

ImportMemoryHostPointerInfoEXT& VULKAN_HPP_NAMESPACE::ImportMemoryHostPointerInfoEXT::setHandleType ( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits  handleType_)
inline

Definition at line 59898 of file vulkan.hpp.

59899  {
59900  handleType = handleType_;
59901  return *this;
59902  }

◆ setPHostPointer()

ImportMemoryHostPointerInfoEXT& VULKAN_HPP_NAMESPACE::ImportMemoryHostPointerInfoEXT::setPHostPointer ( void pHostPointer_)
inline

Definition at line 59904 of file vulkan.hpp.

59905  {
59906  pHostPointer = pHostPointer_;
59907  return *this;
59908  }

◆ setPNext()

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

Definition at line 59892 of file vulkan.hpp.

59893  {
59894  pNext = pNext_;
59895  return *this;
59896  }

Field Documentation

◆ allowDuplicate

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

Definition at line 59864 of file vulkan.hpp.

◆ handleType

Definition at line 59944 of file vulkan.hpp.

◆ pHostPointer

void* VULKAN_HPP_NAMESPACE::ImportMemoryHostPointerInfoEXT::pHostPointer = {}

Definition at line 59945 of file vulkan.hpp.

◆ pNext

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

Definition at line 59943 of file vulkan.hpp.

◆ structureType

VULKAN_HPP_CONST_OR_CONSTEXPR StructureType VULKAN_HPP_NAMESPACE::ImportMemoryHostPointerInfoEXT::structureType = StructureType::eImportMemoryHostPointerInfoEXT
static

Definition at line 59865 of file vulkan.hpp.

◆ sType

const VULKAN_HPP_NAMESPACE::StructureType VULKAN_HPP_NAMESPACE::ImportMemoryHostPointerInfoEXT::sType = StructureType::eImportMemoryHostPointerInfoEXT

Definition at line 59942 of file vulkan.hpp.


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