import type { Attributes, GpuBuffer, VertexInput } from "./types.js"; export interface ResolvedVertexState { layouts: GPUVertexBufferLayout[]; /** Buffer bound to each slot, matching layouts order. */ bindings: { buffer: GpuBuffer; offset: number; }[]; /** Cache key participating in pipeline lookup. */ key: string; /** Vertex count inferred from the first attribute, when available. */ inferredCount?: number; } /** * Derive vertex buffer layouts from the shader's reflected inputs and the * command's attributes: one buffer slot per attribute, formats and strides * inferred from WGSL types unless overridden. */ export declare function resolveVertexState(vertexInputs: readonly VertexInput[], attributes: Attributes): ResolvedVertexState; //# sourceMappingURL=vertex-layout.d.ts.map