Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/FX/Niagara/Source/NiagaraShader/Public/NiagaraShared.h |
Include |
#include "NiagaraShared.h" |
class FNiagaraShaderScript
FNiagaraShaderScript represents a Niagara script to the shader compilation process
Name | Description | |
---|---|---|
|
FNiagaraShaderScript() |
Minimal initialization constructor. |
Name | Description | |
---|---|---|
|
~FNiagaraShaderScript() |
Destructor |
Name | Description | ||
---|---|---|---|
|
AddCompileId ( |
||
|
AddReferencedObjects ( |
||
|
CacheShaders ( |
Caches the shaders for this script with no static parameters on the given platform. |
|
|
CacheShaders ( |
Caches the shaders for this script with no static parameters on the given platform. |
|
|
CancelCompilation() |
Cancels all outstanding compilation jobs |
|
|
DiscardShaderMap() |
||
|
FinishCompilation() |
Blocks until compilation has completed. Returns immediately if a compilation is not outstanding. |
|
|
UNiagaraScri... |
GetBaseVMScript() |
|
|
const TArray... |
GetCompileErrors() |
Accessors. |
|
GetDataInterfaceParamInfo() |
||
|
GetDependentShaderTypes ( |
||
|
ERHIFeatureL... |
GetFeatureLevel() |
|
|
const FStrin... |
GetFriendlyName() |
|
|
FNiagaraShad... |
GetGameThreadShaderMap() |
|
|
GetNumPermutations() |
||
|
GetNumPermutations_RenderThread() |
||
|
GetScriptHLSLSource ( |
Get user source code for the shader |
|
|
FNiagaraShad... |
GetShader ( |
|
|
FNiagaraShad... |
GetShaderGameThread ( |
|
|
GetShaderMapId ( |
||
|
GetShaderMapIDsWithUnfinishedCompilation |
Fills the passed array with IDs of shader maps unfinished compilation jobs. |
|
|
EShaderPlatf... |
GetShaderPlatform() |
|
|
GetUsesCompressedAttributes() |
||
|
Invalidate() |
||
|
IsCompilationFinished() |
Checks if the compilation for this shader is finished |
|
|
IsEmitterConstantBufferUsed_RenderThread ( |
||
|
IsExternalConstantBufferUsed_RenderThread ( |
||
|
IsGlobalConstantBufferUsed_RenderThread ( |
||
|
IsOwnerConstantBufferUsed_RenderThread ( |
||
|
IsPersistent() |
Should shaders compiled for this script be saved to disk? |
|
|
IsSame ( |
||
|
IsShaderMapComplete() |
||
|
IsShaderMapComplete_RenderThread() |
||
|
IsSystemConstantBufferUsed_RenderThread ( |
||
|
IsViewUniformBufferUsed_RenderThread() |
||
|
LegacySerialize ( |
Serializes the script. |
|
|
MatchesScript ( |
||
|
ModifyCompilationEnvironment ( |
Allow Niagara script the opportunity to modify the compilation environment for GPU simulations. |
|
|
NotifyCompilationFinished() |
Called when compilation finishes, after the GameThreadShaderMap is set and the render command to set the RenderThreadShaderMap is queued |
|
|
FOnNiagaraSc... |
OnCompilationComplete() |
|
|
QueueForRelease ( |
||
|
ReleaseShaderMap() |
Releases this script's shader map. |
|
|
RemoveOutstandingCompileId ( |
||
|
SaveShaderStableKeys ( |
Save "stable" shader for identifying the shader in the recorded PSO cache. |
|
|
SerializeShaderMap ( |
||
|
SetCompileErrors |
||
|
SetCompileErrors |
||
|
SetDataInterfaceParamInfo ( |
||
|
SetFeatureLevel ( |
||
|
SetGameThreadShaderMap ( |
SetRenderingThreadShaderMap must also be called with the same value, but from the rendering thread. |
|
|
SetHlslOutput ( |
||
|
SetRenderingThreadShaderMap ( |
SetGameThreadShaderMap must also be called with the same value, but from the game thread. |
|
|
SetRenderThreadCachedData ( |
||
|
SetScript ( |
||
|
SetShaderMap ( |
||
|
SetSourceName ( |
||
|
ShouldCache ( |
Should the shader for this script with the given platform, shader type and vertex factory type combination be compiled |
|
|
UpdateCachedData_All() |
||
|
UpdateCachedData_PostCompile ( |
||
|
UpdateCachedData_PreCompile() |