FODSCManager::AddThreadedRequest

Add a request to compile a shader. The results are submitted and processed in an async manner.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ODSC/ODSCManager.h

Include

#include "ODSC/ODSCManager.h"

Source

/Engine/Source/Runtime/Engine/Private/ODSC/ODSCManager.cpp

Syntax

void AddThreadedRequest
(
    const TArray< FString > & MaterialsToCompile,
    EShaderPlatform ShaderPlatform,
    bool bCompileChangedShaders
)

Remarks

Add a request to compile a shader. The results are submitted and processed in an async manner.

Returns

false if no longer needs ticking

Parameters

Parameter

Description

MaterialsToCompile

List of material names to submit compiles for.

ShaderPlatform

Which shader platform to compile for.

bCompileChangedShaders

Whether or not we should recompile shaders that have changed.

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