Coalesces and clears pending worker sync ops. Mesh geometry is copied so the returned buffers can be transferred without detaching store data.
Optionalmatrix: Mat4Optionalmatrix: Mat4Optionalmatrix: Mat4Registers a triangle-mesh occluder. Geometry is snapshotted at lock time
as unique vertices + indices. The same pc.Mesh is interned and shared.
If source is a MeshInstance and matrix is omitted, the node's world transform is used.
Optionalmatrix: Mat4Registers a triangle-mesh occluder from raw xyz positions.
indices are optional; without them positions is treated as a triangle soup.
Optionalindices: ArrayLike<number> | nullOptionalmatrix: Mat4Optionalmatrix: Mat4Optionalmatrix: Mat4
Unique-mesh registry plus per-occluder type/matrix/meshId. Geometry for the same
pc.Meshis stored once; instances only keep a mesh id. Dirty ops are drained by SoftwareOcclusionTester for worker sync.