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

Change emum/flag implementation #490

Closed
almarklein opened this issue Apr 11, 2024 · 0 comments · Fixed by #562
Closed

Change emum/flag implementation #490

almarklein opened this issue Apr 11, 2024 · 0 comments · Fixed by #562

Comments

@almarklein
Copy link
Member

The current flags and enums work fine for interactive use (discoverable fields), but with static analysis (e.g. in VSCode) the fields are not visible.

Proposal:

  • Copy the implementation from pygfx (Refactor enums pygfx#718)
  • Add a config thingy to control the "context": the "wgpu" in <wgpu.BufferUsage ..>
  • In pygfx re-use (instead of re-implement) the implementation from wgpu.

Related:

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 a pull request may close this issue.

1 participant