Navigation
Unreal Engine C++ API Reference > Runtime > RHI > FGPUDefragAllocator
References
Module | RHI |
Header | /Engine/Source/Runtime/RHI/Public/GPUDefragAllocator.h |
Include | #include "GPUDefragAllocator.h" |
Source | /Engine/Source/Runtime/RHI/Private/GPUDefragAllocator.cpp |
bool GetTextureMemoryVisualizeData
&40;
FColor &42; TextureData,
int32 SizeX,
int32 SizeY,
int32 Pitch,
const int32 PixelSize
&41;
Remarks
Fills a texture with to visualize the texture pool memory.
Fills a texture with to visualize the texture pool memory. true if successful, false otherwise
Parameters
Name | 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 |