SDL  2.0
VULKAN_HPP_NAMESPACE::DeviceMemory Class Reference

#include <vulkan.hpp>

Public Types

using CType = VkDeviceMemory
 

Public Member Functions

VULKAN_HPP_CONSTEXPR DeviceMemory () VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR DeviceMemory (std::nullptr_t) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_TYPESAFE_EXPLICIT DeviceMemory (VkDeviceMemory deviceMemory) VULKAN_HPP_NOEXCEPT
 
DeviceMemoryoperator= (std::nullptr_t) VULKAN_HPP_NOEXCEPT
 
bool operator== (DeviceMemory const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (DeviceMemory const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator< (DeviceMemory const &rhs) const VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDeviceMemory () 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::eDeviceMemory
 
static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eDeviceMemory
 

Private Attributes

VkDeviceMemory m_deviceMemory
 

Detailed Description

Definition at line 19250 of file vulkan.hpp.

Member Typedef Documentation

◆ CType

Definition at line 19253 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ DeviceMemory() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::DeviceMemory::DeviceMemory ( )
inline

Definition at line 19259 of file vulkan.hpp.

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

◆ DeviceMemory() [2/3]

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

Definition at line 19263 of file vulkan.hpp.

19265  {}

◆ DeviceMemory() [3/3]

VULKAN_HPP_TYPESAFE_EXPLICIT VULKAN_HPP_NAMESPACE::DeviceMemory::DeviceMemory ( VkDeviceMemory  deviceMemory)
inline

Definition at line 19267 of file vulkan.hpp.

19268  : m_deviceMemory( deviceMemory )
19269  {}

Member Function Documentation

◆ operator bool()

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

Definition at line 19309 of file vulkan.hpp.

19310  {
19311  return m_deviceMemory != VK_NULL_HANDLE;
19312  }

References VK_NULL_HANDLE.

◆ operator VkDeviceMemory()

VULKAN_HPP_TYPESAFE_EXPLICIT VULKAN_HPP_NAMESPACE::DeviceMemory::operator VkDeviceMemory ( ) const
inline

Definition at line 19304 of file vulkan.hpp.

19305  {
19306  return m_deviceMemory;
19307  }

◆ operator!()

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

Definition at line 19314 of file vulkan.hpp.

19315  {
19316  return m_deviceMemory == VK_NULL_HANDLE;
19317  }

References VK_NULL_HANDLE.

◆ operator!=()

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

Definition at line 19293 of file vulkan.hpp.

19294  {
19295  return m_deviceMemory != rhs.m_deviceMemory;
19296  }

◆ operator<()

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

Definition at line 19298 of file vulkan.hpp.

19299  {
19300  return m_deviceMemory < rhs.m_deviceMemory;
19301  }

◆ operator=()

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

Definition at line 19279 of file vulkan.hpp.

19280  {
19282  return *this;
19283  }

References VK_NULL_HANDLE.

◆ operator==()

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

Definition at line 19288 of file vulkan.hpp.

19289  {
19290  return m_deviceMemory == rhs.m_deviceMemory;
19291  }

Field Documentation

◆ debugReportObjectType

Definition at line 19256 of file vulkan.hpp.

◆ m_deviceMemory

VkDeviceMemory VULKAN_HPP_NAMESPACE::DeviceMemory::m_deviceMemory
private

Definition at line 19320 of file vulkan.hpp.

◆ objectType

Definition at line 19255 of file vulkan.hpp.


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