UTexture2DArray::CalcTextureMemorySize

Calculates the size of this texture in bytes if it had MipCount mip-levels streamed in.

Windows
MacOS
Linux

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

Syntax

uint32 CalcTextureMemorySize
(
    int32 MipCount
) const

Remarks

Calculates the size of this texture in bytes if it had MipCount mip-levels streamed in.

Returns

Size of MipCount mips in bytes

Parameters

Parameter

Description

MipCount

Number of mips to calculate size for, counting from the smallest 1x1 mip-level and up.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss