FNiagaraShader

Base class of all shaders that need material parameters.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

NiagaraShader

Header

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

Include

#include "NiagaraShader.h"

Syntax

class FNiagaraShader : public FShader

Remarks

Base class of all shaders that need material parameters.

Variables

Constructors

Name Description

Public function

FNiagaraShader()

Public function

FNiagaraShader

(
    const FNiagaraShaderType::CompiledS...
)

Functions

Name Description

Public function

void

 

BindParams

(
    const FShaderParameterMap& Paramet...
)

FRHIUniformBuffer* GetParameterCollectionBuffer(const FGuid& Id, const FSceneInterface* SceneInterface) const;.

Public function Static

FShader *...

 

ConstructCompiledInstance

(
    const ShaderMetaType::CompiledShade...
)

Public function Static

FShader *...

 

ConstructSerializedInstance()

Public function

TArray< FNia...

 

GetDIParameters()

Public function Static

void

 

ModifyCompilationEnvironment

(
    EShaderPlatform Platform,
    const FNiagaraShaderScript* Sc...,
    FShaderCompilerEnvironment& OutEnv...
)

Public function

void

 

SetDataInterfaceParameterInfo

(
    const TArray< FNiagaraDataInterface...
)

Public function Static

bool

 

ShouldCompilePermutation

(
    EShaderPlatform Platform,
    const FNiagaraShaderScript* Sc...
)

Public function Static

bool

 

ValidateCompiledResult

(
    EShaderPlatform Platform,
    const FShaderParameterMap& Paramet...,
    TArray< FString >& OutError
)

Overridden from FShader

Name Description

Public function Virtual Const

uint32

 

GetAllocatedSize()

Returns the size of all allocations owned by this shader, e.g. TArrays.

Public function Virtual Const

uint32

 

GetTypeSize()

Returns the size of the concrete type of this shader.

Public function Virtual

bool

 

Serialize

(
    FArchive& Ar
)

Typedefs

Constants

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback