Skip to content

GetFPS

Navigation: ADLX SDK ReferencesADLX Interfaces3D GraphicsIADLX3DFrameRateTargetControl

Syntax

ADLX_RESULT    GetFPS (adlx_int* currentFPS)

Parameters

#DirectionNameTypeDescription
1.[out]currentFPSadlx_int*The pointer to a variable where the current FPS value of AMD Frame Rate Target Control is returned.

Return Value

If the current FPS is successfully returned, ADLX_OK is returned.

If the current FPS is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Additional Info

AMD Frame Rate Target Control sets a user-defined target maximum frame rate in full-screen applications to reduce GPU power consumption.

Gaming quality is maintained while GPU power consumption, noise, and heat levels are reduced when running games at higher FPS than the display refresh rate.

Requirements

Headerinclude “I3DSettings.h”
Minimum version1.0