SDL  2.0
VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalSemaphoreInfo Struct Reference

#include <vulkan.hpp>

Public Member Functions

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

Data Fields

const voidpNext = nullptr
 
ExternalSemaphoreHandleTypeFlagBits handleType
 

Private Attributes

StructureType sType = StructureType::ePhysicalDeviceExternalSemaphoreInfo
 

Detailed Description

Definition at line 32443 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ PhysicalDeviceExternalSemaphoreInfo() [1/2]

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

Definition at line 32445 of file vulkan.hpp.

32446  : handleType( handleType_ )
32447  {
32448  }

◆ PhysicalDeviceExternalSemaphoreInfo() [2/2]

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

Definition at line 32450 of file vulkan.hpp.

32451  {
32452  memcpy( this, &rhs, sizeof( PhysicalDeviceExternalSemaphoreInfo ) );
32453  }

References memcpy.

Member Function Documentation

◆ operator VkPhysicalDeviceExternalSemaphoreInfo &()

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

Definition at line 32477 of file vulkan.hpp.

32478  {
32479  return *reinterpret_cast<VkPhysicalDeviceExternalSemaphoreInfo*>(this);
32480  }

◆ operator VkPhysicalDeviceExternalSemaphoreInfo const &()

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

Definition at line 32472 of file vulkan.hpp.

32473  {
32474  return *reinterpret_cast<const VkPhysicalDeviceExternalSemaphoreInfo*>(this);
32475  }

◆ operator!=()

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

Definition at line 32489 of file vulkan.hpp.

32490  {
32491  return !operator==( rhs );
32492  }

References operator==().

◆ operator=()

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

Definition at line 32455 of file vulkan.hpp.

32456  {
32457  memcpy( this, &rhs, sizeof( PhysicalDeviceExternalSemaphoreInfo ) );
32458  return *this;
32459  }

References memcpy.

◆ operator==()

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

Definition at line 32482 of file vulkan.hpp.

32483  {
32484  return ( sType == rhs.sType )
32485  && ( pNext == rhs.pNext )
32486  && ( handleType == rhs.handleType );
32487  }

References handleType, pNext, and sType.

Referenced by operator!=().

◆ setHandleType()

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

Definition at line 32466 of file vulkan.hpp.

32467  {
32468  handleType = handleType_;
32469  return *this;
32470  }

◆ setPNext()

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

Definition at line 32460 of file vulkan.hpp.

32461  {
32462  pNext = pNext_;
32463  return *this;
32464  }

References pNext.

Field Documentation

◆ handleType

ExternalSemaphoreHandleTypeFlagBits VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalSemaphoreInfo::handleType

Definition at line 32499 of file vulkan.hpp.

Referenced by operator==().

◆ pNext

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

Definition at line 32498 of file vulkan.hpp.

Referenced by operator==(), and setPNext().

◆ sType

StructureType VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalSemaphoreInfo::sType = StructureType::ePhysicalDeviceExternalSemaphoreInfo
private

Definition at line 32495 of file vulkan.hpp.

Referenced by operator==().


The documentation for this struct was generated from the following file:
VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalSemaphoreInfo::handleType
ExternalSemaphoreHandleTypeFlagBits handleType
Definition: vulkan.hpp:32499
VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalSemaphoreInfo::sType
StructureType sType
Definition: vulkan.hpp:32495
memcpy
#define memcpy
Definition: SDL_malloc.c:630
VkPhysicalDeviceExternalSemaphoreInfo
Definition: vulkan_core.h:4455
VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalSemaphoreInfo::PhysicalDeviceExternalSemaphoreInfo
PhysicalDeviceExternalSemaphoreInfo(ExternalSemaphoreHandleTypeFlagBits handleType_=ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd)
Definition: vulkan.hpp:32445
VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalSemaphoreInfo::operator==
bool operator==(PhysicalDeviceExternalSemaphoreInfo const &rhs) const
Definition: vulkan.hpp:32482
VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalSemaphoreInfo::pNext
const void * pNext
Definition: vulkan.hpp:32498
handleType
GLuint64 GLenum handleType
Definition: gl2ext.h:1508