webgl icon indicating copy to clipboard operation
webgl copied to clipboard

Type-agnostic GetProgramParameter missing

Open dertseha opened this issue 11 years ago • 1 comments

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

dertseha avatar Aug 25 '14 20:08 dertseha

Thanks for reporting! I will look into this. The original binding was just quick and dirty.

ajhager avatar Aug 30 '14 17:08 ajhager