共用方式為


DisplayWireFormat 建構函式

定義

從提供的屬性值建構 DisplayWireFormat 物件。

public:
 DisplayWireFormat(DisplayWireFormatPixelEncoding pixelEncoding, int bitsPerChannel, DisplayWireFormatColorSpace colorSpace, DisplayWireFormatEotf eotf, DisplayWireFormatHdrMetadata hdrMetadata);
 DisplayWireFormat(DisplayWireFormatPixelEncoding const& pixelEncoding, int const& bitsPerChannel, DisplayWireFormatColorSpace const& colorSpace, DisplayWireFormatEotf const& eotf, DisplayWireFormatHdrMetadata const& hdrMetadata);
public DisplayWireFormat(DisplayWireFormatPixelEncoding pixelEncoding, int bitsPerChannel, DisplayWireFormatColorSpace colorSpace, DisplayWireFormatEotf eotf, DisplayWireFormatHdrMetadata hdrMetadata);
function DisplayWireFormat(pixelEncoding, bitsPerChannel, colorSpace, eotf, hdrMetadata)
Public Sub New (pixelEncoding As DisplayWireFormatPixelEncoding, bitsPerChannel As Integer, colorSpace As DisplayWireFormatColorSpace, eotf As DisplayWireFormatEotf, hdrMetadata As DisplayWireFormatHdrMetadata)

參數

pixelEncoding
DisplayWireFormatPixelEncoding

描述顯示管線如何編碼圖元,包括 chroma 子取樣。

bitsPerChannel
Int32

int

用於每個通道的位數目,而不考慮 chroma 子取樣。

colorSpace
DisplayWireFormatColorSpace

描述色彩空間。

eotf
DisplayWireFormatEotf

指定 EOTF) EOTF 編碼的 (光學傳輸函式。

hdrMetadata
DisplayWireFormatHdrMetadata

指定靜態或動態 HDR 主控中繼資料的格式。

適用於