const makeRefBinding: <T extends ShaderModule>(
uniform: UniformAttribute | UniformAttributeValue,
value?: { current: T } | T,
) => DataBinding<T>
Make a binding for a wrapped value (a ref) for use with a given uniform/attribute.
packages / core / src / binding.ts