/** * additional import for TypeScript * @import {Point} from "./../../../geometries/point.ts"; */ /** * A WebGL Compositor object. This class handles all of the WebGL state
* Pushes texture regions or shape geometry into WebGL buffers, automatically flushes to GPU * @category Rendering */ export default class PrimitiveBatcher extends Batcher { /** * Initialize the compositor * @ignore */ init(renderer: any): void; /** * the current line width applied to the shader uniform * @ignore */ currentLineWidth: any; /** * Draw an array of vertices * @param {GLenum} mode - primitive type to render (gl.POINTS, gl.LINE_STRIP, gl.LINE_LOOP, gl.LINES, gl.TRIANGLE_STRIP, gl.TRIANGLE_FAN, gl.TRIANGLES) * @param {Point[]} verts - an array of vertices * @param {number} [vertexCount=verts.length] - amount of points defined in the points array */ drawVertices(mode: GLenum, verts: Point[], vertexCount?: number): void; #private; } import { Batcher } from "./batcher.js"; import type { Point } from "./../../../geometries/point.ts"; //# sourceMappingURL=primitive_batcher.d.ts.map