type ViewContextProps = {
defs: UniformAttribute[],
uniforms: ViewUniforms,
layout?: GPUBindGroupLayout,
bind: (
passEncoder: GPURenderPassEncoder,
) => void,
cull:
(
center: vec3 | number[],
radius: number,
) => boolean | number,
}
packages / workbench / src / providers / view-provider.ts