Skip to content

Memory Management

Daniel Grace edited this page May 16, 2019 · 3 revisions

Memory Management

Memory management in Vulkan (and by extension, much of opengine) is ahead-of-time and explicit. For this reason, you need to decide what memory you are going to use (textures, compute workloads, etc.), define them all up-front, and then use them later.

You do this by using methods such as Vulkan.createComputeBuffer(String, int) and Vulkan.doneAllocating().

Clone this wiki locally