Overv / VulkanTutorial

Tutorial for the Vulkan graphics and compute API
https://vulkan-tutorial.com
Creative Commons Attribution Share Alike 4.0 International
3.16k stars 517 forks source link

Improve use of std::optional #147

Closed Overv closed 5 years ago

Overv commented 5 years ago

Many people have been confused by the use of a struct and std::optional in the Physical devices and queue families chapter because at that point there's only one queue and it's kinda overkill. Either the text should be changed to clarify that this abstraction is beneficial later on or it should only be added in the Window surface chapter.