SDL  2.0
VULKAN_HPP_NAMESPACE::ImportMemoryHostPointerInfoEXT Struct Reference

#include <vulkan.hpp>

Public Member Functions

 ImportMemoryHostPointerInfoEXT (ExternalMemoryHandleTypeFlagBits handleType_=ExternalMemoryHandleTypeFlagBits::eOpaqueFd, void *pHostPointer_=nullptr)
 
 ImportMemoryHostPointerInfoEXT (VkImportMemoryHostPointerInfoEXT const &rhs)
 
ImportMemoryHostPointerInfoEXToperator= (VkImportMemoryHostPointerInfoEXT const &rhs)
 
ImportMemoryHostPointerInfoEXTsetPNext (const void *pNext_)
 
ImportMemoryHostPointerInfoEXTsetHandleType (ExternalMemoryHandleTypeFlagBits handleType_)
 
ImportMemoryHostPointerInfoEXTsetPHostPointer (void *pHostPointer_)
 
 operator VkImportMemoryHostPointerInfoEXT const & () const
 
 operator VkImportMemoryHostPointerInfoEXT & ()
 
bool operator== (ImportMemoryHostPointerInfoEXT const &rhs) const
 
bool operator!= (ImportMemoryHostPointerInfoEXT const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
ExternalMemoryHandleTypeFlagBits handleType
 
voidpHostPointer
 

Private Attributes

StructureType sType = StructureType::eImportMemoryHostPointerInfoEXT
 

Detailed Description

Definition at line 32203 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ ImportMemoryHostPointerInfoEXT() [1/2]

VULKAN_HPP_NAMESPACE::ImportMemoryHostPointerInfoEXT::ImportMemoryHostPointerInfoEXT ( ExternalMemoryHandleTypeFlagBits  handleType_ = ExternalMemoryHandleTypeFlagBits::eOpaqueFd,
void pHostPointer_ = nullptr 
)
inline

Definition at line 32205 of file vulkan.hpp.

32207  : handleType( handleType_ )
32208  , pHostPointer( pHostPointer_ )
32209  {
32210  }
ExternalMemoryHandleTypeFlagBits handleType
Definition: vulkan.hpp:32268

◆ ImportMemoryHostPointerInfoEXT() [2/2]

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

Definition at line 32212 of file vulkan.hpp.

References memcpy.

32213  {
32214  memcpy( this, &rhs, sizeof( ImportMemoryHostPointerInfoEXT ) );
32215  }
ImportMemoryHostPointerInfoEXT(ExternalMemoryHandleTypeFlagBits handleType_=ExternalMemoryHandleTypeFlagBits::eOpaqueFd, void *pHostPointer_=nullptr)
Definition: vulkan.hpp:32205
#define memcpy
Definition: SDL_malloc.c:630

Member Function Documentation

◆ operator VkImportMemoryHostPointerInfoEXT &()

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

Definition at line 32245 of file vulkan.hpp.

32246  {
32247  return *reinterpret_cast<VkImportMemoryHostPointerInfoEXT*>(this);
32248  }

◆ operator VkImportMemoryHostPointerInfoEXT const &()

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

Definition at line 32240 of file vulkan.hpp.

32241  {
32242  return *reinterpret_cast<const VkImportMemoryHostPointerInfoEXT*>(this);
32243  }

◆ operator!=()

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

Definition at line 32258 of file vulkan.hpp.

32259  {
32260  return !operator==( rhs );
32261  }
bool operator==(ImportMemoryHostPointerInfoEXT const &rhs) const
Definition: vulkan.hpp:32250

◆ operator=()

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

Definition at line 32217 of file vulkan.hpp.

References memcpy.

32218  {
32219  memcpy( this, &rhs, sizeof( ImportMemoryHostPointerInfoEXT ) );
32220  return *this;
32221  }
ImportMemoryHostPointerInfoEXT(ExternalMemoryHandleTypeFlagBits handleType_=ExternalMemoryHandleTypeFlagBits::eOpaqueFd, void *pHostPointer_=nullptr)
Definition: vulkan.hpp:32205
#define memcpy
Definition: SDL_malloc.c:630

◆ operator==()

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

Definition at line 32250 of file vulkan.hpp.

References handleType, pHostPointer, pNext, and sType.

32251  {
32252  return ( sType == rhs.sType )
32253  && ( pNext == rhs.pNext )
32254  && ( handleType == rhs.handleType )
32255  && ( pHostPointer == rhs.pHostPointer );
32256  }
GLuint64 GLenum handleType
Definition: gl2ext.h:1508

◆ setHandleType()

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

Definition at line 32228 of file vulkan.hpp.

32229  {
32230  handleType = handleType_;
32231  return *this;
32232  }
GLuint64 GLenum handleType
Definition: gl2ext.h:1508

◆ setPHostPointer()

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

Definition at line 32234 of file vulkan.hpp.

32235  {
32236  pHostPointer = pHostPointer_;
32237  return *this;
32238  }

◆ setPNext()

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

Definition at line 32222 of file vulkan.hpp.

32223  {
32224  pNext = pNext_;
32225  return *this;
32226  }

Field Documentation

◆ handleType

ExternalMemoryHandleTypeFlagBits VULKAN_HPP_NAMESPACE::ImportMemoryHostPointerInfoEXT::handleType

Definition at line 32268 of file vulkan.hpp.

Referenced by operator==().

◆ pHostPointer

void* VULKAN_HPP_NAMESPACE::ImportMemoryHostPointerInfoEXT::pHostPointer

Definition at line 32269 of file vulkan.hpp.

Referenced by operator==().

◆ pNext

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

Definition at line 32267 of file vulkan.hpp.

Referenced by operator==().

◆ sType

StructureType VULKAN_HPP_NAMESPACE::ImportMemoryHostPointerInfoEXT::sType = StructureType::eImportMemoryHostPointerInfoEXT
private

Definition at line 32264 of file vulkan.hpp.

Referenced by operator==().


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