gdk.frame_timings

Module for [FrameTimings] class

Types 1

A gdk.frame_timings.FrameTimings object holds timing information for a single frame of the application’s displays.

To retrieve gdk.frame_timings.FrameTimings objects, use gdk.frame_clock.FrameClock.getTimings or gdk.frame_clock.FrameClock.getCurrentTimings. The information in gdk.frame_timings.FrameTimings is useful for precise synchronization of video with the event or audio streams, and for measuring quality metrics for the application’s display, such as latency and jitter.

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup) nothrow
GType _getGType() static nothrow
GType _gType() @property nothrow
FrameTimings self() nothrowReturns `this`, for use in `with` statements.
bool getComplete() nothrowReturns whether timings are complete.
long getFrameCounter() nothrowGets the frame counter value of the [gdk.frame_clock.FrameClock] when this frame was drawn. Returns: the frame counter value for this frame
long getFrameTime() nothrowReturns the frame time for the frame.
long getPredictedPresentationTime() nothrowGets the predicted time at which this frame will be displayed.
long getPresentationTime() nothrowReurns the presentation time.
long getRefreshInterval() nothrowGets the natural interval between presentation times for the display that this frame was displayed on.
Constructors
this(void * ptr, Flag!"Take" take)