FOpenGLDynamicRHI::RHIComputeMemorySize

Computes the size in memory required by a given texture.

Windows
MacOS
Linux

Override Hierarchy

FDynamicRHI::RHIComputeMemorySize()

FOpenGLDynamicRHI::RHIComputeMemorySize()

References

Module

OpenGLDrv

Header

/Engine/Source/Runtime/OpenGLDrv/Public/OpenGLDrv.h

Include

#include "OpenGLDrv.h"

Source

/Engine/Source/Runtime/OpenGLDrv/Private/OpenGLTexture.cpp

Syntax

virtual 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

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