Navigation
API > API/Plugins > API/Plugins/Niagara
Inheritance Hierarchy
- FNDIGpuComputeContext
- FNDIGpuComputeDispatchArgsGenContext
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraDataInterfaceRW.h |
| Include | #include "NiagaraDataInterfaceRW.h" |
Syntax
struct FNDIGpuComputeDispatchArgsGenContext : public FNDIGpuComputeContext
Variables
| Type | Name | Description | |
|---|---|---|---|
| FRDGBuffer * | IndirectBuffer | ||
| TArray< TPair< FCreateIndirectCallback, FIndirectArgs > > | IndirectCallbacks | ||
| FNiagaraDispatchIndirectInfoCS * | IndirectCounterGenArgs | ||
| int32 | NumIndirectCounterGenArgs | ||
| FNDIGpuComputeDispatchArgsGenParameters * | PassParameters | ||
| FNiagaraSimStageData * | SimStageData | ||
| FNiagaraSystemInstanceID | SystemInstanceID |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FNDIGpuComputeDispatchArgsGenContext
(
FRDGBuilder& InGraphBuilder, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddBufferAccess
(
FRDGBuffer* InBuffer, |
Add buffer / texture access used for batching transitions together. | |
| void | AddTextureAccess
(
FRDGTexture* InTexture, |
||
| FIndirectArgs | CreateIndirect
(
uint32 InCounterOffset |
Create indirect buffer from count values that are held in the GPU count buffer The returned indirect argument information can be kept around for the current frame | |
| FIndirectArgs | CreateIndirect
(
const FUintVector2& InCounterOffsets |
||
| FIndirectArgs | CreateIndirect
(
const FUintVector3& InCounterOffsets |
||
| void | FlushPass () |
||
| FNDIGpuComputeDispatchArgsGenParameters * | |||
| const FNiagaraSimStageData & | |||
| FNiagaraSystemInstanceID | |||
| void | SetDirect
(
const FIntVector3& InElementCountXYZ, |
||
| void | SetDirect
(
uint32 InElementCount, |
Set Direct Dispatch Element Count / Gpu Element Count Offset. | |
| void | SetDirect
(
const FIntPoint& InElementCount, |
||
| void | SetDirect
(
const FIntVector2& InElementCountXY, |
||
| void | SetIndirect
(
FRDGBuffer* InBuffer, |
Set indirect buffer to use, the callback will be inside the RDG pass. | |
| void | SetIndirect
(
FRDGBuffer* InBuffer, |
Set Indirect buffer to use. | |
| void | SetInstanceData
(
FNiagaraSystemInstanceID InSystemInstanceID, |
Typedefs
| Name | Description |
|---|---|
| FCreateIndirectCallback | |
| FIndirectArgs |