Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose an option to list all devices and create camera from selected one #13

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mrozycki
Copy link

@mrozycki mrozycki commented Oct 21, 2024

Created a Device struct in all 3 backends, allowing the user of the library to get a list of all available devices, and create a Camera out of a selected one. Tested it on macOS, Windows and Linux.

I've had some issues with winit on Linux, even without my changes, so I did a minimal amount of work to update winit to 0.30.5 locally to test my changes. I did not include that in this PR, but I might do it separately. Generally, since winit is only used in the example code, this is not high priority in my opinion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant