type DispatchProps = {
size?: Lazy<number[]>,
shader: ParsedBundle<any>,
defines?: Record<string, any>,
indirect?: StorageSource,
shouldDispatch?: () => boolean | number | undefined,
onDispatch?: () => void,
}
packages / workbench / src / queue / dispatch.ts