Rediger

MF_SA_D3D12_AWARE attribute

Specifies whether a Media Foundation transform (MFT) supports Microsoft Direct3D 12.

Data type

BOOL stored as UINT32

Remarks

This attribute applies only to video MFTs. To query this attribute, call IMFTransform::GetAttributes to get the MFT attribute store. If GetAttributes succeeds, call IMFAttributes::GetUINT32.

  • If the attribute is nonzero, the MFT supports Direct3D 12 resources.
  • If this attribute is zero (FALSE), the MFT does not support Direct3D 12.

The default value of this attribute is FALSE. Treat this attribute as read-only. Do not change the value; the MFT will ignore any changes to the value.

Requirements

Requirement Value
Minimum supported client
Windows 10
Minimum supported server
Windows Server 2016
Header
Mfd3d12.h

See also

Alphabetical List of Media Foundation Attributes

MF_SA_D3D11_AWARE