Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FGPUDefragAllocator
Description
Fills a texture with to visualize the texture pool memory.
Fills a texture with to visualize the texture pool memory.
| Name | GetTextureMemoryVisualizeData |
| Type | function |
| Header File | /Engine/Source/Runtime/RHI/Public/GPUDefragAllocator.h |
| Include Path | #include "GPUDefragAllocator.h" |
| Source | /Engine/Source/Runtime/RHI/Private/GPUDefragAllocator.cpp |
bool GetTextureMemoryVisualizeData
(
FColor * TextureData,
int32 SizeX,
int32 SizeY,
int32 Pitch,
const int32 PixelSize
)
true if successful, false otherwise
Parameters
| Name | Remarks |
|---|---|
| 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 |