Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/RenderUtils.h |
Include |
#include "RenderUtils.h" |
Source |
/Engine/Source/Runtime/RenderCore/Private/RenderUtils.cpp |
Calculates the amount of memory used for a texture.
Parameter |
Description |
---|---|
SizeX |
Number of horizontal texels (for the base mip-level) |
SizeY |
Number of vertical texels (for the base mip-level) |
SizeY |
Number of depth texels (for the base mip-level) |
Format |
Texture format |
MipCount |
Number of mip-levels (including the base mip-level) |