SlateDebugger.InvalidationRoot.Start

SlateDebugger.InvalidationRoot.Start

#Overview

name: SlateDebugger.InvalidationRoot.Start

This variable is created as a Console Variable (cvar).

It is referenced in 2 C++ source files.

#Summary

#References in C++ code

#Callsites

This variable is referenced in the following C++ source code:

#Loc: <Workspace>/Engine/Source/Runtime/SlateCore/Private/Debugging/ConsoleSlateDebuggerInvalidationRoot.cpp:32

Scope (from outer to inner):

file
function     FConsoleSlateDebuggerInvalidationRoot::FConsoleSlateDebuggerInvalidationRoot

Source code excerpt:

	, CacheDuration(2.0f)
	, StartCommand(
		TEXT("SlateDebugger.InvalidationRoot.Start"),
		TEXT("Start the Invalidation Root widget debug tool. It shows when Invalidation Roots are using the slow or the fast path."),
		FConsoleCommandDelegate::CreateRaw(this, &FConsoleSlateDebuggerInvalidationRoot::StartDebugging))
	, StopCommand(
		TEXT("SlateDebugger.InvalidationRoot.Stop"),
		TEXT("Stop the Invalidation Root widget debug tool."),
		FConsoleCommandDelegate::CreateRaw(this, &FConsoleSlateDebuggerInvalidationRoot::StopDebugging))

#Loc: <Workspace>/Engine/Source/Runtime/SlateCore/Private/Debugging/ConsoleSlateDebuggerInvalidationRoot.h:23

Scope: file

Source code excerpt:

 * Allows debugging the SlateInvalidationRoot from the console.
 * Basics:
 *   Start - SlateDebugger.InvalidationRoot.Start
 *   Stop  - SlateDebugger.InvalidationRoot.Stop
 */
class FConsoleSlateDebuggerInvalidationRoot
{
public:
	FConsoleSlateDebuggerInvalidationRoot();
	~FConsoleSlateDebuggerInvalidationRoot();

	void StartDebugging();
	void StopDebugging();
	bool IsEnabled() const { return bEnabled; }