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 {}

◆ 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.

3934 {
3935 return m_semaphore != VK_NULL_HANDLE;
3936 }

References m_semaphore, and VK_NULL_HANDLE.

◆ 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 }

References m_semaphore.

◆ operator!()

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

Definition at line 3938 of file vulkan.hpp.

3939 {
3940 return m_semaphore == VK_NULL_HANDLE;
3941 }

References m_semaphore, and VK_NULL_HANDLE.

◆ operator!=()

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

Definition at line 3916 of file vulkan.hpp.

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

References m_semaphore.

◆ operator<()

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

Definition at line 3921 of file vulkan.hpp.

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

References m_semaphore.

◆ operator=()

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

Definition at line 3905 of file vulkan.hpp.

3906 {
3908 return *this;
3909 }

References m_semaphore, and VK_NULL_HANDLE.

◆ operator==()

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

Definition at line 3911 of file vulkan.hpp.

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

References m_semaphore.

Field Documentation

◆ m_semaphore

VkSemaphore VULKAN_HPP_NAMESPACE::Semaphore::m_semaphore
private

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