Navigation
Unreal Engine C++ API Reference > Runtime > Engine > ODSC > FODSCManager
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 |
void AddThreadedRequest
(
const TArray < FString > & MaterialsToCompile,
const FString & ShaderTypesToLoad,
EShaderPlatform ShaderPlatform,
ERHIFeatureLevel::Type FeatureLevel,
EMaterialQualityLevel::Type QualityLevel,
ODSCRecompileCommand RecompileCommandType,
const FString & RequestedMaterialName
)
Remarks
Add a request to compile a shader. The results are submitted and processed in an async manner. false if no longer needs ticking
Parameters
Name | Description |
---|---|
MaterialsToCompile | List of material names to submit compiles for. |
ShaderPlatform | Which shader platform to compile for. |
RecompileCommandType | Whether we should recompile changed or global shaders. |