three
Version:
JavaScript 3D library
16 lines (11 loc) • 570 B
TypeScript
import { WebGLAttributes } from './WebGLAttributes';
import { WebGLInfo } from './WebGLInfo';
import { BufferAttribute } from '../../core/BufferAttribute';
import { BufferGeometry } from '../../core/BufferGeometry';
import { Object3D } from '../../core/Object3D';
export class WebGLGeometries {
constructor( gl: WebGLRenderingContext, attributes: WebGLAttributes, info: WebGLInfo );
get( object: Object3D, geometry: BufferGeometry ): BufferGeometry;
update( geometry: BufferGeometry ): void;
getWireframeAttribute( geometry: BufferGeometry ): BufferAttribute;
}