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

Use a better class for flags and enums #562

Merged
merged 4 commits into from
Sep 4, 2024
Merged

Use a better class for flags and enums #562

merged 4 commits into from
Sep 4, 2024

Conversation

almarklein
Copy link
Member

Closes #490

Implements the enum class that we added to pygfx earlier. Pygfx can drop its implementation and use the one from wgpu.

The advantage is better support for static analysis (e.g. autocompletion in editors), as well as prettier docs.

@almarklein almarklein mentioned this pull request Sep 4, 2024
@Korijn Korijn merged commit 43c8096 into main Sep 4, 2024
20 checks passed
@Korijn Korijn deleted the baseenum branch September 4, 2024 10:55
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.

Change emum/flag implementation
2 participants