DisplayWireFormat Class

Definition

Specifies an exact hardware representation used to scan out; such as the pixel encoding, bits per channel, color space, and HDR metadata format.

public ref class DisplayWireFormat sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Display.Core.IDisplayWireFormatFactory, 458752, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DisplayWireFormat final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Display.Core.IDisplayWireFormatFactory), 458752, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DisplayWireFormat
function DisplayWireFormat(pixelEncoding, bitsPerChannel, colorSpace, eotf, hdrMetadata)
Public NotInheritable Class DisplayWireFormat
Inheritance
Object Platform::Object IInspectable DisplayWireFormat
Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Constructors

DisplayWireFormat(DisplayWireFormatPixelEncoding, Int32, DisplayWireFormatColorSpace, DisplayWireFormatEotf, DisplayWireFormatHdrMetadata)

Constructs a DisplayWireFormat object from the supplied property values.

Properties

BitsPerChannel

Gets the number of bits used for each channel, without regard for chroma subsampling.

ColorSpace

Gets the color format.

Eotf

Specifies the electro-optical transfer function (EOTF) that pixels are encoded for.

HdrMetadata

Specifies the format for static or dynamic HDR mastering metadata.

PixelEncoding

Describes how pixels are encoded by the display pipeline, including chroma subsampling.

Properties

Reserved for future use.

Methods

CreateWithProperties(IIterable<KeyValuePair<Guid,Object>>, DisplayWireFormatPixelEncoding, Int32, DisplayWireFormatColorSpace, DisplayWireFormatEotf, DisplayWireFormatHdrMetadata)

Creates an instance of DisplayWireFormat with the extra properties provided.

Applies to