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

Function getFeatures

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

Source from the content-addressed store, hash-verified

64105 });
64106}
64107function getFeatures(gl) {
64108 gl.luma = gl.luma || {};
64109 gl.luma.caps = gl.luma.caps || {};
64110 for(var cap in 0, _webglFeaturesTableDefault.default)if (gl.luma.caps[cap] === undefined) gl.luma.caps[cap] = isFeatureSupported(gl, cap);
64111 return gl.luma.caps;
64112}
64113function isFeatureSupported(gl, cap) {
64114 gl.luma = gl.luma || {};
64115 gl.luma.caps = gl.luma.caps || {};

Callers

nothing calls this directly

Calls 1

isFeatureSupportedFunction · 0.70

Tested by

no test coverage detected