VPP  0.8
A high-level modern C++ API for Vulkan
vpp::DeviceMemory Class Reference
Inheritance diagram for vpp::DeviceMemory:
vpp::MappableDeviceMemory

Public Types

enum  EProperties {
  DEVICE_LOCAL = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, HOST_VISIBLE = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT, HOST_COHERENT = VK_MEMORY_PROPERTY_HOST_COHERENT_BIT, HOST_CACHED = VK_MEMORY_PROPERTY_HOST_CACHED_BIT,
  LAZILY_ALLOCATED = VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT
}
 

Public Member Functions

 DeviceMemory (VkDeviceSize size, std::uint32_t typeMask, const MemProfile &memProfile, Device hDevice)
 
VkDeviceMemory handle () const
 
bool valid () const
 
std::uint32_t properties () const
 
VkDeviceSize size () const
 
bool isHostVisible () const
 
bool isHostCoherent () const
 

Static Public Member Functions

static size_t availableMemory (const MemProfile &memProfile, Device hDevice)
 

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