Closed eloraiby closed 3 months ago
Thanks for PR!
I think it would be worth it to add a ContextInfo
flag, maybe context.info().features.integer_attributes
(not sure about the naming) and to add an explicit panic in the example if that flag is false.
With miniquad defaulting to WebGl1 on web, that flag being false is a very realistic scenario. Would be nice to have an example checking a platform-specific feature!
Added as an info function cap.
Thanks for cleaning up those Info structs, I really like how it looks now! Thanks for PR!
Add support for glVertexAttribIPointer (support signed/unsigned byte, short, int attributes). Add new example that shows support for glVertexAttribIPointer (es3/webgl2/opengl 3+) but needs GLSL 150 to use OpenGL in MacOS.