Vulkan-Hpp
vk::raii::Semaphore Class Reference

#include <vulkan_raii.hpp>

Public Types

using CType = VkSemaphore
 
using CppType = vk::Semaphore
 

Public Member Functions

 Semaphore (vk::raii::Device const &device, vk::SemaphoreCreateInfo const &createInfo, vk::Optional< const vk::AllocationCallbacks > allocator=nullptr)
 
 Semaphore (vk::raii::Device const &device, VkSemaphore semaphore, vk::Optional< const vk::AllocationCallbacks > allocator=nullptr)
 
 Semaphore (std::nullptr_t)
 
 ~Semaphore ()
 
 Semaphore ()=delete
 
 Semaphore (Semaphore const &)=delete
 
 Semaphore (Semaphore &&rhs) VULKAN_HPP_NOEXCEPT
 
Semaphoreoperator= (Semaphore const &)=delete
 
Semaphoreoperator= (Semaphore &&rhs) VULKAN_HPP_NOEXCEPT
 
vk::Semaphore const & operator* () const VULKAN_HPP_NOEXCEPT
 
 operator vk::Semaphore () const VULKAN_HPP_NOEXCEPT
 
void clear () VULKAN_HPP_NOEXCEPT
 
vk::Semaphore release ()
 
vk::Device getDevice () const
 
vk::raii::DeviceDispatcher const * getDispatcher () const
 
void swap (vk::raii::Semaphore &rhs) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_NODISCARD uint64_t getCounterValue () const
 
VULKAN_HPP_NODISCARD uint64_t getCounterValueKHR () const
 

Static Public Attributes

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

Detailed Description

Definition at line 10634 of file vulkan_raii.hpp.

Member Typedef Documentation

◆ CppType

Definition at line 10638 of file vulkan_raii.hpp.

◆ CType

Definition at line 10637 of file vulkan_raii.hpp.

Constructor & Destructor Documentation

◆ Semaphore() [1/6]

vk::raii::Semaphore::Semaphore ( vk::raii::Device const &  device,
vk::SemaphoreCreateInfo const &  createInfo,
vk::Optional< const vk::AllocationCallbacks allocator = nullptr 
)
inline

Definition at line 10646 of file vulkan_raii.hpp.

◆ Semaphore() [2/6]

vk::raii::Semaphore::Semaphore ( vk::raii::Device const &  device,
VkSemaphore  semaphore,
vk::Optional< const vk::AllocationCallbacks allocator = nullptr 
)
inline

Definition at line 10654 of file vulkan_raii.hpp.

◆ Semaphore() [3/6]

vk::raii::Semaphore::Semaphore ( std::nullptr_t  )
inline

Definition at line 10664 of file vulkan_raii.hpp.

◆ ~Semaphore()

vk::raii::Semaphore::~Semaphore ( )
inline

Definition at line 10666 of file vulkan_raii.hpp.

◆ Semaphore() [4/6]

vk::raii::Semaphore::Semaphore ( )
delete

◆ Semaphore() [5/6]

vk::raii::Semaphore::Semaphore ( Semaphore const &  )
delete

◆ Semaphore() [6/6]

vk::raii::Semaphore::Semaphore ( Semaphore &&  rhs)
inline

Definition at line 10674 of file vulkan_raii.hpp.

Member Function Documentation

◆ clear()

void vk::raii::Semaphore::clear ( )
inline

Definition at line 10706 of file vulkan_raii.hpp.

◆ getCounterValue()

VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE uint64_t vk::raii::Semaphore::getCounterValue ( ) const

Definition at line 14406 of file vulkan_raii.hpp.

◆ getCounterValueKHR()

VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE uint64_t vk::raii::Semaphore::getCounterValueKHR ( ) const

Definition at line 19264 of file vulkan_raii.hpp.

◆ getDevice()

vk::Device vk::raii::Semaphore::getDevice ( ) const
inline

Definition at line 10727 of file vulkan_raii.hpp.

◆ getDispatcher()

vk::raii::DeviceDispatcher const* vk::raii::Semaphore::getDispatcher ( ) const
inline

Definition at line 10732 of file vulkan_raii.hpp.

◆ operator vk::Semaphore()

vk::raii::Semaphore::operator vk::Semaphore ( ) const
inline

Definition at line 10701 of file vulkan_raii.hpp.

◆ operator*()

vk::Semaphore const& vk::raii::Semaphore::operator* ( ) const
inline

Definition at line 10696 of file vulkan_raii.hpp.

◆ operator=() [1/2]

Semaphore& vk::raii::Semaphore::operator= ( Semaphore &&  rhs)
inline

Definition at line 10684 of file vulkan_raii.hpp.

◆ operator=() [2/2]

Semaphore& vk::raii::Semaphore::operator= ( Semaphore const &  )
delete

◆ release()

vk::Semaphore vk::raii::Semaphore::release ( )
inline

Definition at line 10719 of file vulkan_raii.hpp.

◆ swap()

void vk::raii::Semaphore::swap ( vk::raii::Semaphore rhs)
inline

Definition at line 10738 of file vulkan_raii.hpp.

Member Data Documentation

◆ debugReportObjectType

VULKAN_HPP_CONST_OR_CONSTEXPR vk::DebugReportObjectTypeEXT vk::raii::Semaphore::debugReportObjectType
static

◆ objectType

Definition at line 10640 of file vulkan_raii.hpp.


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