Contents

init(mergedUpdateFirstUpdate:secondUpdate:)

Combines two updates into a new update that includes the metadata for both source updates.

Declaration

init?(mergedUpdateFirstUpdate firstUpdate: CGDisplayStreamUpdate?, secondUpdate: CGDisplayStreamUpdate?)

Parameters

Return Value

A new update that contains the union of the information stored in the two source updates.

Discussion

If your app needs to drop a frame without processing it, use this function to merge that frame’s update data with the data provided for a later frame update.

See Also

Functions