@pixi/3d
    Preparing search index...

    Type Alias CullMode

    CullMode: "off" | "cpu" | "gpu"

    How a view or a BatchedMesh3D skips what's outside the camera's view

    • 'gpu': culls on the GPU, off the main thread. WebGL, and Safari or any iOS browser for all but very large batches, cull on the CPU instead. So do blended meshes, which draw sorted back to front.
    • 'cpu': culls on the CPU every frame. Can suit a frame that waits on the GPU.
    • 'off': draws everything. Suits a scene that always fits in view.

    A skinned mesh is tested at its bind pose, so an animation that carries it far from that pose can make it vanish near the edge of the screen. Use 'off' for a view that shows one.

    const view = new View3D({ cull: 'cpu' });