FApp::CanEverRender

Checks whether this application can render anything.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/App.h

Include

#include "Misc/App.h"

Syntax

static bool CanEverRender()

Remarks

Checks whether this application can render anything. Certain application types never render, while for others this behavior may be controlled by switching to NullRHI. This can be used for decisions like omitting code paths that make no sense on servers or games running in headless mode (e.g. automated tests).

Returns

true if the application can render, false otherwise.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss