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

Function VertexArrayObject1

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

Source from the content-addressed store, hash-verified

65798 }
65799 ]);
65800 function VertexArrayObject1(gl) {
65801 var _this;
65802 var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
65803 (0, _classCallCheckDefault.default)(this, VertexArrayObject1);
65804 var id = opts.id || opts.program && opts.program.id;
65805 _this = (0, _possibleConstructorReturnDefault.default)(this, (0, _getPrototypeOfDefault.default)(VertexArrayObject1).call(this, gl, Object.assign({}, opts, {
65806 id: id
65807 })));
65808 _this.buffer = null;
65809 _this.bufferValue = null;
65810 _this.isDefaultArray = opts.isDefaultArray || false;
65811 _this.initialize(opts);
65812 Object.seal((0, _assertThisInitializedDefault.default)(_this));
65813 return _this;
65814 }
65815 (0, _createClassDefault.default)(VertexArrayObject1, [
65816 {
65817 key: "delete",

Callers

nothing calls this directly

Calls 1

initializeMethod · 0.65

Tested by

no test coverage detected