Vulkan-Hpp icon indicating copy to clipboard operation
Vulkan-Hpp copied to clipboard

Split helper classes into separate header files

Open GavinNL opened this issue 3 months ago • 1 comments

There are many helper classes that defined in vulkan.hpp that are potentially useful independent of the vulkan hpp. For example: ArrayProxy<T>, Flags<T>, Result<T>.

It would be nice if these classes/structs were split out into separate header files so they can be used without needing to pull in all of vulkan.hpp

GavinNL avatar Sep 22 '25 14:09 GavinNL

ArrayProxy<T> and Flags<T> could probably be moved into some vulkan_hpp_helper_classes.hpp, or so. But do you mean ResultValue<T> with Result<T>? That class uses vk::Result, which means you would need at least vulkan_enums.hpp as well.

asuessenbach avatar Oct 29 '25 16:10 asuessenbach