const useScratchSource: (
format: UniformType,
options?: {
flags?: number,
readWrite?: boolean,
reserve?: number,
volatile?: boolean,
},
) => [StorageSource, (x: number) => void]
packages / workbench / src / hooks / useScratchSource.ts