UNPKG

572 BTypeScriptView Raw
1import { WebGLAttributes } from './WebGLAttributes';
2import { WebGLInfo } from './WebGLInfo';
3import { BufferAttribute } from '../../core/BufferAttribute';
4import { BufferGeometry } from '../../core/BufferGeometry';
5import { Object3D } from '../../core/Object3D';
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}