Interface: CameraPassthroughPipeline
Defined in: react-native-custom-video-source/dist/typescript/webgpu/cameraPassthroughPipeline.d.ts:16
A ready-made full-screen camera→target render pipeline. Build once at setup with createCameraPassthroughPipeline; every field is safe to capture into the frame worklet.
Properties​
cameraShaderBindings​
readonlycameraShaderBindings:CameraShaderBindings
Defined in: react-native-custom-video-source/dist/typescript/webgpu/cameraPassthroughPipeline.d.ts:19
The camera shader bindings the pipeline samples through.
cropBindGroup​
readonlycropBindGroup:GPUBindGroup
Defined in: react-native-custom-video-source/dist/typescript/webgpu/cameraPassthroughPipeline.d.ts:23
Static bind group with the crop uniform.
cropParamsBuffer​
readonlycropParamsBuffer:GPUBuffer
Defined in: react-native-custom-video-source/dist/typescript/webgpu/cameraPassthroughPipeline.d.ts:21
Uniform buffer holding the packed FrameCropParams; written by encodeCameraPassthrough.
pipeline​
readonlypipeline:GPURenderPipeline
Defined in: react-native-custom-video-source/dist/typescript/webgpu/cameraPassthroughPipeline.d.ts:17