DriftCapture · function

fuseDepth

Every view's surface written into volume, which accumulates rather than replaces.

Explained in DriftCapture.

function fuseDepth(views: readonly SurfaceView[], volume: Volume, options?: FuseOptions): void
import { fuseDepth } from '@driftengine/capture';

Parameters

ParameterTypeDescription
viewsreadonly SurfaceView[]
volumeVolume
options?FuseOptions

In depth

Calling this twice with two halves of the views is the same as calling it once with all of them, because a weighted mean is what each sample holds — which is what lets a clip be fused as it arrives rather than all at once.