FMaterialShaderMap::TryToAddToExistingCompilationTask

Checks to see if the shader map is already being compiled for another material, and if so adds the specified material to the list to be applied to once the compile finishes.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/MaterialShared.h

Include

#include "MaterialShared.h"

Source

/Engine/Source/Runtime/Engine/Private/Materials/MaterialShader.cpp

Syntax

bool TryToAddToExistingCompilationTask
(
    FMaterial * Material
)

Remarks

Checks to see if the shader map is already being compiled for another material, and if so adds the specified material to the list to be applied to once the compile finishes.

Returns

True if the shader map was being compiled and we added Material to the list to be applied.

Parameters

Parameter

Description

Material

The material we also wish to apply the compiled shader map to.

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