18 lines
658 B
JavaScript
18 lines
658 B
JavaScript
shadow$provide.module$node_modules$pixi_DOT_js$lib$rendering$renderers$gl$buffer$GlBuffer = function(global, require, module, exports) {
|
|
class GlBuffer {
|
|
constructor(buffer, type) {
|
|
this._lastBindCallId = this._lastBindBaseLocation = -1;
|
|
this.buffer = buffer || null;
|
|
this.byteLength = this.updateID = -1;
|
|
this.type = type;
|
|
}
|
|
destroy() {
|
|
this.buffer = null;
|
|
this._lastBindCallId = this._lastBindBaseLocation = this.type = this.byteLength = this.updateID = -1;
|
|
}
|
|
}
|
|
exports.GlBuffer = GlBuffer;
|
|
};
|
|
|
|
//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$rendering$renderers$gl$buffer$GlBuffer.js.map
|