const getMinBindingSize: (
attribute: {
format: UniformFormat,
type?: ShaderType,
},
source?: {
format: UniformFormat,
type?: ShaderType,
},
) => any
Compute minimum binding size in bytes for a given attribute.
packages / core / src / bindgroup.ts