Skip to main content

Function: visualizeDepth()

visualizeDepth(depth, viewIndex): void

Defined in: src/depth/DepthDebugUtils.ts:9

Generates a visual representation of the current depth buffer on a Depth instance and triggers a download for debugging.

Parameters

depth

Depth

The depth subsystem instance.

viewIndex

number = 0

The depth view index to visualize.

Returns

void