- AMD Device Library eXtra
-
Programming with ADLX
- Overview
-
ADLX Programming Guide
-
ADLX Samples
- Overview
-
C++ Samples
- Overview
-
Display
- Display
- Display3DLUT
- DisplayBlanking
- DisplayColorDepth
- DisplayConnectivityExperience
- DisplayCustomColor
- DisplayCustomResolution
- DisplayEvents
- DisplayFreeSync
- DisplayGamma
- DisplayGamut
- DisplayGPUScaling
- DisplayHDCP
- DisplayInfo
- DisplayIntegerScaling
- DisplayPixelFormat
- DisplayScalingMode
- DisplayVariBright
- DisplayVSR
-
Performance Monitoring
-
Receiving Events Notifications
-
C Samples
- Overview
-
Display
- Display
- Display3DLUT
- DisplayBlanking
- DisplayColorDepth
- DisplayConnectivityExperience
- DisplayCustomColor
- DisplayCustomResolution
- DisplayEvents
- DisplayFreeSync
- DisplayGamma
- DisplayGamut
- DisplayGPUScaling
- DisplayHDCP
- DisplayInfo
- DisplayIntegerScaling
- DisplayPixelFormat
- DisplayScalingMode
- DisplayVariBright
- DisplayVSR
-
Performance Monitoring
-
Receiving Events Notifications
-
ADLX SDK References
- Overview
-
ADLX Helpers
-
ADLX Interfaces
- Overview
-
3D Graphics
- 3D Graphics
-
iadlx3danisotropicfiltering
-
iadlx3dantialiasing
-
iadlx3dframeratetargetcontrol
-
iadlx3dimagesharpening
-
iadlx3dradeonsuperresolution
-
iadlx3dsettingschangedevent
- IADLX3DSettingsChangedEvent
- GetGPU
- IsAnisotropicFilteringChanged
- IsAntiAliasingChanged
- IsAntiLagChanged
- IsBoostChanged
- IsChillChanged
- IsEnhancedSyncChanged
- IsFrameRateTargetControlChanged
- IsImageSharpeningChanged
- IsMorphologicalAntiAliasingChanged
- IsRadeonSuperResolutionChanged
- IsResetShaderCache
- IsTessellationModeChanged
- IsWaitForVerticalRefreshChanged
-
iadlx3dsettingschangedhandling
-
iadlx3dsettingsservices
-
Display
- Display
-
iadlxdisplay3dlut
- IADLXDisplay3DLUT
- ClearUser3DLUT
- GetAllUser3DLUT
- GetHDRUser3DLUT
- GetSCEDynamicContrast
- GetSCEDynamicContrastRange
- GetSDRUser3DLUT
- GetUser3DLUTIndex
- IsCurrentSCEDisabled
- IsCurrentSCEDynamicContrast
- IsCurrentSCEVividGaming
- IsSupportedSCE
- IsSupportedSCEDynamicContrast
- IsSupportedSCEVividGaming
- IsSupportedUser3DLUT
- SetAllUser3DLUT
- SetHDRUser3DLUT
- SetSCEDisabled
- SetSCEDynamicContrast
- SetSCEVividGaming
- SetSDRUser3DLUT
-
iadlxdisplay3dlutchangedevent
-
iadlxdisplayblanking
-
iadlxdisplaychangedhandling
- IADLXDisplayChangedHandling
- AddDisplay3DLUTEventListener
- AddDisplayGammaEventListener
- AddDisplayGamutEventListener
- AddDisplayListEventListener
- AddDisplaySettingsEventListener
- RemoveDisplay3DLUTEventListener
- RemoveDisplayGammaEventListener
- RemoveDisplayGamutEventListener
- RemoveDisplayListEventListener
- RemoveDisplaySettingsEventListener
-
iadlxdisplayconnectivityexperience
- IADLXDisplayConnectivityExperience
- GetDPLinkRate
- GetNumberOfActiveLanes
- GetNumberOfTotalLanes
- GetRelativePreEmphasis
- GetRelativeVoltageSwing
- IsEnabledHDMIQualityDetection
- IsEnabledLinkProtection
- IsSupportedDPLink
- IsSupportedHDMIQualityDetection
- SetEnabledHDMIQualityDetection
- SetRelativePreEmphasis
- SetRelativeVoltageSwing
-
iadlxdisplaycustomcolor
- IADLXDisplayCustomColor
- GetBrightness
- GetBrightnessRange
- GetContrast
- GetContrastRange
- GetHue
- GetHueRange
- GetSaturation
- GetSaturationRange
- GetTemperature
- GetTemperatureRange
- IsBrightnessSupported
- IsContrastSupported
- IsHueSupported
- IsSaturationSupported
- IsTemperatureSupported
- SetBrightness
- SetContrast
- SetHue
- SetSaturation
- SetTemperature
-
iadlxdisplaycustomresolution
-
iadlxdisplaygamma
- IADLXDisplayGamma
- GetGammaCoefficient
- GetGammaRamp
- IsCurrentDeGammaRamp
- IsCurrentReGamma36
- IsCurrentReGammaBT709
- IsCurrentRegammaCoefficient
- IsCurrentReGammaPQ
- IsCurrentReGammaPQ2084Interim
- IsCurrentReGammaRamp
- IsCurrentReGammaSRGB
- IsSupportedReGamma36
- IsSupportedReGammaBT709
- IsSupportedReGammaPQ
- IsSupportedReGammaPQ2084Interim
- IsSupportedReGammaSRGB
- ResetGammaRamp
- SetDeGammaRamp
- SetReGamma36
- SetReGammaBT709
- SetReGammaCoefficient
- SetReGammaPQ
- SetReGammaPQ2084Interim
- SetReGammaRamp
- SetReGammaSRGB
-
iadlxdisplaygammachangedevent
-
Miscellaneous
-
Performance Monitoring
-
Legal Information and Compliance/Disclaimers
GetMode
Navigation: ADLX SDK References → ADLX Interfaces → 3D Graphics → IADLX3DWaitForVerticalRefresh
Syntax
ADLX_RESULT GetMode (ADLX_WAIT_FOR_VERTICAL_REFRESH_MODE* currentMode)
Parameters
| # | Direction | Name | Type | Description |
|---|---|---|---|---|
| 1. | [out] | currentMode | ADLX_WAIT_FOR_VERTICAL_REFRESH_MODE | The pointer to a variable where the current VSync mode is returned. |
Return Value
If the current VSync mode is successfully returned, ADLX_OK is returned.
If the current VSync mode is not successfully returned, an error code is returned.
Refer to ADLX_RESULT for success codes and error codes.
Additional Info
VSync synchronizes the transition to a new frame of animation with the display update so no tearing is visible between frames.
Limits the frame rate at the display’s refresh rate.
Note: VSync configuration is dependent on the state of AMD Radeon™ Enhanced Sync.
If AMD Radeon Enhanced Sync is enabled, VSync is automatically disabled.
If AMD Radeon Enhanced Sync is disabled, VSync is automatically enabled.
Requirements
| Header | include “I3DSettings.h” |
|---|---|
| Minimum version | 1.0 |