IDXGIDisplayControl interface (dxgi1_2.h)
The IDXGIDisplayControl interface exposes methods to indicate user preference for the operating system's stereoscopic 3D display behavior and to set stereoscopic 3D display status to enable or disable.
We recommend that you not use IDXGIDisplayControl to query or set system-wide stereoscopic 3D settings in your stereoscopic 3D apps. Instead, for your windowed apps, call the IDXGIFactory2::IsWindowedStereoEnabled method to determine whether to render in stereo; for your full-screen apps, call the IDXGIOutput1::GetDisplayModeList1 method and then determine whether any of the returned display modes support rendering in stereo.
Inheritance
The IDXGIDisplayControl interface inherits from the IUnknown interface. IDXGIDisplayControl also has these types of members:
Methods
The IDXGIDisplayControl interface has these methods.
IDXGIDisplayControl::IsStereoEnabled Retrieves a Boolean value that indicates whether the operating system's stereoscopic 3D display behavior is enabled. |
IDXGIDisplayControl::SetStereoEnabled Set a Boolean value to either enable or disable the operating system's stereoscopic 3D display behavior. |
Remarks
IDXGIDisplayControl * pDXGIDisplayControl;
hr = g_pDXGIFactory->QueryInterface(__uuidof(IDXGIDisplayControl), (void **)&pDXGIDisplayControl);
The operating system processes changes to stereo-enabled configuration asynchronously. Therefore, these changes might not be immediately visible in every process that calls IDXGIDisplayControl::IsStereoEnabled to query for stereo configuration. Control applets can use the IDXGIFactory2::RegisterStereoStatusEvent or IDXGIFactory2::RegisterStereoStatusWindow method to register for notifications of all stereo configuration changes.
Platform Update for Windows 7: Stereoscopic 3D display behavior isn’t available with the Platform Update for Windows 7. For more info about the Platform Update for Windows 7, see Platform Update for Windows 7.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 and Platform Update for Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | dxgi1_2.h |