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

Function VertexArrayObject1

docs/tests/v3/es6/js/sanddance-test-es6.js:13731–13745  ·  view source on GitHub ↗
(gl)

Source from the content-addressed store, hash-verified

13729 }
13730 ]);
13731 function VertexArrayObject1(gl) {
13732 var _this;
13733 var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
13734 (0, _classCallCheckDefault.default)(this, VertexArrayObject1);
13735 var id = opts.id || opts.program && opts.program.id;
13736 _this = (0, _possibleConstructorReturnDefault.default)(this, (0, _getPrototypeOfDefault.default)(VertexArrayObject1).call(this, gl, Object.assign({}, opts, {
13737 id: id
13738 })));
13739 _this.buffer = null;
13740 _this.bufferValue = null;
13741 _this.isDefaultArray = opts.isDefaultArray || false;
13742 _this.initialize(opts);
13743 Object.seal((0, _assertThisInitializedDefault.default)(_this));
13744 return _this;
13745 }
13746 (0, _createClassDefault.default)(VertexArrayObject1, [
13747 {
13748 key: "delete",

Callers

nothing calls this directly

Calls 1

initializeMethod · 0.65

Tested by

no test coverage detected