SDL  2.0
VULKAN_HPP_NAMESPACE::ImportMemoryFdInfoKHR Struct Reference

#include <vulkan.hpp>

Public Member Functions

VULKAN_HPP_CONSTEXPR ImportMemoryFdInfoKHR (VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_=VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd, int fd_={}) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR ImportMemoryFdInfoKHR (ImportMemoryFdInfoKHR const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 ImportMemoryFdInfoKHR (VkImportMemoryFdInfoKHR const &rhs) VULKAN_HPP_NOEXCEPT
 
ImportMemoryFdInfoKHRoperator= (VkImportMemoryFdInfoKHR const &rhs) VULKAN_HPP_NOEXCEPT
 
ImportMemoryFdInfoKHRoperator= (ImportMemoryFdInfoKHR const &rhs) VULKAN_HPP_NOEXCEPT
 
ImportMemoryFdInfoKHRsetPNext (const void *pNext_) VULKAN_HPP_NOEXCEPT
 
ImportMemoryFdInfoKHRsetHandleType (VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_) VULKAN_HPP_NOEXCEPT
 
ImportMemoryFdInfoKHRsetFd (int fd_) VULKAN_HPP_NOEXCEPT
 
 operator VkImportMemoryFdInfoKHR const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkImportMemoryFdInfoKHR & () VULKAN_HPP_NOEXCEPT
 
bool operator== (ImportMemoryFdInfoKHR const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (ImportMemoryFdInfoKHR const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImportMemoryFdInfoKHR
 
const voidpNext = {}
 
VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType = VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd
 
int fd = {}
 

Static Public Attributes

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

Detailed Description

Definition at line 59767 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ ImportMemoryFdInfoKHR() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::ImportMemoryFdInfoKHR::ImportMemoryFdInfoKHR ( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits  handleType_ = VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd,
int  fd_ = {} 
)
inline

Definition at line 59773 of file vulkan.hpp.

59774  : handleType( handleType_ ), fd( fd_ )
59775  {}
VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType
Definition: vulkan.hpp:59849
#define VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:179

◆ ImportMemoryFdInfoKHR() [2/3]

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

◆ ImportMemoryFdInfoKHR() [3/3]

VULKAN_HPP_NAMESPACE::ImportMemoryFdInfoKHR::ImportMemoryFdInfoKHR ( VkImportMemoryFdInfoKHR const &  rhs)
inline

Definition at line 59779 of file vulkan.hpp.

59780  {
59781  *this = rhs;
59782  }

Member Function Documentation

◆ operator VkImportMemoryFdInfoKHR &()

VULKAN_HPP_NAMESPACE::ImportMemoryFdInfoKHR::operator VkImportMemoryFdInfoKHR & ( )
inline

Definition at line 59821 of file vulkan.hpp.

59822  {
59823  return *reinterpret_cast<VkImportMemoryFdInfoKHR*>( this );
59824  }

◆ operator VkImportMemoryFdInfoKHR const &()

VULKAN_HPP_NAMESPACE::ImportMemoryFdInfoKHR::operator VkImportMemoryFdInfoKHR const & ( ) const
inline

Definition at line 59816 of file vulkan.hpp.

59817  {
59818  return *reinterpret_cast<const VkImportMemoryFdInfoKHR*>( this );
59819  }

◆ operator!=()

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

Definition at line 59838 of file vulkan.hpp.

59839  {
59840  return !operator==( rhs );
59841  }
bool operator==(ImportMemoryFdInfoKHR const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:59830

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

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

Definition at line 59791 of file vulkan.hpp.

59792  {
59793  memcpy( static_cast<void *>( this ), &rhs, sizeof( ImportMemoryFdInfoKHR ) );
59794  return *this;
59795  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR ImportMemoryFdInfoKHR(VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_=VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd, int fd_={}) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:59773

References memcpy.

◆ operator=() [2/2]

ImportMemoryFdInfoKHR& VULKAN_HPP_NAMESPACE::ImportMemoryFdInfoKHR::operator= ( VkImportMemoryFdInfoKHR const &  rhs)
inline

Definition at line 59785 of file vulkan.hpp.

59786  {
59787  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::ImportMemoryFdInfoKHR const *>( &rhs );
59788  return *this;
59789  }

◆ operator==()

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

Definition at line 59830 of file vulkan.hpp.

59831  {
59832  return ( sType == rhs.sType )
59833  && ( pNext == rhs.pNext )
59834  && ( handleType == rhs.handleType )
59835  && ( fd == rhs.fd );
59836  }
GLuint64 GLenum GLint fd
Definition: gl2ext.h:1508
GLuint64 GLenum handleType
Definition: gl2ext.h:1508
const VULKAN_HPP_NAMESPACE::StructureType sType
Definition: vulkan.hpp:59847

◆ setFd()

ImportMemoryFdInfoKHR& VULKAN_HPP_NAMESPACE::ImportMemoryFdInfoKHR::setFd ( int  fd_)
inline

Definition at line 59809 of file vulkan.hpp.

59810  {
59811  fd = fd_;
59812  return *this;
59813  }

◆ setHandleType()

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

Definition at line 59803 of file vulkan.hpp.

59804  {
59805  handleType = handleType_;
59806  return *this;
59807  }

◆ setPNext()

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

Definition at line 59797 of file vulkan.hpp.

59798  {
59799  pNext = pNext_;
59800  return *this;
59801  }

Field Documentation

◆ allowDuplicate

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

Definition at line 59769 of file vulkan.hpp.

◆ fd

int VULKAN_HPP_NAMESPACE::ImportMemoryFdInfoKHR::fd = {}

Definition at line 59850 of file vulkan.hpp.

◆ handleType

Definition at line 59849 of file vulkan.hpp.

◆ pNext

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

Definition at line 59848 of file vulkan.hpp.

◆ structureType

VULKAN_HPP_CONST_OR_CONSTEXPR StructureType VULKAN_HPP_NAMESPACE::ImportMemoryFdInfoKHR::structureType = StructureType::eImportMemoryFdInfoKHR
static

Definition at line 59770 of file vulkan.hpp.

◆ sType

const VULKAN_HPP_NAMESPACE::StructureType VULKAN_HPP_NAMESPACE::ImportMemoryFdInfoKHR::sType = StructureType::eImportMemoryFdInfoKHR

Definition at line 59847 of file vulkan.hpp.


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