FNiagaraCopyIntBufferRegionCS

Compute shader used to copy a reference buffer split in several buffers.

Windows
MacOS
Linux

Inheritance Hierarchy

FDeferredCleanupInterface

FShader

FGlobalShader

FNiagaraCopyIntBufferRegionCS

References

Module

NiagaraVertexFactories

Header

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

Include

#include "NiagaraSortingGPU.h"

Syntax

class FNiagaraCopyIntBufferRegionCS : public FGlobalShader

Remarks

Compute shader used to copy a reference buffer split in several buffers. Each buffer contains a segment of the buffer, and each buffer is increasingly bigger to hold the next part. Could alternatively use DMA copy, if the RHI provided a way to copy buffer regions.

Constructors

Name Description

Public function

FNiagaraCopyIntBufferRegionCS()

Default constructor.

Public function

FNiagaraCopyIntBufferRegionCS

(
    const ShaderMetaType::CompiledShade...
)

Initialization constructor.

Functions

Name Description

Public function Static

FShader *...

 

ConstructCompiledInstance

(
    const ShaderMetaType::CompiledShade...
)

Public function Static

FShader *...

 

ConstructSerializedInstance()

Public function Static

void

 

ModifyCompilationEnvironment

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

Public function

void

 

SetParameters

(
    FRHICommandList& RHICmdList,
    FRHIShaderResourceView* InSour...,
    FRHIUnorderedAccessView*const ...,
    const int32* InUsedIndexCounts,
    int32 StartingIndex,
    int32 DestCount
)

Set parameters.

Public function Static

bool

 

ShouldCompilePermutation

(
    const FGlobalShaderPermutationParam...
)

Public function

void

 

UnbindBuffers

(
    FRHICommandList& RHICmdList
)

Unbinds any buffers that have been bound.

Overridden from FShader

Name Description

Public function Virtual Const

uint32

 

GetTypeSize()

Returns the size of the concrete type of this shader.

Public function Virtual

bool

 

Serialize

(
    FArchive& Ar
)

Serialization.

Typedefs

Constants

Name

Description

StaticType

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