![]() |
VPP
0.8
A high-level modern C++ API for Vulkan
|
Abstraction of GPU-interoperable memory types. More...
#include <vppDeviceMemory.hpp>
Public Types | |
enum | ECharacteristic { DEVICE_STATIC, HOST_STATIC, DEVICE_DYNAMIC, DEVICE_FEEDBACK, DEVICE_ONLY } |
Enumeration specifying the characteristic of requested memory. More... | |
Public Member Functions | |
MemProfile (ECharacteristic eChar) | |
The constructor - not explicit, you can use the enumeration directly. | |
Abstraction of GPU-interoperable memory types.
Allocation of memory is somewhat complex in core Vulkan, due to large number of memory properties and types. This class hides that complexity and provides simple classification into four major types.
Enumeration specifying the characteristic of requested memory.