Skip to main content
Version: Next

Interface: CameraPassthroughPipeline

Defined in: src/webgpu/cameraPassthroughPipeline.ts:78

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​

readonly cameraShaderBindings: CameraShaderBindings

Defined in: src/webgpu/cameraPassthroughPipeline.ts:81

The camera shader bindings the pipeline samples through.


cropBindGroup​

readonly cropBindGroup: GPUBindGroup

Defined in: src/webgpu/cameraPassthroughPipeline.ts:85

Static bind group with the crop uniform.


cropParamsBuffer​

readonly cropParamsBuffer: GPUBuffer

Defined in: src/webgpu/cameraPassthroughPipeline.ts:83

Uniform buffer holding the packed FrameCropParams; written by encodeCameraPassthrough.


pipeline​

readonly pipeline: GPURenderPipeline

Defined in: src/webgpu/cameraPassthroughPipeline.ts:79