Add project files.
This commit is contained in:
6
Vulkan notes/Basics.md
Normal file
6
Vulkan notes/Basics.md
Normal file
@@ -0,0 +1,6 @@
|
||||
`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
|
||||
-
|
||||
Reference in New Issue
Block a user