SDL  2.0
VULKAN_HPP_NAMESPACE::Semaphore Class Reference

#include <vulkan.hpp>

Public Types

using CType = VkSemaphore
 

Public Member Functions

VULKAN_HPP_CONSTEXPR Semaphore () VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR Semaphore (std::nullptr_t) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_TYPESAFE_EXPLICIT Semaphore (VkSemaphore semaphore) VULKAN_HPP_NOEXCEPT
 
Semaphoreoperator= (std::nullptr_t) VULKAN_HPP_NOEXCEPT
 
bool operator== (Semaphore const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (Semaphore const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator< (Semaphore const &rhs) const VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_TYPESAFE_EXPLICIT operator VkSemaphore () const VULKAN_HPP_NOEXCEPT
 
 operator bool () const VULKAN_HPP_NOEXCEPT
 
bool operator! () const VULKAN_HPP_NOEXCEPT
 

Static Public Attributes

static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eSemaphore
 
static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eSemaphore
 

Private Attributes

VkSemaphore m_semaphore
 

Detailed Description

Definition at line 17013 of file vulkan.hpp.

Member Typedef Documentation

◆ CType

Definition at line 17016 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ Semaphore() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::Semaphore::Semaphore ( )
inline

Definition at line 17022 of file vulkan.hpp.

17024  {}
#define VK_NULL_HANDLE
Definition: vulkan_core.h:55

◆ Semaphore() [2/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::Semaphore::Semaphore ( std::nullptr_t  )
inline

Definition at line 17026 of file vulkan.hpp.

17028  {}

◆ Semaphore() [3/3]

VULKAN_HPP_TYPESAFE_EXPLICIT VULKAN_HPP_NAMESPACE::Semaphore::Semaphore ( VkSemaphore  semaphore)
inline

Definition at line 17030 of file vulkan.hpp.

17031  : m_semaphore( semaphore )
17032  {}

Member Function Documentation

◆ operator bool()

VULKAN_HPP_NAMESPACE::Semaphore::operator bool ( ) const
inlineexplicit

Definition at line 17072 of file vulkan.hpp.

17073  {
17074  return m_semaphore != VK_NULL_HANDLE;
17075  }

References VK_NULL_HANDLE.

◆ operator VkSemaphore()

VULKAN_HPP_TYPESAFE_EXPLICIT VULKAN_HPP_NAMESPACE::Semaphore::operator VkSemaphore ( ) const
inline

Definition at line 17067 of file vulkan.hpp.

17068  {
17069  return m_semaphore;
17070  }

◆ operator!()

bool VULKAN_HPP_NAMESPACE::Semaphore::operator! ( ) const
inline

Definition at line 17077 of file vulkan.hpp.

17078  {
17079  return m_semaphore == VK_NULL_HANDLE;
17080  }

References VK_NULL_HANDLE.

◆ operator!=()

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

Definition at line 17056 of file vulkan.hpp.

17057  {
17058  return m_semaphore != rhs.m_semaphore;
17059  }

◆ operator<()

bool VULKAN_HPP_NAMESPACE::Semaphore::operator< ( Semaphore const &  rhs) const
inline

Definition at line 17061 of file vulkan.hpp.

17062  {
17063  return m_semaphore < rhs.m_semaphore;
17064  }

◆ operator=()

Semaphore& VULKAN_HPP_NAMESPACE::Semaphore::operator= ( std::nullptr_t  )
inline

Definition at line 17042 of file vulkan.hpp.

17043  {
17045  return *this;
17046  }

References VK_NULL_HANDLE.

◆ operator==()

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

Definition at line 17051 of file vulkan.hpp.

17052  {
17053  return m_semaphore == rhs.m_semaphore;
17054  }

Field Documentation

◆ debugReportObjectType

◆ m_semaphore

VkSemaphore VULKAN_HPP_NAMESPACE::Semaphore::m_semaphore
private

Definition at line 17083 of file vulkan.hpp.

◆ objectType

Definition at line 17018 of file vulkan.hpp.


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