Files
LearningVulkan/Vulkan notes/Basics.md
2026-01-03 10:37:50 -05:00

7 lines
623 B
Markdown

`After following this tutorial, you could implement automatic resource management by writing C++ classes that acquire Vulkan objects in their constructor and release them in their destructor, or by providing a custom deleter to either std::unique_ptr or std::shared_ptr, depending on your ownership requirements. RAII is the recommended model for larger Vulkan programs, but for learning purposes it's always good to know what's going on behind the scenes.`
- Vulkan objects are created directly with `vkCreateXXX`
- Vulkan objects are allocated with `vkAllocateXXX`
- `vkDestroyXXX` and `vkFreeXXX` to destroy objects
-