SDL  2.0
VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalSemaphoreInfo Struct Reference

#include <vulkan.hpp>

Public Member Functions

VULKAN_HPP_CONSTEXPR PhysicalDeviceExternalSemaphoreInfo (VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_=VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR PhysicalDeviceExternalSemaphoreInfo (PhysicalDeviceExternalSemaphoreInfo const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 PhysicalDeviceExternalSemaphoreInfo (VkPhysicalDeviceExternalSemaphoreInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
PhysicalDeviceExternalSemaphoreInfooperator= (VkPhysicalDeviceExternalSemaphoreInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
PhysicalDeviceExternalSemaphoreInfooperator= (PhysicalDeviceExternalSemaphoreInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
PhysicalDeviceExternalSemaphoreInfosetPNext (const void *pNext_) VULKAN_HPP_NOEXCEPT
 
PhysicalDeviceExternalSemaphoreInfosetHandleType (VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_) VULKAN_HPP_NOEXCEPT
 
 operator VkPhysicalDeviceExternalSemaphoreInfo const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkPhysicalDeviceExternalSemaphoreInfo & () VULKAN_HPP_NOEXCEPT
 
bool operator== (PhysicalDeviceExternalSemaphoreInfo const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (PhysicalDeviceExternalSemaphoreInfo const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceExternalSemaphoreInfo
 
const voidpNext = {}
 
VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType = VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd
 

Static Public Attributes

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

Detailed Description

Definition at line 51592 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ PhysicalDeviceExternalSemaphoreInfo() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalSemaphoreInfo::PhysicalDeviceExternalSemaphoreInfo ( VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits  handleType_ = VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd)
inline

Definition at line 51598 of file vulkan.hpp.

51599  : handleType( handleType_ )
51600  {}
VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType
Definition: vulkan.hpp:51667

◆ PhysicalDeviceExternalSemaphoreInfo() [2/3]

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

◆ PhysicalDeviceExternalSemaphoreInfo() [3/3]

VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalSemaphoreInfo::PhysicalDeviceExternalSemaphoreInfo ( VkPhysicalDeviceExternalSemaphoreInfo const &  rhs)
inline

Definition at line 51604 of file vulkan.hpp.

51605  {
51606  *this = rhs;
51607  }

Member Function Documentation

◆ operator VkPhysicalDeviceExternalSemaphoreInfo &()

VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalSemaphoreInfo::operator VkPhysicalDeviceExternalSemaphoreInfo & ( )
inline

Definition at line 51640 of file vulkan.hpp.

51641  {
51642  return *reinterpret_cast<VkPhysicalDeviceExternalSemaphoreInfo*>( this );
51643  }

◆ operator VkPhysicalDeviceExternalSemaphoreInfo const &()

VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalSemaphoreInfo::operator VkPhysicalDeviceExternalSemaphoreInfo const & ( ) const
inline

Definition at line 51635 of file vulkan.hpp.

51636  {
51637  return *reinterpret_cast<const VkPhysicalDeviceExternalSemaphoreInfo*>( this );
51638  }

◆ operator!=()

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

Definition at line 51656 of file vulkan.hpp.

51657  {
51658  return !operator==( rhs );
51659  }
bool operator==(PhysicalDeviceExternalSemaphoreInfo const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:51649

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

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

Definition at line 51616 of file vulkan.hpp.

51617  {
51618  memcpy( static_cast<void *>( this ), &rhs, sizeof( PhysicalDeviceExternalSemaphoreInfo ) );
51619  return *this;
51620  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR PhysicalDeviceExternalSemaphoreInfo(VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_=VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:51598

References memcpy.

◆ operator=() [2/2]

PhysicalDeviceExternalSemaphoreInfo& VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalSemaphoreInfo::operator= ( VkPhysicalDeviceExternalSemaphoreInfo const &  rhs)
inline

Definition at line 51610 of file vulkan.hpp.

51611  {
51612  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalSemaphoreInfo const *>( &rhs );
51613  return *this;
51614  }

◆ operator==()

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

Definition at line 51649 of file vulkan.hpp.

51650  {
51651  return ( sType == rhs.sType )
51652  && ( pNext == rhs.pNext )
51653  && ( handleType == rhs.handleType );
51654  }
GLuint64 GLenum handleType
Definition: gl2ext.h:1508
const VULKAN_HPP_NAMESPACE::StructureType sType
Definition: vulkan.hpp:51665

◆ setHandleType()

PhysicalDeviceExternalSemaphoreInfo& VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalSemaphoreInfo::setHandleType ( VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits  handleType_)
inline

Definition at line 51628 of file vulkan.hpp.

51629  {
51630  handleType = handleType_;
51631  return *this;
51632  }

◆ setPNext()

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

Definition at line 51622 of file vulkan.hpp.

51623  {
51624  pNext = pNext_;
51625  return *this;
51626  }

Field Documentation

◆ allowDuplicate

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

Definition at line 51594 of file vulkan.hpp.

◆ handleType

Definition at line 51667 of file vulkan.hpp.

◆ pNext

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

Definition at line 51666 of file vulkan.hpp.

◆ structureType

VULKAN_HPP_CONST_OR_CONSTEXPR StructureType VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalSemaphoreInfo::structureType = StructureType::ePhysicalDeviceExternalSemaphoreInfo
static

Definition at line 51595 of file vulkan.hpp.

◆ sType

const VULKAN_HPP_NAMESPACE::StructureType VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalSemaphoreInfo::sType = StructureType::ePhysicalDeviceExternalSemaphoreInfo

Definition at line 51665 of file vulkan.hpp.


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