type DataBinding<T = any, S extends ShaderModule = any> = {
uniform: UniformAttribute,
storage?: StorageSource<any>,
texture?: TextureSource,
lambda?: LambdaSource<S>,
constant?:
() => T | { expr: () => T } | { current: T } | NonNullable<T>,
}
packages / core / src / types.ts