Skip to content

Expose device enumeration #720

@nazar-pc

Description

@nazar-pc

I was looking for ways to enumerate available devices (with wgpu, but also applicable for other backends), but didn't find it.
Enumeration is used internally here:

instance
.enumerate_adapters(backend.into())

Would be great to expose it in some way publicly. In fact you could make WgpuDevice something that is returned by that list and not constructable explicitly for better misuse resistance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions