diff --git a/README.md b/README.md index 788b83b..812812f 100644 --- a/README.md +++ b/README.md @@ -305,7 +305,7 @@ std::vector properties = physicalDevice.enumerateDeviceLayerPro ### UniqueHandle for automatic resource management -Vulkan-Hpp provides a `vk::UniqueHandle` interface. For each Vulkan handle type `vk::Type` there is a unqiue handle `vk::UniqueType` which will delete the underlying Vulkan resource upon destruction, e.g. `vk::UniqueBuffer ` is the unique handle for `vk::Buffer`. +Vulkan-Hpp provides a `vk::UniqueHandle` interface. For each Vulkan handle type `vk::Type` there is a unique handle `vk::UniqueType` which will delete the underlying Vulkan resource upon destruction, e.g. `vk::UniqueBuffer ` is the unique handle for `vk::Buffer`. For each function which constructs a Vulkan handle of type `vk::Type` Vulkan-Hpp provides a second version which returns a `vk::UniqueType`. E.g. for `vk::Device::createBuffer` there is `vk::Device::createBufferUnique` and for `vk::allocateCommandBuffers` there is `vk::allocateCommandBuffersUnique`.