![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ViewDebug.h>
Classes | |
| struct | FPrimitiveInfo |
Public Member Functions | |
| RENDERER_API void | ProcessPrimitives (FScene *Scene, const FViewInfo &View, const FViewCommands &ViewCommands) |
| RENDERER_API void | DumpDrawCallsToCSV () |
| RENDERER_API void | DumpToCSV () const |
| template<typename CallableT > | |
| void | ForEachPrimitive (CallableT Action) const |
| RENDERER_API bool | HasEverUpdated () const |
| RENDERER_API bool | IsOutOfDate () const |
| template<typename UserClass > | |
| FDelegateHandle | AddUpdateHandler (UserClass *UserObject, void(UserClass::*Func)()) |
| FDelegateHandle | AddUpdateHandler (void(*Func)()) |
| void | RemoveUpdateHandler (const FDelegateHandle &Handle) |
Static Public Member Functions | |
| static FViewDebugInfo & | Get () |
Friends | |
| class | FDrawPrimitiveDebuggerModule |
A collection of debug data associated with the current on screen view.
|
inline |
|
inline |
| void FViewDebugInfo::DumpDrawCallsToCSV | ( | ) |
Writes the draw call count of all currently tracked primitives to a csv file. The file will be stored in /Saved/Profiling/Primitives/...
| void FViewDebugInfo::DumpToCSV | ( | ) | const |
Writes detailed information about all currently tracked primitives to a csv file. The file will be stored in /Saved/Profiling/Primitives/...
Performs an operation for each primitive currently tracked.
| Action | The action to perform for each primitive. |
|
inlinestatic |
Gets a reference to the view debug information that is used by the renderer.
| bool FViewDebugInfo::HasEverUpdated | ( | ) | const |
Checks if this debug information has ever been updated.
| bool FViewDebugInfo::IsOutOfDate | ( | ) | const |
Checks if current information is from an older frame.
| void FViewDebugInfo::ProcessPrimitives | ( | FScene * | Scene, |
| const FViewInfo & | View, | ||
| const FViewCommands & | ViewCommands | ||
| ) |
|
inline |
|
friend |