1 | import { BufferAttribute } from "../../core/BufferAttribute.js";
|
2 | import { BufferGeometry } from "../../core/BufferGeometry.js";
|
3 | import { Object3D } from "../../core/Object3D.js";
|
4 | import { Material } from "../../materials/Material.js";
|
5 | import { WebGLAttributes } from "./WebGLAttributes.js";
|
6 | import { WebGLProgram } from "./WebGLProgram.js";
|
7 |
|
8 | export class WebGLBindingStates {
|
9 | constructor(gl: WebGLRenderingContext, attributes: WebGLAttributes);
|
10 |
|
11 | setup(
|
12 | object: Object3D,
|
13 | material: Material,
|
14 | program: WebGLProgram,
|
15 | geometry: BufferGeometry,
|
16 | index: BufferAttribute,
|
17 | ): void;
|
18 | reset(): void;
|
19 | resetDefaultState(): void;
|
20 | dispose(): void;
|
21 | releaseStatesOfGeometry(): void;
|
22 | releaseStatesOfProgram(): void;
|
23 | initAttributes(): void;
|
24 | enableAttribute(attribute: number): void;
|
25 | disableUnusedAttributes(): void;
|
26 | }
|