import { BufferGeometry, Object3D } from '../../refs.node'; import { Mesh } from '../../vpt/mesh'; /** * A class that converts the meshes we read from VPinball to Three.js meshes. * * It takes a similar approach as Three's OBJLoader, e.g. first read data into * a "state" and then convert it into BufferGeometries. */ export declare class ThreeMeshGenerator { private readonly faceVertices; convertToBufferGeometry(mesh: Mesh): BufferGeometry; } export declare function releaseGeometry(geometry: BufferGeometry): void; export declare class MeshExporter { private output; private indexVertex; private indexVertexUvs; private indexNormals; private vertex; private normal; private uv; parse(object: Object3D): Mesh; private parseMesh; }