cp_frame_timing_t
A type that stores information about a frame’s encoding, rendering, and presentation deadlines.
Declaration
typedef struct cp_frame_timing * cp_frame_timing_t;Discussion
Before you start drawing your frame’s content, retrieve the frame’s timing information using cp_frame_predict_timing. That function returns the latest predicted values for you to use during planning. After you retrieve the cp_drawable_t type for the frame, get the timing information from the drawable instead using frameTiming.