Share via


DisplayModeInfo.SourcePixelFormat Property

Definition

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.

Applies to