type PassBindGroup = {
key: string | number,
layout: GPUBindGroupLayout,
attributes: (UniformAttribute | null)[],
bind?:
(
env: PassEnv,
) => (
| StorageSource
| ParsedBundle<any>
| ParsedModule<any>
| LambdaSource<ShaderModule<any>>
| TextureSource
| SamplerSource
| null
| undefined)[],
}
packages / workbench / src / pass / types.ts