Memory¶
Vulkan memory management.
Overview¶
Typical use cases:
Allocating and managing Vulkan device memory
Header¶
<RaeptorCogs/GAPI/Vulkan/Core/Memory.hpp>
Metadata¶
- Author
Estorc
- Version
v1.0
- Copyright
Copyright (c) 2025 Estorc MIT License.
Functions¶
Function |
Description |
|---|---|
|
Allocate Vulkan device memory for the given data. |
-
template<typename T>
VkDeviceMemory AllocateMemory(RaeptorCogs::GAPI::Vulkan::RendererBackend *renderer, T data)¶ Allocate Vulkan device memory for the given data.
- Parameters:
renderer – Pointer to the Vulkan renderer backend.
data – Data for which memory is to be allocated.
- Returns:
VkDeviceMemory Handle to the allocated device memory.