Overlayer

@objc(GSOverlayer)
public protocol Overlayer

Listener for rendering an overlay over a stream.

Such a listener can be passed to a ‘StreamView’ by setting ‘StreamView.overlayer’.

  • Called to render a GL overlay over a stream frame.

    Declaration

    Swift

    func overlay(renderPos: UnsafeRawPointer, contentPos: UnsafeRawPointer, histogram: Histogram?)

    Parameters

    renderPos

    Render position

    contentPos

    Content position

    histogram

    Frame histogram