MCPcopy Index your code
hub / github.com/microsoft/SandDance / enable

Function enable

docs/app/js/sanddance-app.js:59796–59798  ·  view source on GitHub ↗
(gl, value, key)

Source from the content-addressed store, hash-verified

59794 1024
59795]), (0, _definePropertyDefault.default)(_GL_PARAMETER_DEFAULT, 3333, 4), (0, _definePropertyDefault.default)(_GL_PARAMETER_DEFAULT, 3317, 4), (0, _definePropertyDefault.default)(_GL_PARAMETER_DEFAULT, 37440, false), (0, _definePropertyDefault.default)(_GL_PARAMETER_DEFAULT, 37441, false), (0, _definePropertyDefault.default)(_GL_PARAMETER_DEFAULT, 37443, 37444), (0, _definePropertyDefault.default)(_GL_PARAMETER_DEFAULT, 35723, 4352), (0, _definePropertyDefault.default)(_GL_PARAMETER_DEFAULT, 36010, null), (0, _definePropertyDefault.default)(_GL_PARAMETER_DEFAULT, 35977, false), (0, _definePropertyDefault.default)(_GL_PARAMETER_DEFAULT, 3330, 0), (0, _definePropertyDefault.default)(_GL_PARAMETER_DEFAULT, 3332, 0), (0, _definePropertyDefault.default)(_GL_PARAMETER_DEFAULT, 3331, 0), (0, _definePropertyDefault.default)(_GL_PARAMETER_DEFAULT, 3314, 0), (0, _definePropertyDefault.default)(_GL_PARAMETER_DEFAULT, 32878, 0), (0, _definePropertyDefault.default)(_GL_PARAMETER_DEFAULT, 3316, 0), (0, _definePropertyDefault.default)(_GL_PARAMETER_DEFAULT, 3315, 0), (0, _definePropertyDefault.default)(_GL_PARAMETER_DEFAULT, 32877, 0), _GL_PARAMETER_DEFAULT);
59796var enable = function enable(gl, value, key) {
59797 return value ? gl.enable(key) : gl.disable(key);
59798};
59799var hint = function hint(gl, value, key) {
59800 return gl.hint(key, value);
59801};

Callers

nothing calls this directly

Calls 1

enableMethod · 0.45

Tested by

no test coverage detected