SDL 2.0
VULKAN_HPP_NAMESPACE::Fence Class Reference

#include <vulkan.hpp>

Public Member Functions

VULKAN_HPP_CONSTEXPR Fence ()
 
VULKAN_HPP_CONSTEXPR Fence (std::nullptr_t)
 
VULKAN_HPP_TYPESAFE_EXPLICIT Fence (VkFence fence)
 
Fenceoperator= (std::nullptr_t)
 
bool operator== (Fence const &rhs) const
 
bool operator!= (Fence const &rhs) const
 
bool operator< (Fence const &rhs) const
 
VULKAN_HPP_TYPESAFE_EXPLICIT operator VkFence () const
 
 operator bool () const
 
bool operator! () const
 

Private Attributes

VkFence m_fence
 

Detailed Description

Definition at line 3815 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ Fence() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::Fence::Fence ( )
inline

Definition at line 3818 of file vulkan.hpp.

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

◆ Fence() [2/3]

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

Definition at line 3822 of file vulkan.hpp.

3824 {}

◆ Fence() [3/3]

VULKAN_HPP_TYPESAFE_EXPLICIT VULKAN_HPP_NAMESPACE::Fence::Fence ( VkFence  fence)
inline

Definition at line 3826 of file vulkan.hpp.

3827 : m_fence( fence )
3828 {}

Member Function Documentation

◆ operator bool()

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

Definition at line 3866 of file vulkan.hpp.

3867 {
3868 return m_fence != VK_NULL_HANDLE;
3869 }

References m_fence, and VK_NULL_HANDLE.

◆ operator VkFence()

VULKAN_HPP_TYPESAFE_EXPLICIT VULKAN_HPP_NAMESPACE::Fence::operator VkFence ( ) const
inline

Definition at line 3861 of file vulkan.hpp.

3862 {
3863 return m_fence;
3864 }

References m_fence.

◆ operator!()

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

Definition at line 3871 of file vulkan.hpp.

3872 {
3873 return m_fence == VK_NULL_HANDLE;
3874 }

References m_fence, and VK_NULL_HANDLE.

◆ operator!=()

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

Definition at line 3849 of file vulkan.hpp.

3850 {
3851 return m_fence != rhs.m_fence;
3852 }

References m_fence.

◆ operator<()

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

Definition at line 3854 of file vulkan.hpp.

3855 {
3856 return m_fence < rhs.m_fence;
3857 }

References m_fence.

◆ operator=()

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

Definition at line 3838 of file vulkan.hpp.

3839 {
3841 return *this;
3842 }

References m_fence, and VK_NULL_HANDLE.

◆ operator==()

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

Definition at line 3844 of file vulkan.hpp.

3845 {
3846 return m_fence == rhs.m_fence;
3847 }

References m_fence.

Field Documentation

◆ m_fence

VkFence VULKAN_HPP_NAMESPACE::Fence::m_fence
private

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