SDL  2.0
VULKAN_HPP_NAMESPACE::Semaphore Class Reference

#include <vulkan.hpp>

Public Member Functions

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

Private Attributes

VkSemaphore m_semaphore
 

Detailed Description

Definition at line 3882 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ Semaphore() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::Semaphore::Semaphore ( )
inline

Definition at line 3885 of file vulkan.hpp.

3887  {}
#define VK_NULL_HANDLE
Definition: vulkan_core.h:49

◆ Semaphore() [2/3]

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

Definition at line 3889 of file vulkan.hpp.

3891  {}
#define VK_NULL_HANDLE
Definition: vulkan_core.h:49

◆ Semaphore() [3/3]

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

Definition at line 3893 of file vulkan.hpp.

3894  : m_semaphore( semaphore )
3895  {}

Member Function Documentation

◆ operator bool()

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

Definition at line 3933 of file vulkan.hpp.

References VK_NULL_HANDLE.

3934  {
3935  return m_semaphore != VK_NULL_HANDLE;
3936  }
#define VK_NULL_HANDLE
Definition: vulkan_core.h:49

◆ operator VkSemaphore()

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

Definition at line 3928 of file vulkan.hpp.

3929  {
3930  return m_semaphore;
3931  }

◆ operator!()

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

Definition at line 3938 of file vulkan.hpp.

References VK_NULL_HANDLE.

3939  {
3940  return m_semaphore == VK_NULL_HANDLE;
3941  }
#define VK_NULL_HANDLE
Definition: vulkan_core.h:49

◆ operator!=()

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

Definition at line 3916 of file vulkan.hpp.

References m_semaphore.

3917  {
3918  return m_semaphore != rhs.m_semaphore;
3919  }

◆ operator<()

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

Definition at line 3921 of file vulkan.hpp.

References m_semaphore.

3922  {
3923  return m_semaphore < rhs.m_semaphore;
3924  }

◆ operator=()

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

Definition at line 3905 of file vulkan.hpp.

References VK_NULL_HANDLE.

3906  {
3908  return *this;
3909  }
#define VK_NULL_HANDLE
Definition: vulkan_core.h:49

◆ operator==()

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

Definition at line 3911 of file vulkan.hpp.

References m_semaphore.

3912  {
3913  return m_semaphore == rhs.m_semaphore;
3914  }

Field Documentation

◆ m_semaphore

VkSemaphore VULKAN_HPP_NAMESPACE::Semaphore::m_semaphore
private

Definition at line 3944 of file vulkan.hpp.

Referenced by operator!=(), operator<(), and operator==().


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