const bundleToAttribute: ( shader: ShaderModule, name?: string, ) => UniformAttribute
Convert a bundle with a defined entry point to a definition for that attribute or type.
packages / shader / src / wgsl / shader.ts