Redigera

Dela via


MF_SA_D3D11_AWARE attribute

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

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 client can give the MFT a pointer to the IMFDXGIDeviceManager interface before streaming starts. To do so, the client sends the MFT_MESSAGE_SET_D3D_MANAGER message to the MFT. The client is not required to send this message.
  • If this attribute is zero (FALSE), the MFT does not support Direct3D 11, and the client should not send the MFT_MESSAGE_SET_D3D_MANAGER message to the MFT.

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 8 [desktop apps | UWP apps]
Minimum supported server
Windows Server 2012 [desktop apps | UWP apps]
Header
Mftransform.h

See also

Alphabetical List of Media Foundation Attributes

Supporting Direct3D 11 Video Decoding in Media Foundation