CropTextureInput
class provides a simple primitive for recording video frames from Texture
objects while cropping the frame so that only a region of interest is encoded to the output recording.input
which receives cropped frame textures. The backing input will then forward these frames to the recorder.cropRect
field. The rect is always initialized to the frame size of the recorder, thereby corresponding to no cropping.aspectMode
determines how aspect ratio mismatches should be handled. This allows you to stretch the cropped frame, letter- or pillar-box, or fill the frame.ITextureInput
interface for more information.