DisplayModeInfo.SourcePixelFormat Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the pixel format of the surfaces that will be allowed to present to this DisplayModeInfo.
public:
property DirectXPixelFormat SourcePixelFormat { DirectXPixelFormat get(); };
DirectXPixelFormat SourcePixelFormat();
public DirectXPixelFormat SourcePixelFormat { get; }
var directXPixelFormat = displayModeInfo.sourcePixelFormat;
Public ReadOnly Property SourcePixelFormat As DirectXPixelFormat
Property Value
A DirectXPixelFormat value.
Remarks
This property can remain at its default value (DirectXPixelFormat::Unknown) in order to allow the system to fill it in during a call to TryApply or TryFunctionalize.