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

Function assertWebGL2Context

docs/app/js/sanddance-app.js:59475–59477  ·  view source on GitHub ↗
(gl)

Source from the content-addressed store, hash-verified

59473 (0, _utils.assert)(isWebGL(gl), ERR_CONTEXT);
59474}
59475function assertWebGL2Context(gl) {
59476 (0, _utils.assert)(isWebGL2(gl), ERR_WEBGL2);
59477}
59478
59479},{"./utils":"azhv5","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"3c1sW":[function(require,module,exports) {
59480var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers

nothing calls this directly

Calls 1

isWebGL2Function · 0.70

Tested by

no test coverage detected