Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > UTexture2DArray
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/Texture2DArray.h |
Include | #include "Engine/Texture2DArray.h" |
Source | /Engine/Source/Runtime/Engine/Classes/Engine/Texture2DArray.cpp |
uint32 CalcTextureMemorySize
&40;
int32 MipCount
&41; const
Remarks
Calculates the size of this texture in bytes if it had MipCount mip-levels streamed in. Size of MipCount mips in bytes
Parameters
Name | Description |
---|---|
MipCount | Number of mips to calculate size for, counting from the smallest 1x1 mip-level and up. |