Contents

AVCaptionRenderer.Scene

An object that holds a time range and an associated state which indicates when the renderer draws output.

Declaration

class Scene

Overview

To render a scene, the object considers state like the existence of captions and regions, their temporal overlaps, and whether captions use animation effects. Your app can request time ranges where visual differences exist and use these time ranges to optimize drawing performance, like drawing once per scene. Alternatively, it can ignore scenes, and instead call render(in:for:) repeatedly, but this may have additional performance impact.

Topics

Inspecting the scene

See Also

Determining scene changes