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

Add a type field to the data provided for a vertex attribute #30

Open
afd opened this issue Mar 10, 2021 · 0 comments
Open

Add a type field to the data provided for a vertex attribute #30

afd opened this issue Mar 10, 2021 · 0 comments

Comments

@afd
Copy link
Contributor

afd commented Mar 10, 2021

Right now all vertex attributes are assumed to have 32-bit floating point type, but it would be good (and easy) to be more general here. We should add a TYPE or ELEMENT_TYPE field to the data provided for a vertex buffer. Right now there could be just one option - float. But this would pave the way for more options without having to make float the default.

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