You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Daniel Grace edited this page May 16, 2019
·
3 revisions
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().