Taos API Reference
    Preparing search index...

    Interface GpuCullDeps

    interface GpuCullDeps {
        bounds: ResourceHandle;
        args: ResourceHandle;
        hiz?: ResourceHandle;
    }
    Index

    Properties

    Properties

    Per-instance world bounding spheres (vec4 center.xyz + radius), storage-read. A negative radius means "never cull" (kept regardless of frustum / Hi-Z).

    Indirect args buffer (5×u32 per instance). This pass writes only the instanceCount field; the caller fills the rest and resets instanceCount to its visible value each frame before this pass runs.

    Optional Hi-Z pyramid (from HiZPass) for occlusion culling. Omit for frustum-only culling.