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

Function Framebuffer1

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

Source from the content-addressed store, hash-verified

62786 }
62787 ]);
62788 function Framebuffer1(gl) {
62789 var _this;
62790 var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
62791 (0, _classCallCheckDefault.default)(this, Framebuffer1);
62792 _this = (0, _possibleConstructorReturnDefault.default)(this, (0, _getPrototypeOfDefault.default)(Framebuffer1).call(this, gl, opts));
62793 _this.width = null;
62794 _this.height = null;
62795 _this.attachments = {};
62796 _this.readBuffer = 36064;
62797 _this.drawBuffers = [
62798 36064
62799 ];
62800 _this.ownResources = [];
62801 _this.initialize(opts);
62802 Object.seal((0, _assertThisInitializedDefault.default)(_this));
62803 return _this;
62804 }
62805 (0, _createClassDefault.default)(Framebuffer1, [
62806 {
62807 key: "initialize",

Callers

nothing calls this directly

Calls 1

initializeMethod · 0.65

Tested by

no test coverage detected