Skip to content

API to be able to choose a device #18

Description

@xNWDD

I'd like to be able to expose gpu selection through in-game settings without maintaining a fork or involving vulkan.

I think it would be great if it was as simple to use as the rest of the api.
Something like one extra parameter to (optionally) give a hint a device on creation + a single function to do all the uncached needed queries (in case an egpu has been added) and fill an array of N devices with:

  • Human readable device name
  • Some id / index handle.
  • Some trivially understandable support level (either an enum like full, fixed bar, or unsupported; or total mappable amount)
  • Optionally full information (like device capabilities and limits) could be included there.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions