src/viewer/scene/model/vbo/batching/points/VBOBatchingPointsRenderer.js
import {VBORenderer} from "../../VBORenderer.js";
/**
* @private
*/
export class VBOBatchingPointsRenderer extends VBORenderer {
_draw(drawCfg) {
const {gl} = this._scene.canvas;
const {
state,
frameCtx,
incrementDrawState,
} = drawCfg;
gl.drawArrays(gl.POINTS, 0, state.positionsBuf.numItems);
if (incrementDrawState) {
frameCtx.drawArrays++;
}
}
}