const useLightDraw: (
vertexCount: Lazy<number>,
instanceCount: Lazy<number>,
firstInstance: Lazy<number>,
links: Record<string, ParsedBundle<any> | ParsedModule<any> | undefined>,
pipeline?:
| GPURenderPipelineDescriptor
| { $nop: any }
| { $delete: any }
| { $set: GPURenderPipelineDescriptor }
| { $merge: Merge<GPURenderPipelineDescriptor> }
| { $apply: (
t: GPURenderPipelineDescriptor,
) => GPURenderPipelineDescriptor }
| { $patch: (
t: GPURenderPipelineDescriptor,
) => Update<GPURenderPipelineDescriptor> }
| { vertex?: Update<GPUVertexState>; primitive?: Update<GPUPrimitiveState | undefined>; depthStencil?: Update<GPUDepthStencilState | undefined>; multisample?: Update<GPUMultisampleState | undefined>; fragment?: Update<GPUFragmentState | undefined>; layout?: Update<"auto" | GPUPipelineLayout>; label?: Update<string | undefined>; },
mode?: string,
) => () => void | Record<string, ArrowFunction> | { }
packages / workbench / src / render / light / light.ts