![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "CoreMinimal.h"#include "Containers/ResourceArray.h"#include "Stats/Stats.h"#include "RHI.h"#include "RenderUtils.h"#include "OpenGLDrv.h"#include "OpenGLDrvPrivate.h"#include "HAL/LowLevelMemStats.h"#include "HAL/LowLevelMemTracker.h"#include "ProfilingDebugging/AssetMetadataTrace.h"#include "Engine/Texture.h"#include "RHICoreStats.h"#include "RHITextureUtils.h"#include "RHICoreTexture.h"#include "RHICoreTextureInitializer.h"Classes | |
| struct | FScopedPackAlignment |
Functions | |
| uint32 | HalfFloatToFloatInteger (uint16 HalfFloat) |
| float | HalfFloatToFloat (uint16 HalfFloat) |
| void | LogTextureEvictionDebugInfo () |
Variables | |
| int32 | GOGLTexturesToEvictPerFrame = 10 |
| GLint | GMaxOpenGLColorSamples = 0 |
| GLint | GMaxOpenGLDepthSamples = 0 |
| GLint | GMaxOpenGLIntegerSamples = 0 |
| int64 | GOpenGLDedicatedVideoMemory = 0 |
| int64 | GOpenGLTotalGraphicsMemory = 0 |
| uint32 | GTotalTexStorageSkipped = 0 |
| uint32 | GTotalCompressedTexStorageSkipped = 0 |
| uint32 | GTotalEvictedMipMemStored = 0 |
| uint32 | GTotalEvictedMipMemDuplicated = 0 |
| uint32 | GTotalMipStoredCount = 0 |
| uint32 | GTotalMipRestores = 0 |
| float | GMaxRestoreTime = 0.0f |
| float | GAvgRestoreTime = 0.0f |
| uint32 | GAvgRestoreCount = 0 |
| void LogTextureEvictionDebugInfo | ( | ) |
| uint32 GAvgRestoreCount = 0 |
| float GAvgRestoreTime = 0.0f |
| GLint GMaxOpenGLColorSamples = 0 |
Caching it here, to avoid getting it every time we create a texture. 0 is no multisampling.
| GLint GMaxOpenGLDepthSamples = 0 |
| GLint GMaxOpenGLIntegerSamples = 0 |
| float GMaxRestoreTime = 0.0f |
| int32 GOGLTexturesToEvictPerFrame = 10 |
| int64 GOpenGLDedicatedVideoMemory = 0 |
| int64 GOpenGLTotalGraphicsMemory = 0 |
| uint32 GTotalCompressedTexStorageSkipped = 0 |
| uint32 GTotalEvictedMipMemDuplicated = 0 |
| uint32 GTotalEvictedMipMemStored = 0 |
| uint32 GTotalMipRestores = 0 |
| uint32 GTotalMipStoredCount = 0 |
| uint32 GTotalTexStorageSkipped = 0 |