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

#include <vulkan_raii.hpp>

Public Types

using CType = VkDeviceMemory
 
using CppType = vk::DeviceMemory
 

Public Member Functions

 DeviceMemory (vk::raii::Device const &device, vk::MemoryAllocateInfo const &allocateInfo, vk::Optional< const vk::AllocationCallbacks > allocator=nullptr)
 
 DeviceMemory (vk::raii::Device const &device, VkDeviceMemory memory, vk::Optional< const vk::AllocationCallbacks > allocator=nullptr)
 
 DeviceMemory (std::nullptr_t)
 
 ~DeviceMemory ()
 
 DeviceMemory ()=delete
 
 DeviceMemory (DeviceMemory const &)=delete
 
 DeviceMemory (DeviceMemory &&rhs) VULKAN_HPP_NOEXCEPT
 
DeviceMemoryoperator= (DeviceMemory const &)=delete
 
DeviceMemoryoperator= (DeviceMemory &&rhs) VULKAN_HPP_NOEXCEPT
 
vk::DeviceMemory const & operator* () const VULKAN_HPP_NOEXCEPT
 
 operator vk::DeviceMemory () const VULKAN_HPP_NOEXCEPT
 
void clear () VULKAN_HPP_NOEXCEPT
 
vk::DeviceMemory release ()
 
vk::Device getDevice () const
 
vk::raii::DeviceDispatcher const * getDispatcher () const
 
void swap (vk::raii::DeviceMemory &rhs) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_NODISCARD void * mapMemory (vk::DeviceSize offset, vk::DeviceSize size, vk::MemoryMapFlags flags VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT) const
 
void unmapMemory () const VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_NODISCARD vk::DeviceSize getCommitment () const VULKAN_HPP_NOEXCEPT
 
void setPriorityEXT (float priority) const VULKAN_HPP_NOEXCEPT
 

Static Public Attributes

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

Detailed Description

Definition at line 7760 of file vulkan_raii.hpp.

Member Typedef Documentation

◆ CppType

◆ CType

Constructor & Destructor Documentation

◆ DeviceMemory() [1/6]

vk::raii::DeviceMemory::DeviceMemory ( vk::raii::Device const &  device,
vk::MemoryAllocateInfo const &  allocateInfo,
vk::Optional< const vk::AllocationCallbacks allocator = nullptr 
)
inline

Definition at line 7772 of file vulkan_raii.hpp.

◆ DeviceMemory() [2/6]

vk::raii::DeviceMemory::DeviceMemory ( vk::raii::Device const &  device,
VkDeviceMemory  memory,
vk::Optional< const vk::AllocationCallbacks allocator = nullptr 
)
inline

Definition at line 7780 of file vulkan_raii.hpp.

◆ DeviceMemory() [3/6]

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

Definition at line 7790 of file vulkan_raii.hpp.

◆ ~DeviceMemory()

vk::raii::DeviceMemory::~DeviceMemory ( )
inline

Definition at line 7792 of file vulkan_raii.hpp.

◆ DeviceMemory() [4/6]

vk::raii::DeviceMemory::DeviceMemory ( )
delete

◆ DeviceMemory() [5/6]

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

◆ DeviceMemory() [6/6]

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

Definition at line 7800 of file vulkan_raii.hpp.

Member Function Documentation

◆ clear()

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

Definition at line 7832 of file vulkan_raii.hpp.

◆ getCommitment()

VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE vk::DeviceSize vk::raii::DeviceMemory::getCommitment ( ) const

Definition at line 12289 of file vulkan_raii.hpp.

◆ getDevice()

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

Definition at line 7853 of file vulkan_raii.hpp.

◆ getDispatcher()

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

Definition at line 7858 of file vulkan_raii.hpp.

◆ mapMemory()

VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE void * vk::raii::DeviceMemory::mapMemory ( vk::DeviceSize  offset,
vk::DeviceSize  size,
vk::MemoryMapFlags flags  VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT 
) const

Definition at line 12244 of file vulkan_raii.hpp.

◆ operator vk::DeviceMemory()

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

Definition at line 7827 of file vulkan_raii.hpp.

◆ operator*()

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

Definition at line 7822 of file vulkan_raii.hpp.

◆ operator=() [1/2]

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

Definition at line 7810 of file vulkan_raii.hpp.

◆ operator=() [2/2]

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

◆ release()

vk::DeviceMemory vk::raii::DeviceMemory::release ( )
inline

Definition at line 7845 of file vulkan_raii.hpp.

◆ setPriorityEXT()

VULKAN_HPP_INLINE void vk::raii::DeviceMemory::setPriorityEXT ( float  priority) const

Definition at line 21695 of file vulkan_raii.hpp.

◆ swap()

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

Definition at line 7864 of file vulkan_raii.hpp.

◆ unmapMemory()

VULKAN_HPP_INLINE void vk::raii::DeviceMemory::unmapMemory ( ) const

Definition at line 12262 of file vulkan_raii.hpp.

Member Data Documentation

◆ debugReportObjectType

VULKAN_HPP_CONST_OR_CONSTEXPR vk::DebugReportObjectTypeEXT vk::raii::DeviceMemory::debugReportObjectType
static

◆ objectType

VULKAN_HPP_CONST_OR_CONSTEXPR vk::ObjectType vk::raii::DeviceMemory::objectType = vk::ObjectType::eDeviceMemory
static

Definition at line 7766 of file vulkan_raii.hpp.


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