Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 1.44 KB

mf-mt-alpha-mode.md

File metadata and controls

37 lines (22 loc) · 1.44 KB
description ms.assetid title ms.topic ms.date
Specifies whether the alpha mode for color media video types is premultiplied or straight.
A263C3F7-357B-426D-B38C-533F9F6A1262
MF_MT_ALPHA_MODE attribute (Mfapi.h)
reference
05/31/2018

MF_MT_ALPHA_MODE attribute

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Specifies whether the alpha mode for color media video types is premultiplied or straight.

Data type

UINT32

Remarks

This value can be cast to a DXGI_ALPHA_MODE value. If this attribute isn’t present, for backward compatibility, the value is DXGI_ALPHA_MODE_STRAIGHT for video format supporting alpha channel, such as ARGB32, or DXGI_ALPHA_MODE_IGNORE for video format without alpha channel, such as RGB32.

Requirements

Requirement Value
Minimum supported client
Windows 10, version 1709 [desktop apps only]
Minimum supported server
Windows Server, version 1709 [desktop apps only]
Header
Mfapi.h