generated from engine3d-dev/conan-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
questionFurther information is requestedFurther information is requested
Description
I was thinking that maybe simplifying how vulkan instances can enumerate physical devices by returning std::span<physical_device>.
This is for simplifying enumerating available physical GPU's on the user platform. Where each vk::physical_device would each contain relative parameters that tell you what configuration or support each hardware GPU have that is available for the user to utilize.
This was an idea that I had previously, I wanted to create an issue to come back to it if I want to do this later on.
Example
Here is an example of an API, I had considered.
vk::instance instance_ctx(/* some params setup */);
std::span<vk::physical_device> devices = vk::enumerate_physical_devices(instance_ctx);Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested