FNiagaraShaderMap::TryToAddToExistingCompilationTask

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

Windows
MacOS
Linux

References

Module

NiagaraShader

Header

/Engine/Plugins/FX/Niagara/Source/NiagaraShader/Public/NiagaraShared.h

Include

#include "NiagaraShared.h"

Source

/Engine/Plugins/FX/Niagara/Source/NiagaraShader/Private/NiagaraShader.cpp

Syntax

bool TryToAddToExistingCompilationTask
(
    FNiagaraShaderScript * Script
)

Remarks

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

Returns

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

Parameters

Parameter

Description

Script

The Niagara Script 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