Skip to main content

Interface: XBDepthOptionsLike

Defined in: xrblocks-environment/src/xrblocks.ts:35

DepthOptions, of which this adapter writes only the blur flags.

The session preferences (usagePreference, dataFormatPreference, depthTypeRequest, matchDepthView) are here because XR Blocks is the one host that exposes them - but XR Blocks reads them when it requests the session, so writing them afterwards would be a lie. This adapter reports what it could not honour instead.

Properties

PropertyTypeDefined in
dataFormatPreference?readonly string[]xrblocks-environment/src/xrblocks.ts:45
depthTexture?{ applyGaussianBlur?: boolean; applyKawaseBlur?: boolean; constantKernel?: boolean; enabled?: boolean; }xrblocks-environment/src/xrblocks.ts:38
depthTexture.applyGaussianBlur?booleanxrblocks-environment/src/xrblocks.ts:41
depthTexture.applyKawaseBlur?booleanxrblocks-environment/src/xrblocks.ts:42
depthTexture.constantKernel?booleanxrblocks-environment/src/xrblocks.ts:40
depthTexture.enabled?booleanxrblocks-environment/src/xrblocks.ts:39
depthTypeRequest?readonly string[]xrblocks-environment/src/xrblocks.ts:46
enabled?booleanxrblocks-environment/src/xrblocks.ts:36
matchDepthView?booleanxrblocks-environment/src/xrblocks.ts:47
occlusion?{ enabled?: boolean; }xrblocks-environment/src/xrblocks.ts:37
occlusion.enabled?booleanxrblocks-environment/src/xrblocks.ts:37
usagePreference?readonly string[]xrblocks-environment/src/xrblocks.ts:44