GLView getSupportedExtensions
See original GitHub issueHello,
I’m using a GLView to port some WebGL code over to mobile, and ran into some issues with code that utilizes OpenGL extensions. I checked gl.getSupportedExtensions()
and got back an empty array. Did I miss enabling/setting up something, or are all OpenGL extensions currently unsupported in Expo?
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
CameraExtensionCharacteristics - Android Developers
public List<Integer> getSupportedExtensions (). Return a list of supported device-specific extensions for a given camera device.
Read more >GLView - Expo Documentation
GLView. expo-gl provides a View that acts as an OpenGL ES render target, useful for rendering 2D and 3D graphics. On mounting, an...
Read more >expo-gl | Yarn - Package Manager
expo-gl. Provides GLView that acts as OpenGL ES render target and gives GL context object implementing WebGL 2.0 specification.
Read more >WebGLRenderingContext.getSupportedExtensions() - Web APIs
method to get a specific extension object. WebGL extensions. Extensions for the WebGL API are registered in the WebGL Extension Registry. ⚠️ ....
Read more >reactjs - React Native (Expo) WebGL2 on iPad 15 is missing ...
When attempting to use Expo (SDK 43) in managed mode on an iPad Air 4th Gen (OS 15.0.2) with expo-three, expo-gl and a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Which extensions do you need? We have recently added support for WebGL 2.0 which has built-in what most WebGL 1.0 extensions do (such as
WEBGL_draw_buffers
,OES_vertex_array_object
). This should be available in the next SDK. If you don’t want to wait for it and your extension only adds a constant, it’s very likely to work if the constant is already exported togl
object or you just use the number value of the constant.@SebastianMerz We just released SDK 26 which introduces WebGL 2.0. I’m sorry to have kept you waiting so long. I hope this new feature will reward you 😃