Contents

CGDisplayIsInHWMirrorSet(_:)

Returns a Boolean value indicating whether a display is in a hardware mirroring set.

Declaration

func CGDisplayIsInHWMirrorSet(_ display: CGDirectDisplayID) -> boolean_t

Parameters

  • display:

    The identifier of the display to be accessed.

Return Value

If true, the specified display is a member of a hardware mirroring set; otherwise, false.

Discussion

When hardware mirroring is enabled, the contents of a single framebuffer are rendered in all displays in the hardware mirroring set. All drawing operations are directed to the primary display in the set—see CGDisplayPrimaryDisplay(_:).

For more information about display mirroring, see CGConfigureDisplayMirrorOfDisplay(_:_:_:).

See Also

Functions