Skip to main content
Version: Next

Interface: GpuSegmentationInput

Defined in: core/types.ts:16

Properties​

commandEncoder​

readonly commandEncoder: GPUCommandEncoder

Defined in: core/types.ts:27


height​

readonly height: number

Defined in: core/types.ts:21


kind​

readonly kind: "gpu-texture"

Defined in: core/types.ts:17


texture​

readonly texture: GPUTextureView

Defined in: core/types.ts:26

The upright RGBA frame the effect composites this frame — the same view passed as VideoEffectFrame.source — so the mask lines up with the output by construction.


timestampUs​

readonly timestampUs: number

Defined in: core/types.ts:18


width​

readonly width: number

Defined in: core/types.ts:20

Dimensions of texture, in pixels.