(gl, key)
| 5345 | |
| 5346 | |
| 5347 | function getParameter(gl, key) { |
| 5348 | var getter = GL_PARAMETER_GETTERS[key]; |
| 5349 | return getter ? getter(gl, Number(key)) : gl.getParameter(Number(key)); |
| 5350 | } // Copies the state from a context (gl.getParameter should not be overriden) |
| 5351 | // Reads the entire WebGL state from a context |
| 5352 | // Caveat: This generates a huge amount of synchronous driver roundtrips and should be |
| 5353 | // considered a very slow operation, to be used only if/when a context already manipulated |
no test coverage detected