1 | import { WebGLExtensions } from "./WebGLExtensions.js";
|
2 | import { WebGLInfo } from "./WebGLInfo.js";
|
3 |
|
4 | export class WebGLBufferRenderer {
|
5 | constructor(
|
6 | gl: WebGLRenderingContext,
|
7 | extensions: WebGLExtensions,
|
8 | info: WebGLInfo,
|
9 | );
|
10 |
|
11 | setMode: (value: any) => void;
|
12 | render: (start: any, count: number) => void;
|
13 | renderInstances: (start: any, count: number, primcount: number) => void;
|
14 | renderMultiDraw: (starts: Int32Array, counts: Int32Array, drawCount: number) => void;
|
15 | renderMultiDrawInstances: (
|
16 | starts: Int32Array,
|
17 | counts: Int32Array,
|
18 | drawCount: number,
|
19 | primcount: Int32Array,
|
20 | ) => void;
|
21 | }
|