Navigation
API > API/Plugins > API/Plugins/MutableRuntime > API/Plugins/MutableRuntime/MuR > API/Plugins/MutableRuntime/MuR/Image > API/Plugins/MutableRuntime/MuR/Image/CalculatePixelCount
References
| Module | MutableRuntime |
| Header | /Engine/Plugins/Experimental/Mutable/Source/MutableRuntime/Public/MuR/Image.h |
| Include | #include "MuR/Image.h" |
| Source | /Engine/Plugins/Experimental/Mutable/Source/MutableRuntime/Private/MuR/Image.cpp |
int32 CalculatePixelCount&40;&41; const
Remarks
Calculate the number of pixels of the image, regardless of what is allocated in m_data, only using the image descriptions. For block-compressed images, it includes the wasted pixels in the blocks, in case the size is not a multiple of it in all lods. It includes the pixels in all lods