const VerticesTrait:
Trait<Defaulted<InputTypes<{ position: (t?: VectorLike) => Float32Array | [number, number, number, number] | undefined, positions: (t: A | ShaderSource) => Float32Array | undefined, depth: (t?: number) => number | undefined, depths: (t: A | ShaderSource) => Float32Array | undefined, zBias: (t?: number) => number | undefined, zBiases: (t: A | ShaderSource) => Float32Array | undefined, id: (t?: number) => number | undefined, ids: (t: A | ShaderSource) => Float32Array | undefined, lookup: (t?: number) => number | undefined, lookups: (t: A | ShaderSource) => Float32Array | undefined }>, Partial<InputTypes<{ position: (t?: VectorLike) => Float32Array | [number, number, number, number] | undefined, positions: (t: A | ShaderSource) => Float32Array | undefined, depth: (t?: number) => number | undefined, depths: (t: A | ShaderSource) => Float32Array | undefined, zBias: (t?: number) => number | undefined, zBiases: (t: A | ShaderSource) => Float32Array | undefined, id: (t?: number) => number | undefined, ids: (t: A | ShaderSource) => Float32Array | undefined, lookup: (t?: number) => number | undefined, lookups: (t: A | ShaderSource) => Float32Array | undefined }>>>,
OutputTypes<{ position: (t?: VectorLike) => Float32Array | [number, number, number, number] | undefined, positions: (t: A | ShaderSource) => Float32Array | undefined, depth: (t?: number) => number | undefined, depths: (t: A | ShaderSource) => Float32Array | undefined, zBias: (t?: number) => number | undefined, zBiases: (t: A | ShaderSource) => Float32Array | undefined, id: (t?: number) => number | undefined, ids: (t: A | ShaderSource) => Float32Array | undefined, lookup: (t?: number) => number | undefined, lookups: (t: A | ShaderSource) => Float32Array | undefined }>>
= (
input: A,
output: B,
hooks: UseHooks,
) => void
packages / plot / src / traits.ts