ScnLib_GetGameFrameRate()

ScnLib_GetGameFrameRate()

Std EditionPro EditionMax EditionUltra Edition
C++ __declspec(dllimport) int __stdcall ScnLib_GetGameFrameRate(void);
C# [DllImport("ScnLib.dll")] public static extern int ScnLib_GetGameFrameRate();
Basic Public Declare Function ScnLib_GetGameFrameRate Lib "ScnLib.dll" () As Int32
Delphi function ScnLib_GetGameFrameRate(): Integer; stdcall; external 'ScnLib.dll';
  • Description
    Obtain the rendering frame rate of the game screen currently being captured via the API-hook method.

  • Parameters
    None.

  • Return Value
    The rendering frame rate of the game screen currently being captured, measured in fps (frames per second). A zero value signifies that no game screen is currently being captured via the API-hook method, or the actual rendering frame rate is lower than 1fps.

  • Remarks
    Use this function to obtain the rendering frame rate of the game screen currently being captured via the API-hook method.

  • See Also
    ScnLib_EnableGameCaptureMode()
    ScnLib_ShowInGameOverlay()

Try the SDK for FREE SDK APIs overview