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

FShaderParamete...

 

DefaultSimulationStageIndexParam

Public variable

FShaderParamete...

 

DispatchThreadIdToLinearParam

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

FShaderResource...

 

HalfInputBufferParam

Public variable

FRWShaderParame...

 

HalfOutputBufferParam

Public variable

FRWShaderParame...

 

IDToIndexBufferParam

Public variable

FRWShaderParame...

 

InstanceCountsParam

Public variable

FShaderResource...

 

IntInputBufferParam

Public variable

FRWShaderParame...

 

IntOutputBufferParam

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

FShaderParamete...

 

SimulationStageIterationInfoParam

Public variable

FShaderParamete...

 

SimulationStageNormalizedIterationIndexParam

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

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