const InstanceData: LiveComponent<InstanceDataProps<"u32" | "u16" | undefined>>
NonNullable<I>
DataSchema
number
render?
(
useInstance: () => (data: Record<string, any>) => void,
) => LiveElement
children?
(
useInstance: () => (data: Record<string, any>) => void,
) => LiveElement
then?
"u32" | "u16"
extends
I
?
(
data: Record<string, ShaderSource>,
indices: StorageSource,
) => LiveElement
:
(
data: Record<string, ShaderSource>,
) => LiveElement
packages / workbench / src / data / instance-data.ts