UKismetRenderingLibrary::NumPrecompilingPSOsRemaining
#include "Kismet/KismetRenderingLibrary.h"
Access: public
Specifiers: staticUFUNCTIONBlueprintCallable
Description
Returns the number of active PSO (Pipeline State Object) precompilation tasks that are still running.
Caveats & Gotchas
- • Intended for extending loading screens until shader/PSO precaching finishes — polling this every tick and holding a loading screen open is the primary intended use.
- • The count can legitimately be zero even if PSO precaching is disabled entirely for the project, so a return of 0 doesn't necessarily mean precaching finished successfully — check your project's PSO caching settings too.
- • Not marked BlueprintPure despite having no side effects, so it appears as an exec node in Blueprint rather than a pure getter.
Signature
static int32 NumPrecompilingPSOsRemaining() Return Type
int32 Example
Wait for PSO precompilation before hiding a loading screen C++
if (UKismetRenderingLibrary::NumPrecompilingPSOsRemaining() == 0)
{
HideLoadingScreen();
} Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?