Skip to main content

RendererOptions

Extended by

Properties

PropertyTypeDefault valueDescription
backend"webgl" | "webgpu"undefinedBackend to render background effects
backgroundBlurAmountnumberundefinedBetween 0 and 10
backgroundImageUrlstringundefined-
edgeBlurAmountnumber3Range in between 0 and 20
effects"blur" | "none" | "overlay"undefinedEffects
foregroundThresholdnumberundefinedConfident score threshold to be considered as the foreground between 0 and 1
maskCombineRationumberundefinedThe ratio used for smoothing the mask between 0 and 1