Navigation
API > API/Plugins > API/Plugins/MutableRuntime > API/Plugins/MutableRuntime/FImage
Description
Calculate the size of the image data in bytes, regardless of what is allocated in m_data, only using the image descriptions. For non-block-compressed images, it returns
| Name | CalculateDataSize |
| Type | function |
| Header File | /Engine/Plugins/Mutable/Source/MutableRuntime/Public/MuR/Image.h |
| Include Path | #include "MuR/Image.h" |
| Source | /Engine/Plugins/Mutable/Source/MutableRuntime/Private/MuR/Image.cpp |
static int32 CalculateDataSize
(
int32 SizeX,
int32 SizeY,
int32 LodCount,
EImageFormat Format
)