Home -> ITextureBuffer -> ImageFormatsAreBinaryEquivalent

Description

The ImageFormatsAreBinaryEquivalent method returns true if the supplied source and allocated image formats use binary compatible image channel layouts.

Usage

constexpr static bool ImageFormatsAreBinaryEquivalent(SourceImageFormat 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.

See also