Home -> ITexelArray -> DataFormatsAreBinaryEquivalent

Description

The DataFormatsAreBinaryEquivalent method returns true if the supplied source and allocated data formats use binary compatible data encodings.

Usage

constexpr static bool DataFormatsAreBinaryEquivalent(SourceDataFormat sourceDataFormat, DataFormat dataFormat);
constexpr static bool DataFormatsAreBinaryEquivalent(DataFormat sourceDataFormat, DataFormat dataFormat);

Argument list

sourceDataFormat [SourceDataFormat]
The source data format to compare.
dataFormat [DataFormat]
The allocated data format to compare against.

Return value

[constexpr static bool]
True if the two data formats use the same binary data encoding, false otherwise.

See also