webgl
webgl copied to clipboard
Type-agnostic GetProgramParameter missing
There are methods such as GetShaderParameter() returning the actual result, but for program parameter, only type specific methods exist.
In my case of wrapping WebGL behind a OpenGL ES generic interface I'd like to support the original signature returning int. For the program parameter I'm currently calling the JS method directly (not via the WebGL interface).
Is the type-agnostic variant missing or are you planning to have only specific methods (and calling the function directly is the preferred way)?
My code in question is here
Thanks for reporting! I will look into this. The original binding was just quick and dirty.