DirectX Graphics API Reference

IDXGIOutput1 Interface

This interface extends the IDXGIOutput interface to support advanced output capabilities, particularly for high-color-depth displays and stereo 3D rendering.

interface IDXGIOutput1 : IDXGIOutput {
    // Inherited from IDXGIOutput
    // HRESULT GetDesc(DXGI_OUTPUT_DESC *pDesc);
    // HRESULT GetDisplayModeList(DXGI_FORMAT EnumFormat, UINT Flags, UINT *pNumModes, DXGI_MODE_DESC *pDesc);
    // HRESULT FindClosestMatchingMode(const DXGI_MODE_DESC *pModeToMatch, DXGI_MODE_DESC *pClosestMatch, IUnknown *pConcernedDevice);
    // HRESULT EnumerateAdvancedColorRegions(UINT Producer, UINT *pFlags, DXGI_ADVANCED_COLOR_REGION *pRegions);
    // HRESULT DuplicateOutput(IUnknown *pDevice, IDXGIOutputDuplication **ppOutputDuplication);

    // New methods for IDXGIOutput1
    HRESULT GetDesc1(DXGI_OUTPUT_DESC1 *pDesc);
    HRESULT GetDisplaySurfaceData1(IDXGIResource *pDestination);
    HRESULT DuplicateOutput1(IUnknown *pDevice, UINT OverlayWidth, UINT OverlayHeight, DXGI_FORMAT OverlayFormat, BOOL ConstrainWatermark, IDXGIOutputDuplication **ppOutputDuplication);
};

Methods

Remarks

To obtain a pointer to an IDXGIOutput1 interface, call the QueryInterface method on an IDXGIOutput interface.

The IDXGIOutput1 interface is used for scenarios requiring advanced color capabilities or stereo 3D rendering. It extends the functionality of IDXGIOutput by providing methods to access more detailed output descriptions and manage desktop duplication with enhanced options.

See Also