OverlayContext

@objc(GSOverlayContext)
public protocol OverlayContext

Overlay context data.

  • Area where the frame was rendered (including any padding introduced by scaling).

    Declaration

    Swift

    var renderZone: CGRect { get }
  • Render zone handle; pointer of const struct pdraw_rect.

    Declaration

    Swift

    var renderZoneHandle: UnsafeRawPointer { get }
  • Area where frame content was rendered (excluding any padding introduced by scaling).

    Declaration

    Swift

    var contentZone: CGRect { get }
  • Content zone handle; pointer of const struct pdraw_rect.

    Declaration

    Swift

    var contentZoneHandle: UnsafeRawPointer { get }
  • Session info handle; pointer of const struct pdraw_session_info.

    Declaration

    Swift

    var sessionInfoHandle: UnsafeRawPointer { get }
  • Session metadata handle; pointer of const struct vmeta_session.

    Declaration

    Swift

    var sessionMetadataHandle: UnsafeRawPointer { get }
  • Session metadata handle; pointer of const struct vmeta_session.

    Declaration

    Swift

    var frameMetadataHandle: UnsafeRawPointer? { get }
  • Histogram.

    Declaration

    Swift

    var histogram: Histogram? { get }