FShaderCompilingManager::ProcessAsyncResults

Processes completed asynchronous shader maps, and assigns them to relevant materials.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ShaderCompiler.h

Include

#include "ShaderCompiler.h"

Source

/Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp

Syntax

void ProcessAsyncResults
(
    bool bLimitExecutionTime,
    bool bBlockOnGlobalShaderCompletion
)

Remarks

Processes completed asynchronous shader maps, and assigns them to relevant materials.

Parameters

Parameter

Description

bLimitExecutionTime

When enabled, ProcessAsyncResults will be bandwidth throttled by ProcessGameThreadTargetTime, to limit hitching. ProcessAsyncResults will then have to be called often to finish all shader maps (eg from Tick). Otherwise, all compiled shader maps will be processed.

bBlockOnGlobalShaderCompletion

When enabled, ProcessAsyncResults will block until global shader maps are complete. This must be done before using global shaders for rendering.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback