Skip to main content
Version: Next

Interface: CameraPassthroughPipelineOptions

Defined in: react-native/webgpu/cameraPassthroughPipeline.ts:80

Options for createCameraPassthroughPipeline.

Properties​

cameraPixelLayout​

cameraPixelLayout: CameraPixelLayout

Defined in: react-native/webgpu/cameraPassthroughPipeline.ts:82

How the camera texture's samples are laid out; see CameraPixelLayout.


mirror?​

optional mirror: boolean

Defined in: react-native/webgpu/cameraPassthroughPipeline.ts:86

Mirror the camera horizontally (the usual selfie self-view convention). Defaults to false.


outputFormat?​

optional outputFormat: GPUTextureFormat

Defined in: react-native/webgpu/cameraPassthroughPipeline.ts:84

Render-target format. Defaults to getOutputSurfaceFormat (the Fishjam output surface).