Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
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.
Related posts
- GPU Compute in the Browser at the Speed of Native: WebGPU Marching Cubes
- PicoGK is a compact and robust geometry kernel for Computational Engineering
- 3D and 2D: Testing out my cross-platform graphics engine
- Google's First Tensor Processing Unit: Architecture
- From scratch OpenGL and shaders with raw Xlib