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

Rethink shader variables #11

Open
xzores opened this issue Nov 8, 2023 · 0 comments
Open

Rethink shader variables #11

xzores opened this issue Nov 8, 2023 · 0 comments

Comments

@xzores
Copy link
Owner

xzores commented Nov 8, 2023

Currently a enum is used to determine what shader uniforms/attributes are allowed, but this makes it inconvenient for the user as they now have to edit the library to make customize. How should we do instead? I like the idea of an enum determining the allowed uniforms/attributes as this catches errors early and ensures the name is the same.

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

No branches or pull requests

1 participant