Adds the object to the queue for occlusion testing.
The unique identifier returned earlier by the lock() method.
The slot value obtained from device.getIndirectDrawSlot or your internal index.
The mesh primitive for draw.
The number of instances to draw.
The first instance to draw.
Optionalextra: number | number[]
The extra data.
A queue index, or -1 if internal verification inconsistencies occur (e.g., the tester is unavailable or waiting for synchronization).
Runs an occlusion check for the specified camera.
The camera
OptionalupdateParams: boolean
When true, refresh view-projection (and related) uniforms from the camera.
Registers a BoundingBox for subsequent occlusion testing.
The bounds of the object in local or world coordinates.
Optionalmatrix: Mat4
Optional transformation matrix (if a local BoundingBox is used).
Optionalextra1: number
Optional extra data 1.
Optionalextra2: number
Optional extra data 2.
A unique identifier for the registered object.
Registers a BoundingBox for subsequent occlusion testing.
The array containing the bounding box data (min and max points) in local or world coordinates [minX, maxX, minY, maxY, minZ, maxZ].
The offset in the array where the bounding box data starts.
Optionalmatrix: Mat4
Optional transformation matrix (if a local BoundingBox is used).
Optionalextra1: number
Optional extra data 1.
Optionalextra2: number
Optional extra data 2.
A unique identifier for the registered object.
Releases a previously registered identifier and removes associated data.
The unique identifier obtained from the lock() call.
Interface for working with an occlusion culling testing system. Allows registering BoundingBox objects, enqueueing them for testing, and checking if the object is occluded by other scene geometry.