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

Function getExtensionData

docs/app/js/sanddance-app.js:59495–59500  ·  view source on GitHub ↗
(gl, extension)

Source from the content-addressed store, hash-verified

59493var EXT_texture_filter_anisotropic = "EXT_texture_filter_anisotropic";
59494var ERR_VAO_NOT_SUPPORTED = "VertexArray requires WebGL2 or OES_vertex_array_object extension";
59495function getExtensionData(gl, extension) {
59496 return {
59497 webgl2: (0, _utils.isWebGL2)(gl),
59498 ext: gl.getExtension(extension)
59499 };
59500}
59501var WEBGL2_CONTEXT_POLYFILLS = (_WEBGL2_CONTEXT_POLYF = {}, (0, _definePropertyDefault.default)(_WEBGL2_CONTEXT_POLYF, OES_vertex_array_object, {
59502 meta: {
59503 suffix: "OES"

Callers 1

sanddance-app.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected