Home -> ITexelArray -> ImageFormatsAreBinaryEquivalent
Description
The ImageFormatsAreBinaryEquivalent method returns true if the supplied source and allocated image formats use binary compatible channel layouts.
Usage
constexpr static bool ImageFormatsAreBinaryEquivalent(SourceImageFormat sourceImageFormat, ImageFormat imageFormat);
constexpr static bool ImageFormatsAreBinaryEquivalent(ImageFormat sourceImageFormat, ImageFormat imageFormat);
Argument list
- sourceImageFormat [SourceImageFormat]
- The source image format to compare.
- imageFormat [ImageFormat]
- The allocated image format to compare against.
Return value
- [constexpr static bool]
- True if the two image formats use the same binary channel layout, false otherwise.