Contents

LayerRenderer.Clock

A type that supports operations that require a precise time measurement.

Declaration

struct Clock

Overview

Use this type to perform time-related operations during the rendering of a frame. For example, call wait(until:tolerance:) to pause your render loop until the optimal rendering time arrives.

Topics

Putting the current thread to sleep

Creating a clock

See Also

Managing the rendering loop