Taos API Reference
    Preparing search index...

    Class GpuCullPass

    Hierarchy (View Summary)

    Index

    Properties

    name: "GpuCullPass" = 'GpuCullPass'

    Human-readable identifier used in graph node labels and error messages.

    Methods

    • Per-frame parameters.

      Parameters

      • viewProj: Mat4

        Camera view-projection that produced the Hi-Z depth (use the un-jittered VP for stable culling).

      • count: number

        Number of instances (= entries in the bounds/args buffers).

      • hizWidth: number

        Hi-Z mip-0 width (ignored when no Hi-Z).

      • hizHeight: number

        Hi-Z mip-0 height (ignored when no Hi-Z).

      • hizMips: number

        Hi-Z mip count, or 0 to disable occlusion (frustum only).

      • reversedZ: boolean

        Whether the depth buffer is reversed-Z.

      Returns void