Skip to content

IADLX3DWaitForVerticalRefresh

Navigation: ADLX SDK ReferencesADLX Interfaces3D Graphics

The IADLX3DWaitForVerticalRefresh interface configures the vertical refresh (VSync) settings of a GPU.

InterfaceId:IADLX3DWaitForVerticalRefresh
Smart Pointer Interface Name:IADLX3DWaitForVerticalRefreshPtr
Inherits:IADLXInterface
Inherited By:N/A

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.

Dependent Interfaces

VSync cannot be simultaneously enabled with AMD Radeon™ Enhanced Sync.

If VSync is enabled, the mutually exclusive features are automatically disabled.

When a mutually exclusive feature is re-enabled, its previous configuration settings are restored.

Methods

MethodDescription
GetModeGets the current VSync mode on a GPU.
IsEnabledChecks if VSync is enabled on a GPU.
IsSupportedChecks if VSync is supported on a GPU.
SetModeSets the VSync mode on a GPU.

Requirements

Headerinclude “I3DSettings.h”
Minimum version1.0

Example

To see how to use this interface in a C++ application, refer to the WaitForVerticalRefresh C++ sample.

For a C application, refer to the WaitForVerticalRefresh C sample.

Subpages

  • GetMode - Gets the current VSync mode on a GPU.
  • IsEnabled - Checks if VSync is enabled on a GPU.
  • IsSupported - Checks if VSync is supported on a GPU.
  • SetMode - Sets the VSync mode on a GPU.

API Reference

This page references: