Any Recommendations on C resources for Learning Vulkan?
I was following this tutorial, which is supposed to be "modern" with "up to date" features and practices.
However, I very quickly stumbled upon this piece of code:
auto unsupportedLayerIt = std::ranges::find_if(requiredLayers,
[&layerProperties](auto const &requiredLayer) {
return std::ranges::none_of(layerProperties,
[requiredLayer](auto const &layerProperty) { return strcmp(layerProperty.layerName, requiredLayer) == 0; });
});
I'm just stunned. I can't believe cpp people actually write code like this? This just seems insane to me and I kind of hate it.
So I have 2 questions:
- Am I in the wrong here? Should I just accept that this is normal and the industry standard and get over it? Or is it just absurd?
- If it IS absurd, does anyone have any recommendations for other resources I could learn Vulkan from? I'd prefer if it was just straight up in C or at least very basic features of C++?