Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ShaderCompiler.h |
| Include | #include "ShaderCompiler.h" |
| Source | /Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp |
void ProcessCookOnTheFlyShaders
(
bool bReloadGlobalShaders,
const TArray < uint8 > & MeshMaterialMaps,
const TArray < FString > & MaterialsToLoad,
const TArray < uint8 > & GlobalShaderMap
)
Remarks
Handles serializing in MeshMaterialMaps or GlobalShaderMap from a CookOnTheFly command and applying them to the in-memory shadermaps.
Parameters
| Name | Description |
|---|---|
| MeshMaterialMaps | Byte array that contains the serialized material shadermap from across the network. |
| MaterialsToLoad | The materials contained in the MeshMaterialMaps |
| GlobalShaderMap | Byte array that contains the serialized global shadermap from across the network. |