MCPcopy Create free account
hub / github.com/microsoft/SandDance / getExtensionData

Function getExtensionData

docs/tests/v2/es6/js/sanddance.js:2449–2454  ·  view source on GitHub ↗
(gl, extension)

Source from the content-addressed store, hash-verified

2447
2448
2449function getExtensionData(gl, extension) {
2450 return {
2451 webgl2: isWebGL2(gl),
2452 ext: gl.getExtension(extension)
2453 };
2454} // function mapExtensionConstant(gl, constant) {
2455// switch (constant) {
2456// case ext.FRAGMENT_SHADER_DERIVATIVE_HINT_OES: return GL.FRAGMENT_SHADER_DERIVATIVE_HINT;
2457// }

Callers 1

sanddance.jsFile · 0.70

Calls 1

isWebGL2Function · 0.70

Tested by

no test coverage detected