Open-Source Vulkan C++ API VS Vulkan

Compare Open-Source Vulkan C++ API vs Vulkan and see what are their differences.

Vulkan

Examples and demos for the new Vulkan API (by SaschaWillems)
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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
Open-Source Vulkan C++ API Vulkan
36 70
2,921 9,727
1.0% -
9.1 9.2
6 days ago 4 days ago
C++ GLSL
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Open-Source Vulkan C++ API

Posts with mentions or reviews of Open-Source Vulkan C++ API. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-05.
  • what math is required?
    2 projects | /r/vulkan | 5 Jul 2023
    It might be useful to maybe look at the Vulkan.hpp examples since you can do the same in about 200 lines of code. https://github.com/KhronosGroup/Vulkan-Hpp/blob/main/samples/15_DrawCube/15_DrawCube.cpp
  • Vulkan-Hpp now provides C++20 module interface file
    1 project | /r/vulkan | 28 Jun 2023
    1 project | /r/cpp | 28 Jun 2023
  • How do you guys organize everything?
    1 project | /r/vulkan | 18 Jun 2023
    Wow that library looks amazing, I'll definitely be using it. Bonus that it's official from the Khronos Group. https://github.com/KhronosGroup/Vulkan-Hpp
  • An idea to ease wrapping C libraries in C++.
    3 projects | /r/cpp | 18 Jun 2023
    Even auto-generated c++ wrappers like vulkan-hpp require lots of manual maintenance.
  • Anybody know why V-EZ has not been updated in 5 years?
    5 projects | /r/vulkan | 15 Jun 2023
    Ultimately I went with vulkan.hpp RAII bindings, even though that way also has some learning curve and I couldn't find any documentation other than the RAII programming guide. It's great for getting started, but could use a complementary auto-generated API doc. There are also decent programming samples, which really suck for getting started, but otherwise do a good job of presenting concepts they focus on. Putting the available resources together I was able to get a project going in two weekends.
  • Using enum classes as bitmasks
    1 project | /r/cpp | 24 May 2023
    This is exactly how the official Vulkan C++ API, Vulkan-Hpp does it. For the precise example mentioned in the blog post:
  • Recommendations on how to start a small Vulkan project
    6 projects | /r/vulkan | 16 May 2023
    Or the vulkan.hpp RAII samples would be a good place?
  • What's the most hilarious use of operator overloading you've seen?
    7 projects | /r/cpp | 6 May 2023
    For a real-life example: consider the vk::raii namespace of Vulkan-Hpp, where the developers have posted examples. The vk::raii::su namespace has a bunch of free functions that one might think are associated with a Vulkan instance/object (in fact, the Vulkan Tutorial does implement them as member functions), but they are much nicer when used as pure functions. It keeps the class/struct definition itself nice and clean.
  • Vulkan-HPP + Vulkan C API == Aliasing Bugs!
    1 project | /r/vulkan | 12 Feb 2023
    final c++17 draft (N4659) first post-publication draft after c++20 (N4868) vulkan-structs.hpp (containing the vk::ImageCreateInfo definition) VkImageCreateInfo struct

Vulkan

Posts with mentions or reviews of Vulkan. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-13.
  • Usages for vkCreateHeadlessSurfaceEXT
    2 projects | /r/vulkan | 13 Jul 2023
    Samples in https://github.com/SaschaWillems/Vulkan have shown how to use vkCreateHeadlessSurfaceEXT. But these headless samples crash at acquireNextImage from the swapchain. Now I guess the problem lies in the vulkan-wsi-layer.
  • offscreen rendering vs render to texture
    1 project | /r/vulkan | 27 Jun 2023
    This is the reference I used. https://github.com/SaschaWillems/Vulkan/blob/master/examples/hdr/hdr.cpp
  • Question about descriptor buffers.
    1 project | /r/vulkan | 26 Jun 2023
    Hi, I'm messing with descriptor buffers but I've came across certain issues I can't seem to solve. I'm using this tutorial as reference. I've tried UBOs and SSBOs, it works perfectly and there is no need to change the buffers offsets when recording a command buffer because I can access them by index like this:
  • Need help learning descriptor sets
    1 project | /r/vulkan | 21 Jun 2023
    Hi I am trying to learn Vulkan for an upcoming project and I have so far found everything to be straight forward if very verbose. I have now come to descriptor sets, layout bindings and the so forth and it's got more confusing than I can work out. I have been following this github repo for a headless compute example and it works fine as it is. But when I tried to add an additional storage buffer to the test shader than it comes with I am unable to copy the data over instead just getting a whole collection of 0's.
  • Sascha Willems bloom example dependency management
    1 project | /r/vulkan | 13 Jun 2023
  • Vulkan ray tracer with fog and stuff
    1 project | /r/vulkan | 30 May 2023
    P.S. do you know of Sascha Willems’ code? https://github.com/SaschaWillems/Vulkan
  • Proper way to access a read-only texture that has no sampler from an hlsl compute shader?
    2 projects | /r/vulkan | 17 May 2023
    BTW, this problem can be reproduced as described below: - clone https://github.com/SaschaWillems/Vulkan.git - build the project and run it with arguments : -v - s hlsl to enable the validation layer and to use hlsl code - run ComputeShader project. The following validation error "Type mismatch on descriptor slot ..." will be shown in the console. - to fix it, as suggested above, you can replace the 3rd line of emboss.comp, sharpen.comp, and edgedetect.comp from: Texture2D inputImage : register(t0); //Creates validation errors to RWTexture2D inputImage : register(u0); //no validation errors (you'll then need to recompile the shaders to spv with a proper hlsl compiler such as Microsoft dxc)
  • Recommendations on how to start a small Vulkan project
    6 projects | /r/vulkan | 16 May 2023
    Another way I saw some projects start was by using example base classes (either Sascha Willems' implementations or the framework used by Khronos Samples).
  • I've been working on a real-time ray tracing renderer
    2 projects | /r/vulkan | 24 Apr 2023
    It's not a tutorial but I'd recommend Sascha Willems examples. A good next step could be adding models and shadows (see https://github.com/SaschaWillems/Vulkan/tree/master/examples/raytracingshadows). It's a single file but you can easily understand what each function does.
  • Add a second texture to Sascha Willems glftLoading app
    3 projects | /r/vulkan | 11 Apr 2023
    Exactly as u/aerorang said. I recommend comparing your linked example with Sascha's gtTF Scene rendering example where he adds a normal map along with the base albedo texture. He also marked important parts of the code with the POI keyword, so you can search for them in the code.

What are some alternatives?

When comparing Open-Source Vulkan C++ API and Vulkan you can also consider the following projects:

Ogre 3D - scene-oriented, flexible 3D engine (C++, Python, C#, Java)

vulkano - Safe and rich Rust wrapper around the Vulkan API

GLFW - A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input

vulkan-guide - Introductory guide to vulkan.

Skia - Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

vk-bootstrap - Vulkan Bootstrapping Iibrary

urho3d - Game engine

msdf-atlas-gen - MSDF font atlas generator

Irrlicht - An automatically updated mirror of the Irrlicht SVN repository on sourceforge

tinyrenderer - A brief computer graphics / rendering course

OpenVDB - OpenVDB - Sparse volume data structure and tools

Vulkan-Samples - One stop solution for all Vulkan samples