-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 buffer_data_with_u16_array
to WebGlRenderingContext
#1089
Comments
buffer_data_with_u16_array
buffer_data_with_u16_array
to WebGlRenderingContext
I believe that method is defined here which we expand here to an Another option is #811 to create a |
Thanks for the help - I'll send a PR for option 1. I'm assuming that nothing needs to be tested here but let me know if that isn't the case! Thanks!! |
I ended up going with this approach -> #918 (comment) |
Right now there's a buffer_data_with_u8_array which is super convenient if you want o use
WebGLRenderingContext::UNSIGNED_BYTE
.However,
UNSIGNED_SHORT
is probably more common, sobuffer_data_with_u16_array
would be super useful IMO.Any reason that this shouldn't exist?
If not - I'd be happy to add it if you can point me in the right direction!
The text was updated successfully, but these errors were encountered: