UVolumeTexture::CalcTextureMemorySize

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

Choose your operating system:

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.