FGPUDefragAllocator::GetTextureMemoryVisualizeData

Fills a texture with to visualize the texture pool memory.

Windows
MacOS
Linux

References

Module

RHI

Header

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

Include

#include "GPUDefragAllocator.h"

Source

/Engine/Source/Runtime/RHI/Private/GPUDefragAllocator.cpp

Syntax

bool GetTextureMemoryVisualizeData
(
    FColor * TextureData,
    int32 SizeX,
    int32 SizeY,
    int32 Pitch,
    const int32 PixelSize
)

Remarks

Fills a texture with to visualize the texture pool memory.

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 uint8s between each row

PixelSize

Number of uint8s each pixel represents

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

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