UNPKG

587 BTypeScriptView Raw
1import { BufferAttribute } from "../../core/BufferAttribute.js";
2import { BufferGeometry } from "../../core/BufferGeometry.js";
3import { Object3D } from "../../core/Object3D.js";
4import { WebGLAttributes } from "./WebGLAttributes.js";
5import { WebGLInfo } from "./WebGLInfo.js";
6
7export class WebGLGeometries {
8 constructor(gl: WebGLRenderingContext, attributes: WebGLAttributes, info: WebGLInfo);
9
10 get(object: Object3D, geometry: BufferGeometry): BufferGeometry;
11 update(geometry: BufferGeometry): void;
12 getWireframeAttribute(geometry: BufferGeometry): BufferAttribute;
13}