Interface: CameraFrameInfo
Defined in: react-native/webgpu/cameraFrameProcessorSession.ts:42
What the per-frame worklet needs to know about the camera frame beyond the GPU textures the render context already carries: its timestamp, which camera produced it, and its dimensions. A plain object so it copies into the frame runtime.
Properties​
height​
readonlyheight:number
Defined in: react-native/webgpu/cameraFrameProcessorSession.ts:48
isFrontCamera​
readonlyisFrontCamera:boolean
Defined in: react-native/webgpu/cameraFrameProcessorSession.ts:46
Whether the frame came from the front (self-view) camera.
rotationDegrees​
readonlyrotationDegrees:0|90|180|270
Defined in: react-native/webgpu/cameraFrameProcessorSession.ts:50
Clockwise rotation applied to bring the frame upright at import.
timestampNanoseconds​
readonlytimestampNanoseconds:number
Defined in: react-native/webgpu/cameraFrameProcessorSession.ts:44
Presentation timestamp of this frame, in nanoseconds.
width​
readonlywidth:number
Defined in: react-native/webgpu/cameraFrameProcessorSession.ts:47