Navigation
API > API/Runtime > API/Runtime/ImageCore > API/Runtime/ImageCore/FDDSFile
Description
For 8-bit UNorm formats, both RGBA and BGRA channel order variants exist and are popular. This function does the trivial conversion between the two, updating both the DXGI Format and the pixel data to do so. When the channel order is already correct or the pixel format is not one of the few formats that exist in both RGBA and BGRA variants, this function does nothing.
| Name | ConvertChannelOrder |
| Type | function |
| Header File | /Engine/Source/Runtime/ImageCore/Public/DDSFile.h |
| Include Path | #include "DDSFile.h" |
| Source | /Engine/Source/Runtime/ImageCore/Private/DDSFile.cpp |
void ConvertChannelOrder
(
EChannelOrder InTargetOrder
)