import type { BoundingSphere } from './bounds.js'; export interface Mesh { vertexBuffer: GPUBuffer; indexBuffer: GPUBuffer; indexCount: number; indexFormat: GPUIndexFormat; bounds?: BoundingSphere; /** CPU-side vertex data for ray picking */ vertices?: Float32Array; /** CPU-side index data for ray picking */ indices?: Uint16Array | Uint32Array; /** Floats per vertex (e.g. 8 for pos+normal+uv) */ vertexStride?: number; } export declare function createMesh(device: GPUDevice, vertices: Float32Array, indices: Uint16Array | Uint32Array, vertexStride?: number): Mesh; //# sourceMappingURL=mesh.d.ts.map