WatermarkTextureInput
class provides a simple primitive for recording video frames from Texture
objects while applying a watermark image to the recording.input
which receives watermarked frame textures. The backing input will then forward these frames to the recorder.Texture
object. If it is null
, then no watermark is rendered.rect
field. The rect is always initialized to the frame size of the recorder, thereby filling the screen with the watermark.aspectMode
determines how aspect ratio mismatches should be handled. This allows you to stretch the cropped frame, letter- or pillar-box, or fill the watermark.ITextureInput
interface for more information.