UVolumeTexture::CalcTextureMemorySize

Calculates the size of this texture in bytes if it had MipCount miplevels streamed in.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/VolumeTexture.h

Include

#include "Engine/VolumeTexture.h"

Source

/Engine/Source/Runtime/Engine/Private/VolumeTexture.cpp

Syntax

uint32 CalcTextureMemorySize
(
    int32 MipCount
) const

Remarks

Calculates the size of this texture in bytes if it had MipCount miplevels 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