FDynamicRHI::RHIComputeMemorySize

FlushType: Thread safe.

Windows
MacOS
Linux

Override Hierarchy

References

Module

RHI

Header

/Engine/Source/Runtime/RHI/Public/DynamicRHI.h

Include

#include "DynamicRHI.h"

Syntax

uint32 RHIComputeMemorySize
(
    FRHITexture * TextureRHI
)

Remarks

Computes the size in memory required by a given texture.

Returns

  • Size in Bytes

Parameters

Parameter

Description

TextureRHI

Texture we want to know the size of, 0 is safely ignored

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