FNiagaraShaderScript::GetScriptHLSLSource

Returns true if this script is allowed to make development shaders via the global CVar CompileShadersForDevelopment.

Windows
MacOS
Linux

References

Module

NiagaraShader

Header

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

Include

#include "NiagaraShared.h"

Syntax

bool GetScriptHLSLSource
(
    FString & OutSource
)

Remarks

Returns true if this script is allowed to make development shaders via the global CVar CompileShadersForDevelopment. Get user source code for the shader

Returns

  • true on Success

Parameters

Parameter

Description

OutSource

generated source code

OutHighlightMap

source code highlight list

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