FOpenGLDynamicRHI::RHIComputeMemorySize

Override Hierarchy

FDynamicRHI::RHIComputeMemorySize()

FOpenGLDynamicRHI::RHIComputeMemorySize()

Syntax

virtual uint32 RHIComputeMemorySize
(
    FTextureRHIParamRef 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

References

Module

OpenGLDrv

Header

Runtime/OpenGLDrv/Public/OpenGLDrv.h

Source

Runtime/OpenGLDrv/Private/OpenGLTexture.cpp