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): voidimport { fuseDepth } from '@driftengine/capture';Parameters
| Parameter | Type | Description |
|---|---|---|
views | readonly SurfaceView[] | |
volume | Volume | |
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.