@pmndrs/bvh
    Preparing search index...

    Interface QuantizeJob

    A prepared pass over fixed buffers and meshes: dispatch it as often as needed, destroy it when done.

    interface QuantizeJob {
        threadCount: number;
        destroy(): void;
        dispatch(pass: GPUComputePassEncoder): void;
        encode(encoder: GPUCommandEncoder): void;
    }
    Index
    threadCount: number
    • Frees the job's table and uniform (after the work that uses them is submitted).

      Returns void

    • Records the pass into an open compute pass.

      Parameters

      • pass: GPUComputePassEncoder

      Returns void

    • Records the pass in a compute pass of its own.

      Parameters

      • encoder: GPUCommandEncoder

      Returns void