Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::DeviceMemoryRangeVk Struct Reference

This structure is returned by IDeviceMemoryVk::GetRange() More...

#include <DeviceMemoryVk.h>

Public Attributes

VkDeviceMemory Handle = VK_NULL_HANDLE
 Vulkan memory object.
 
VkDeviceSize Offset = 0
 Offset to the start of the memory range, in bytes.
 
VkDeviceSize Size = 0
 Memory range size in bytes.
 

Detailed Description

This structure is returned by IDeviceMemoryVk::GetRange()

Member Data Documentation

◆ Size

VkDeviceSize Diligent::DeviceMemoryRangeVk::Size = 0

Memory range size in bytes.

When IDeviceMemoryVk::GetRange() succeeds, the size is equal to the Size argument that was given to the function, and zero otherwise.