Navigation
API > API/Plugins > API/Plugins/Niagara
Static buffers shared between all instances built once on load.
| Name | FNiagaraSystemStaticBuffers |
| Type | struct |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraSystemStaticBuffers.h |
| Include Path | #include "NiagaraSystemStaticBuffers.h" |
Syntax
struct FNiagaraSystemStaticBuffers
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| NiagaraSystemStaticBuffers.h | |||
| NiagaraSystemStaticBuffers.h | |||
| NiagaraSystemStaticBuffers.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FNiagaraSystemStaticBuffers() |
NiagaraSystemStaticBuffers.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bFinalized | bool | NiagaraSystemStaticBuffers.h | ||
| CpuFloatBuffer | TArray< float > | NiagaraSystemStaticBuffers.h | ||
| GpuFloatBuffer | FReadBuffer | NiagaraSystemStaticBuffers.h | ||
| GpuFloatResource | TResourceArray< float > | NiagaraSystemStaticBuffers.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint32 AddCpuData
(
TConstArrayView< float > InFloatData |
Adds float data for Cpu access, returns the index into the buffer in elements. | NiagaraSystemStaticBuffers.h | |
uint32 AddGpuData
(
TConstArrayView< float > InFloatData |
Adds float data for Gpu access, returns the index into the buffer in elements. | NiagaraSystemStaticBuffers.h | |
void Finalize() |
Called to finalize the data (done on load by the system) | NiagaraSystemStaticBuffers.h | |
TConstArrayView< float > GetCpuFloatBuffer() |
Get float buffer for Cpu Access. | NiagaraSystemStaticBuffers.h | |
FRHIShaderResourceView * GetGpuFloatBuffer() |
Get float buffer for Gpu Access. | NiagaraSystemStaticBuffers.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| NiagaraSystemStaticBuffers.h | |||
| NiagaraSystemStaticBuffers.h |