DisplayWireFormat Constructor
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.
Constructs a DisplayWireFormat object from the supplied property values.
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)
Parameters
- pixelEncoding
- DisplayWireFormatPixelEncoding
Describes how pixels are encoded by the display pipeline, including chroma subsampling.
- bitsPerChannel
-
Int32
int
The number of bits used for each channel, without regard for chroma subsampling.
- colorSpace
- DisplayWireFormatColorSpace
Describes the color space.
Specifies the electro-optical transfer function (EOTF) that pixels are encoded for.
- hdrMetadata
- DisplayWireFormatHdrMetadata
Specifies the format for static or dynamic HDR mastering metadata.