FNiagaraShaderType::BeginCompileShader

Enqueues a compilation for a new shader of this type.

Windows
MacOS
Linux

References

Module

NiagaraShader

Header

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

Include

#include "NiagaraShaderType.h"

Source

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

Syntax

void BeginCompileShader
(
    uint32 ShaderMapId,
    int32 PermutationId,
    const FNiagaraShaderScript * Script,
    FSharedShaderCompilerEnvironment * CompilationEnvironment,
    EShaderPlatform Platform,
    TArray< TRefCountPtr< class FShaderCommonCompileJob >> & NewJobs,
    FShaderTarget Target,
    TArray< FNiagaraDataInterfaceGPUParamInfo > & InDIParamInfo
)

Remarks

Enqueues a compilation for a new shader of this type. Enqueues a compilation for a new shader of this type.

Parameters

Parameter

Description

Script

The script to link the shader with.

script

The script to link the shader with.

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