const useApplyTransform: (
positions?:
| StorageSource
| LambdaSource
| TextureSource
| ShaderModule
| Ref< | Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | number[]>
| () => | Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | number[]
| null,
replace?: TransformContextProps | ShaderModule,
) => {
positions: ShaderSource | null,
scissor: ShaderSource | null,
bounds: TransformBounds | null,
}
packages / workbench / src / hooks / useApplyTransform.ts