function inherit(a,b){for(var c=Object.create(a.prototype),d=Object.keys(b),e=0;e>2;this.YTexture.fill(a.subarray(0,b)),this.UTexture.fill(a.subarray(b,b+c)),this.VTexture.fill(a.subarray(b+c,b+2*c)),this.drawScene()},updateVertexArray:function(a){this.zoomScene(a)},toString:function(){return"YUVCanvas Size: "+this.size},initCanvas:function(){this.gl.clear(this.gl.DEPTH_BUFFER_BIT|this.gl.COLOR_BUFFER_BIT)}}),a}();