FNiagaraDrawIndirectArgsGenCS

Compute shader used to generate GPU emitter draw indirect args.

Windows
MacOS
Linux

Inheritance Hierarchy

FShader

FGlobalShader

FNiagaraDrawIndirectArgsGenCS

References

Module

NiagaraVertexFactories

Header

/Engine/Plugins/FX/Niagara/Source/NiagaraVertexFactories/Public/NiagaraDrawIndirect.h

Include

#include "NiagaraDrawIndirect.h"

Syntax

class FNiagaraDrawIndirectArgsGenCS : public FGlobalShader

Remarks

Compute shader used to generate GPU emitter draw indirect args. It also resets unused instance count entries.

Variables

Constructors

Functions

Name Description

Public function Static

FShader *...

 

ConstructCompiledInstance

(
    const typename FShader::CompiledSha ...
)

Public function Static

FShader *...

 

ConstructSerializedInstance()

Public function Const

const FTypeL ...

 

GetTypeLayout()

Public function Static

void

 

ModifyCompilationEnvironment

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

Public function Static

void

 

ModifyCompilationEnvironmentImpl

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

Public function

void

 

SetOutput

(
    FRHICommandList & RHICmdList,
    FRHIUnorderedAccessView * DrawI...,
    FRHIUnorderedAccessView * Insta...
)

Bool Serialize(FArchive& Ar) ;

Public function

void

 

SetParameters

(
    FRHICommandList & RHICmdList,
    FRHIShaderResourceView * TaskIn...,
    int32 NumArgGenTasks,
    int32 NumInstanceCountClearTasks
)

Public function Static

bool

 

ShouldCompilePermutation

(
    const FGlobalShaderPermutationParam ...
)

Public function Static

bool

 

ShouldCompilePermutationImpl

(
    const FShaderPermutationParameters ...
)

Public function Static

FTypeLayoutD ...

 

StaticGetTypeLayout()

Public function

void

 

UnbindBuffers

(
    FRHICommandList & RHICmdList
)

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