DisplayWireFormat 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定用于扫描的确切硬件表示形式;例如像素编码、每个通道的位数、颜色空间和 HDR 元数据格式。
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
- 继承
- 属性
Windows 要求
设备系列 |
Windows 10, version 1809 (在 10.0.17763.0 中引入)
|
API contract |
Windows.Foundation.UniversalApiContract (在 v7.0 中引入)
|
构造函数
DisplayWireFormat(DisplayWireFormatPixelEncoding, Int32, DisplayWireFormatColorSpace, DisplayWireFormatEotf, DisplayWireFormatHdrMetadata) |
从提供的属性值构造 DisplayWireFormat 对象。 |
属性
BitsPerChannel |
获取用于每个通道的位数,而不考虑色度子采样。 |
ColorSpace |
获取颜色格式。 |
Eotf |
指定对像素进行编码的 EOTF) (电光传输函数。 |
HdrMetadata |
指定静态或动态 HDR 主控元数据的格式。 |
PixelEncoding |
描述显示管道如何对像素进行编码,包括色度子采样。 |
Properties |
保留供将来使用。 |