@types/three
Version:
TypeScript definitions for three
14 lines (11 loc) • 587 B
TypeScript
import { BufferAttribute } from "../../core/BufferAttribute.js";
import { BufferGeometry } from "../../core/BufferGeometry.js";
import { Object3D } from "../../core/Object3D.js";
import { WebGLAttributes } from "./WebGLAttributes.js";
import { WebGLInfo } from "./WebGLInfo.js";
export class WebGLGeometries {
constructor(gl: WebGLRenderingContext, attributes: WebGLAttributes, info: WebGLInfo);
get(object: Object3D, geometry: BufferGeometry): BufferGeometry;
update(geometry: BufferGeometry): void;
getWireframeAttribute(geometry: BufferGeometry): BufferAttribute;
}