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

Function drawFramebuffer

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

Source from the content-addressed store, hash-verified

59803 return gl.pixelStorei(key, value);
59804};
59805var drawFramebuffer = function drawFramebuffer(gl, value) {
59806 var target = (0, _utils.isWebGL2)(gl) ? 36009 : 36160;
59807 return gl.bindFramebuffer(target, value);
59808};
59809var readFramebuffer = function readFramebuffer(gl, value) {
59810 return gl.bindFramebuffer(36008, value);
59811};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected