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

Name Description

Public variable

FShaderParamete ...

 

ComponentBufferSizeReadParam

Public variable

FShaderParamete ...

 

ComponentBufferSizeWriteParam

Public variable

FShaderParamete ...

 

CopyInstancesBeforeStartParam

Public variable

FShaderUniformB ...

 

DataInterfaceUniformBufferParam

Public variable

FShaderParamete ...

 

DefaultSimulationStageIndexParam

Public variable

FShaderUniformB ...

 

EmitterConstantBufferParam

Public variable

FShaderParamete ...

 

EmitterSpawnInfoOffsetsParam

Public variable

FShaderParamete ...

 

EmitterSpawnInfoParamsParam

Public variable

FShaderParamete ...

 

EmitterTickCounterParam

Public variable

FShaderResource ...

 

EventFloatSRVParams

Public variable

FRWShaderParame ...

 

EventFloatUAVParams

Public variable

FShaderResource ...

 

EventIntSRVParams

Public variable

FRWShaderParame ...

 

EventIntUAVParams

Public variable

FShaderParamete ...

 

EventReadFloatStrideParams

Public variable

FShaderParamete ...

 

EventReadIntStrideParams

Public variable

FShaderParamete ...

 

EventWriteFloatStrideParams

Public variable

FShaderParamete ...

 

EventWriteIntStrideParams

Public variable

FShaderUniformB ...

 

ExternalConstantBufferParam

Public variable

FShaderResource ...

 

FloatInputBufferParam

Public variable

FRWShaderParame ...

 

FloatOutputBufferParam

Public variable

FShaderResource ...

 

FreeIDBufferParam

Public variable

FShaderUniformB ...

 

GlobalConstantBufferParam

Public variable

FRWShaderParame ...

 

IDToIndexBufferParam

Public variable

FRWShaderParame ...

 

InstanceCountsParam

Public variable

FShaderResource ...

 

IntInputBufferParam

Public variable

FRWShaderParame ...

 

IntOutputBufferParam

Public variable

FShaderParamete ...

 

IterationInterfaceCount

Public variable

FShaderParamete ...

 

NumEventsPerParticleParam

Public variable

FShaderParamete ...

 

NumParticlesPerEventParam

Public variable

FShaderParamete ...

 

NumSpawnedInstancesParam

Public variable

FShaderUniformB ...

 

OwnerConstantBufferParam

Public variable

FShaderParamete ...

 

ReadInstanceCountOffsetParam

Public variable

FShaderParamete ...

 

SimStartParam

Public variable

FShaderParamete ...

 

SimulationStageIndexParam

Public variable

FShaderUniformB ...

 

SystemConstantBufferParam

Public variable

FShaderParamete ...

 

UpdateStartInstanceParam

Public variable

FShaderUniformB ...

 

ViewUniformBufferParam

Public variable

FShaderParamete ...

 

WriteInstanceCountOffsetParam

Constructors

Name Description

Public function

FNiagaraShader()

Public function

FNiagaraShader

(
    const FNiagaraShaderType::CompiledS ...
)

Functions

Name Description

Public function

void

 

BindParams

(
    const TArray < FNiagaraDataInterface ...,
    const FShaderParameterMap & Paramet...
)

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

Public function Static

FShader *...

 

ConstructCompiledInstance

(
    const typename FShader::CompiledSha ...
)

Public function Static

FShader *...

 

ConstructSerializedInstance()

Public function

const TMemor ...

 

GetDIParameters()

Public function Static

uint32

 

GetGroupSize

(
    EShaderPlatform Platform
)

Public function Const

const FTypeL ...

 

GetTypeLayout()

Public function Static

void

 

ModifyCompilationEnvironment

(
    const FNiagaraShaderPermutationPara ...,
    FShaderCompilerEnvironment & OutEnv...
)

Public function Static

void

 

ModifyCompilationEnvironmentImpl

(
    const FShaderPermutationParameters ...,
    FShaderCompilerEnvironment & OutEnv...
)

Public function Static

bool

 

ShouldCompilePermutation

(
    const FNiagaraShaderPermutationPara ...
)

Public function Static

bool

 

ShouldCompilePermutationImpl

(
    const FShaderPermutationParameters ...
)

Public function Static

FTypeLayoutD ...

 

StaticGetTypeLayout()

Classes

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