How are the raii wrappers different from the Unique versions?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/vulkan

Our great sponsors
  • OPS - Build and Run Open Source Unikernels
  • Scout APM - Less time debugging, more time building
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • GitHub repo Open-Source Vulkan C++ API

    Open-Source Vulkan C++ API

    There is nothing that requires doing any sort of RAII types. Personally, having each object be able to delete itself by keeping track of what created it so it can call a Vulkan destroy method doesn't really gain me anything. When I am dealing with an explicit API like this, I am really ok with being explicit about when I am done with a resource and it can be freed. These wrappers can also get you into trouble like this. On the off chance that I do somehow not free a resource when I am done with it, that is likely a hint at a bigger issue with my code that these sort of utilities will clean up and hide from the resource tracker in the validation layers.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts