Module |
|
Header |
/Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraScriptExecutionContext.h |
Include |
#include "NiagaraScriptExecutionContext.h" |
class FNiagaraGPUSystemTick
Represents all the information needed to dispatch a single tick of a FNiagaraSystemInstance. This object will be created on the game thread and passed to the renderthread.
It contains the PerInstance data buffer for every DataInterface referenced by the system as well as the Data required to dispatch updates for each Emitter in the system.
DataInterface data is packed tightly. It includes a TMap that associates the data interface with the offset into the packed buffer. At that offset is the Per-Instance data for this System.
InstanceData_ParamData_Packed packs FNiagaraComputeInstanceData and ParamData into one buffer. There is padding after the array of FNiagaraComputeInstanceData so we can upload ParamData directly into a UniformBuffer (it is 16 byte aligned).
Name | Description | ||
---|---|---|---|
|
bIsFinalTick |
||
|
bNeedsReset |
||
|
bRequiresDepthBuffer |
||
|
bRequiresDistanceFieldData |
||
|
bRequiresEarlyViewData |
||
|
Count |
||
|
DIInstanceData |
||
|
uint8 * |
GlobalParamData |
|
|
uint8 * |
InstanceData_ParamData_Packed |
|
|
NumInstancesWithSimStages |
||
|
uint8 * |
OwnerParamData |
|
|
SystemInstanceID |
Data assigned by GT |
|
|
uint8 * |
SystemParamData |
|
|
TotalDispatches |
||
|
UniformBuffers |
Transient data used by the RT. |
Name | Description | ||
---|---|---|---|
|
Destroy() |
||
|
FNiagaraComp... |
GetInstanceData() |
|
|
FUniformBuff... |
GetUniformBuffer ( |
|
|
const uint8 ... |
GetUniformBufferSource ( |
|
|
Init ( |
||
|
IsValid() |
Name |
Description |
|
---|---|---|
|
EUniformBufferType |