FOpenGLDynamicRHI::RHIGetTextureMemoryVisualizeData

Override Hierarchy

FDynamicRHI::RHIGetTextureMemoryVisualizeData()

FOpenGLDynamicRHI::RHIGetTextureMemoryVisualizeData()

Syntax

virtual bool RHIGetTextureMemoryVisualizeData
(
    FColor * TextureData,
    int32 SizeX,
    int32 SizeY,
    int32 Pitch,
    int32 PixelSize
)

Remarks

Fills a texture with to visualize the texture pool memory.

Returns

true if successful, false otherwise

Parameters

Parameter

Description

TextureData

Start address

SizeX

Number of pixels along X

SizeY

Number of pixels along Y

Pitch

Number of bytes between each row

PixelSize

Number of bytes each pixel represents

References

Module

OpenGLDrv

Header

Runtime/OpenGLDrv/Public/OpenGLDrv.h

Source

Runtime/OpenGLDrv/Private/OpenGLTexture.cpp