Table of Contents

Class FrameClock

Namespace
Gdk.Internal
Assembly
Gdk-4.0.dll
public class FrameClock
Inheritance
FrameClock
Inherited Members

Methods

BeginUpdating(IntPtr)

Calls native method gdk_frame_clock_begin_updating.

public static extern void BeginUpdating(IntPtr frameClock)

Parameters

frameClock IntPtr

Transfer ownership: None Nullable: False

EndUpdating(IntPtr)

Calls native method gdk_frame_clock_end_updating.

public static extern void EndUpdating(IntPtr frameClock)

Parameters

frameClock IntPtr

Transfer ownership: None Nullable: False

GetCurrentTimings(IntPtr)

Calls native method gdk_frame_clock_get_current_timings.

public static extern FrameTimingsUnownedHandle GetCurrentTimings(IntPtr frameClock)

Parameters

frameClock IntPtr

Transfer ownership: None Nullable: False

Returns

FrameTimingsUnownedHandle

Transfer ownership: None Nullable: True

GetFps(IntPtr)

Calls native method gdk_frame_clock_get_fps.

public static extern double GetFps(IntPtr frameClock)

Parameters

frameClock IntPtr

Transfer ownership: None Nullable: False

Returns

double

Transfer ownership: None Nullable: False

GetFrameCounter(IntPtr)

Calls native method gdk_frame_clock_get_frame_counter.

public static extern long GetFrameCounter(IntPtr frameClock)

Parameters

frameClock IntPtr

Transfer ownership: None Nullable: False

Returns

long

Transfer ownership: None Nullable: False

GetFrameTime(IntPtr)

Calls native method gdk_frame_clock_get_frame_time.

public static extern long GetFrameTime(IntPtr frameClock)

Parameters

frameClock IntPtr

Transfer ownership: None Nullable: False

Returns

long

Transfer ownership: None Nullable: False

GetGType()

Calls native function gdk_frame_clock_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetHistoryStart(IntPtr)

Calls native method gdk_frame_clock_get_history_start.

public static extern long GetHistoryStart(IntPtr frameClock)

Parameters

frameClock IntPtr

Transfer ownership: None Nullable: False

Returns

long

Transfer ownership: None Nullable: False

GetRefreshInfo(IntPtr, long, out long, out long)

Calls native method gdk_frame_clock_get_refresh_info.

public static extern void GetRefreshInfo(IntPtr frameClock, long baseTime, out long refreshIntervalReturn, out long presentationTimeReturn)

Parameters

frameClock IntPtr

Transfer ownership: None Nullable: False

baseTime long

Transfer ownership: None Nullable: False

refreshIntervalReturn long

Transfer ownership: Full Nullable: False

presentationTimeReturn long

Transfer ownership: Full Nullable: False

GetTimings(IntPtr, long)

Calls native method gdk_frame_clock_get_timings.

public static extern FrameTimingsUnownedHandle GetTimings(IntPtr frameClock, long frameCounter)

Parameters

frameClock IntPtr

Transfer ownership: None Nullable: False

frameCounter long

Transfer ownership: None Nullable: False

Returns

FrameTimingsUnownedHandle

Transfer ownership: None Nullable: True

RequestPhase(IntPtr, FrameClockPhase)

Calls native method gdk_frame_clock_request_phase.

public static extern void RequestPhase(IntPtr frameClock, FrameClockPhase phase)

Parameters

frameClock IntPtr

Transfer ownership: None Nullable: False

phase FrameClockPhase

Transfer ownership: None Nullable: False