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

Function VertexArray1

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

Source from the content-addressed store, hash-verified

66097];
66098var VertexArray = function() {
66099 function VertexArray1(gl) {
66100 var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
66101 (0, _classCallCheckDefault.default)(this, VertexArray1);
66102 var id = opts.id || opts.program && opts.program.id;
66103 this.id = id;
66104 this.gl = gl;
66105 this.configuration = null;
66106 this.elements = null;
66107 this.elementsAccessor = null;
66108 this.values = null;
66109 this.accessors = null;
66110 this.unused = null;
66111 this.drawParams = null;
66112 this.buffer = null;
66113 this.attributes = {};
66114 this.vertexArrayObject = new (0, _vertexArrayObjectDefault.default)(gl);
66115 (0, _utils.stubRemovedMethods)(this, "VertexArray", "v6.0", DEPRECATIONS_V6);
66116 this.initialize(opts);
66117 Object.seal(this);
66118 }
66119 (0, _createClassDefault.default)(VertexArray1, [
66120 {
66121 key: "delete",

Callers

nothing calls this directly

Calls 1

initializeMethod · 0.65

Tested by

no test coverage detected