IDXGIFactory5::CheckFeatureSupport method

Used to check for hardware feature support.

Syntax

HRESULT CheckFeatureSupport(
  DXGI_FEATURE Feature,
  void         *pFeatureSupportData,
  UINT         FeatureSupportDataSize
);

Parameters

Feature

Type: DXGI_FEATURE

Specifies one member of DXGI_FEATURE to query support for.

pFeatureSupportData

Type: void*

Specifies a pointer to a buffer that will be filled with data that describes the feature support.

FeatureSupportDataSize

Type: UINT

The size, in bytes, of pFeatureSupportData.

Return Value

Type: HRESULT

This method returns an HRESULT success or error code.

Remarks

Refer to the description of DXGI_SWAP_CHAIN_FLAG_ALLOW_TEARING.

Requirements

   
Target Platform Windows
Header dxgi1_5.h
Library Dxgi.lib

See Also

IDXGIFactory5