import type { Node } from "../core/Node.ts"; import type { Material } from "../materials/Material.ts"; export interface Centroid { x: number; y: number; z: number; } /** Single polygon draw operation with material, depth, and vertex data. */ export declare class DrawCall { #private; mesh: Node; /** * Flat Float32Array of projected vertex data, stride 4. * Layout per vertex: [x, y, z, w] (NDC xyz, clip-space w). */ projectedVerts: Float32Array; vertCount: number; material: Material; faceIndices: number[] | Uint16Array | Uint32Array; centroid: Centroid; triangles: unknown; worldPositions: Float32Array; /** * Flat typed array for baked shading colors. * Flat shading: stride 3 (r,g,b per face). Gouraud: stride 9 (r,g,b x 3 vertices). */ shadedColorData: Float32Array; /** Stride into shadedColorData: 3 for flat, 9 for gouraud, 0 when unset. */ shadedColorStride: number; _tileDistance: number; constructor(mesh: Node, material: Material, centroidX?: number, centroidY?: number, centroidZ?: number); } //# sourceMappingURL=DrawCall.d.ts.map