API reference

VideoFrameSize Struct

Extends Sendable
Represents the width and height of a video frame in pixels.

Signature

struct VideoFrameSize: Sendable

Constructors

init ( width , height )
Creates a new video frame size with the specified dimensions.
Signature
public init( width: UInt,  height: UInt)
Parameters
width: UInt  The width of the video frame in pixels.
height: UInt  The height of the video frame in pixels.

Properties

height : UInt
The height of the video frame in pixels.
width : UInt
The width of the video frame in pixels.