SDL  2.0
VULKAN_HPP_NAMESPACE::SemaphoreGetFdInfoKHR Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::SemaphoreGetFdInfoKHR:

Public Member Functions

VULKAN_HPP_CONSTEXPR SemaphoreGetFdInfoKHR (VULKAN_HPP_NAMESPACE::Semaphore semaphore_={}, VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_=VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR SemaphoreGetFdInfoKHR (SemaphoreGetFdInfoKHR const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 SemaphoreGetFdInfoKHR (VkSemaphoreGetFdInfoKHR const &rhs) VULKAN_HPP_NOEXCEPT
 
SemaphoreGetFdInfoKHRoperator= (VkSemaphoreGetFdInfoKHR const &rhs) VULKAN_HPP_NOEXCEPT
 
SemaphoreGetFdInfoKHRoperator= (SemaphoreGetFdInfoKHR const &rhs) VULKAN_HPP_NOEXCEPT
 
SemaphoreGetFdInfoKHRsetPNext (const void *pNext_) VULKAN_HPP_NOEXCEPT
 
SemaphoreGetFdInfoKHRsetSemaphore (VULKAN_HPP_NAMESPACE::Semaphore semaphore_) VULKAN_HPP_NOEXCEPT
 
SemaphoreGetFdInfoKHRsetHandleType (VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_) VULKAN_HPP_NOEXCEPT
 
 operator VkSemaphoreGetFdInfoKHR const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkSemaphoreGetFdInfoKHR & () VULKAN_HPP_NOEXCEPT
 
bool operator== (SemaphoreGetFdInfoKHR const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (SemaphoreGetFdInfoKHR const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSemaphoreGetFdInfoKHR
 
const voidpNext = {}
 
VULKAN_HPP_NAMESPACE::Semaphore semaphore = {}
 
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::eSemaphoreGetFdInfoKHR
 

Detailed Description

Definition at line 46119 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ SemaphoreGetFdInfoKHR() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::SemaphoreGetFdInfoKHR::SemaphoreGetFdInfoKHR ( VULKAN_HPP_NAMESPACE::Semaphore  semaphore_ = {},
VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits  handleType_ = VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd 
)
inline

Definition at line 46125 of file vulkan.hpp.

46126  : semaphore( semaphore_ ), handleType( handleType_ )
46127  {}
VULKAN_HPP_NAMESPACE::Semaphore semaphore
Definition: vulkan.hpp:46201
VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType
Definition: vulkan.hpp:46202
#define VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:179

◆ SemaphoreGetFdInfoKHR() [2/3]

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

◆ SemaphoreGetFdInfoKHR() [3/3]

VULKAN_HPP_NAMESPACE::SemaphoreGetFdInfoKHR::SemaphoreGetFdInfoKHR ( VkSemaphoreGetFdInfoKHR const &  rhs)
inline

Definition at line 46131 of file vulkan.hpp.

46132  {
46133  *this = rhs;
46134  }

Member Function Documentation

◆ operator VkSemaphoreGetFdInfoKHR &()

VULKAN_HPP_NAMESPACE::SemaphoreGetFdInfoKHR::operator VkSemaphoreGetFdInfoKHR & ( )
inline

Definition at line 46173 of file vulkan.hpp.

46174  {
46175  return *reinterpret_cast<VkSemaphoreGetFdInfoKHR*>( this );
46176  }

◆ operator VkSemaphoreGetFdInfoKHR const &()

VULKAN_HPP_NAMESPACE::SemaphoreGetFdInfoKHR::operator VkSemaphoreGetFdInfoKHR const & ( ) const
inline

Definition at line 46168 of file vulkan.hpp.

46169  {
46170  return *reinterpret_cast<const VkSemaphoreGetFdInfoKHR*>( this );
46171  }

◆ operator!=()

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

Definition at line 46190 of file vulkan.hpp.

46191  {
46192  return !operator==( rhs );
46193  }
bool operator==(SemaphoreGetFdInfoKHR const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:46182

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

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

Definition at line 46143 of file vulkan.hpp.

46144  {
46145  memcpy( static_cast<void *>( this ), &rhs, sizeof( SemaphoreGetFdInfoKHR ) );
46146  return *this;
46147  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR SemaphoreGetFdInfoKHR(VULKAN_HPP_NAMESPACE::Semaphore semaphore_={}, VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_=VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:46125

References memcpy.

◆ operator=() [2/2]

SemaphoreGetFdInfoKHR& VULKAN_HPP_NAMESPACE::SemaphoreGetFdInfoKHR::operator= ( VkSemaphoreGetFdInfoKHR const &  rhs)
inline

Definition at line 46137 of file vulkan.hpp.

46138  {
46139  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::SemaphoreGetFdInfoKHR const *>( &rhs );
46140  return *this;
46141  }

◆ operator==()

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

Definition at line 46182 of file vulkan.hpp.

46183  {
46184  return ( sType == rhs.sType )
46185  && ( pNext == rhs.pNext )
46186  && ( semaphore == rhs.semaphore )
46187  && ( handleType == rhs.handleType );
46188  }
GLuint64 GLenum handleType
Definition: gl2ext.h:1508
const VULKAN_HPP_NAMESPACE::StructureType sType
Definition: vulkan.hpp:46199

◆ setHandleType()

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

Definition at line 46161 of file vulkan.hpp.

46162  {
46163  handleType = handleType_;
46164  return *this;
46165  }

◆ setPNext()

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

Definition at line 46149 of file vulkan.hpp.

46150  {
46151  pNext = pNext_;
46152  return *this;
46153  }

◆ setSemaphore()

SemaphoreGetFdInfoKHR& VULKAN_HPP_NAMESPACE::SemaphoreGetFdInfoKHR::setSemaphore ( VULKAN_HPP_NAMESPACE::Semaphore  semaphore_)
inline

Definition at line 46155 of file vulkan.hpp.

46156  {
46157  semaphore = semaphore_;
46158  return *this;
46159  }

Field Documentation

◆ allowDuplicate

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

Definition at line 46121 of file vulkan.hpp.

◆ handleType

◆ pNext

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

Definition at line 46200 of file vulkan.hpp.

◆ semaphore

VULKAN_HPP_NAMESPACE::Semaphore VULKAN_HPP_NAMESPACE::SemaphoreGetFdInfoKHR::semaphore = {}

Definition at line 46201 of file vulkan.hpp.

◆ structureType

VULKAN_HPP_CONST_OR_CONSTEXPR StructureType VULKAN_HPP_NAMESPACE::SemaphoreGetFdInfoKHR::structureType = StructureType::eSemaphoreGetFdInfoKHR
static

Definition at line 46122 of file vulkan.hpp.

◆ sType

const VULKAN_HPP_NAMESPACE::StructureType VULKAN_HPP_NAMESPACE::SemaphoreGetFdInfoKHR::sType = StructureType::eSemaphoreGetFdInfoKHR

Definition at line 46199 of file vulkan.hpp.


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