Skip to main content

Module overlay

Module overlay 

Source
Expand description

PNG watermark overlay composited onto frames before encoding. PNG watermark overlay composited onto captured frames before encoding.

Supports static positioning (top-left, top-right, bottom-left, bottom-right, center) and an animated “DVD-screensaver” bounce mode. The watermark is rendered into the compositor frame on the GPU path (no readback) or blitted onto the host-ARGB buffer on the CPU path.

Structs§

OverlayState
The watermark’s uploaded pixels plus its current placement and bounce state, kept across frames so a moving (bouncing) watermark can be advanced and re-placed each tick without re-reading or re-uploading the image.

Enums§

WatermarkLocation
Watermark anchor: corners (TL/TR/BL/BR), middle (MI), or bouncing (AN).