SDL  2.0
VULKAN_HPP_NAMESPACE::Fence Class Reference

#include <vulkan.hpp>

Public Types

using CType = VkFence
 

Public Member Functions

VULKAN_HPP_CONSTEXPR Fence () VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR Fence (std::nullptr_t) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_TYPESAFE_EXPLICIT Fence (VkFence fence) VULKAN_HPP_NOEXCEPT
 
Fenceoperator= (std::nullptr_t) VULKAN_HPP_NOEXCEPT
 
bool operator== (Fence const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (Fence const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator< (Fence const &rhs) const VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_TYPESAFE_EXPLICIT operator VkFence () 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::eFence
 
static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eFence
 

Private Attributes

VkFence m_fence
 

Detailed Description

Definition at line 17113 of file vulkan.hpp.

Member Typedef Documentation

◆ CType

Definition at line 17116 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ Fence() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::Fence::Fence ( )
inline

Definition at line 17122 of file vulkan.hpp.

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

◆ Fence() [2/3]

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

Definition at line 17126 of file vulkan.hpp.

17128  {}

◆ Fence() [3/3]

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

Definition at line 17130 of file vulkan.hpp.

17131  : m_fence( fence )
17132  {}

Member Function Documentation

◆ operator bool()

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

Definition at line 17172 of file vulkan.hpp.

17173  {
17174  return m_fence != VK_NULL_HANDLE;
17175  }

References VK_NULL_HANDLE.

◆ operator VkFence()

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

Definition at line 17167 of file vulkan.hpp.

17168  {
17169  return m_fence;
17170  }

◆ operator!()

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

Definition at line 17177 of file vulkan.hpp.

17178  {
17179  return m_fence == VK_NULL_HANDLE;
17180  }

References VK_NULL_HANDLE.

◆ operator!=()

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

Definition at line 17156 of file vulkan.hpp.

17157  {
17158  return m_fence != rhs.m_fence;
17159  }

◆ operator<()

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

Definition at line 17161 of file vulkan.hpp.

17162  {
17163  return m_fence < rhs.m_fence;
17164  }

◆ operator=()

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

Definition at line 17142 of file vulkan.hpp.

17143  {
17145  return *this;
17146  }

References VK_NULL_HANDLE.

◆ operator==()

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

Definition at line 17151 of file vulkan.hpp.

17152  {
17153  return m_fence == rhs.m_fence;
17154  }

Field Documentation

◆ debugReportObjectType

◆ m_fence

VkFence VULKAN_HPP_NAMESPACE::Fence::m_fence
private

Definition at line 17183 of file vulkan.hpp.

◆ objectType

Definition at line 17118 of file vulkan.hpp.


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