![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Classes | |
| struct | FValidatePixelFormats |
Macros | |
| #define | CASE_ENUM_TO_TEXT(txt) case txt: return TEXT(#txt); |
| #define | TEXT_TO_ENUM(eVal, txt) if (FCString::Stricmp(TEXT(#eVal), txt) == 0) return eVal; |
| #define | TEXT_TO_PIXELFORMAT(f) TEXT_TO_ENUM(f, InPixelFormatStr); |
Functions | |
| const TCHAR * | GetPixelFormatString (EPixelFormat InPixelFormat) |
| EPixelFormat | GetPixelFormatFromString (const TCHAR *InPixelFormatStr) |
Variables | |
| FPixelFormatInfo | GPixelFormats [PF_MAX] |
Helper functions for text output of texture properties...
| #define TEXT_TO_PIXELFORMAT | ( | f | ) | TEXT_TO_ENUM(f, InPixelFormatStr); |
| EPixelFormat GetPixelFormatFromString | ( | const TCHAR * | InPixelFormatStr | ) |
string to enum (not case sensitive) Note this is not the FPixelFormatInfo::Name
| InPixelFormatStr | e.g. "PF_B8G8R8A8", must not not be 0 |
| const TCHAR * GetPixelFormatString | ( | EPixelFormat | InPixelFormat | ) |
enum to string Note this is not the FPixelFormatInfo::Name
| FPixelFormatInfo GPixelFormats[PF_MAX] |