const RawFaces: LiveComponent<RawFacesProps>
{
position?: number[] | TypedArray,
normal?: number[] | TypedArray,
tangent?: number[] | TypedArray,
segment?: number,
uv?: number[] | TypedArray,
st?: number[] | TypedArray,
color?: number[] | TypedArray,
zBias?: number,
positions?: ShaderSource,
normals?: ShaderSource,
tangents?: ShaderSource,
segments?: ShaderSource,
uvs?: ShaderSource,
sts?: ShaderSource,
colors?: ShaderSource,
zBiases?: ShaderSource,
indices?: ShaderSource,
instances?: ShaderSource,
load?: ShaderSource,
unwelded?: {
colors?: boolean,
normals?: boolean,
tangents?: boolean,
uvs?: boolean,
lookups?: boolean,
},
flat?: boolean,
shaded?: boolean,
fragDepth?: boolean,
count?: Lazy<number>,
shouldDispatch?:
(
u: Record<string, any>,
) => boolean | number | null,
onDispatch?: (u: Record<string, any>) => void,
} &
PickingSource &
Pick<Partial<PipelineOptions>,
| "mode" | "depthTest" | "depthWrite" | "alphaToCoverage" | "blend" | "shadow" | "side">
packages / workbench / src / primitives / raw-faces.ts