const bindingToModule: (
binding: {
attribute: UniformAttribute,
uniform?: StorageSource,
storage?: StorageSource,
texture?: TextureSource,
lambda?: LambdaSource<ShaderModule<SymbolTable>>,
constant?: any,
},
) => ParsedBundle<SymbolTable> | ParsedModule<SymbolTable>
packages / shader / src / wgsl / bind.ts