![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Public Member Functions | |
| FParticleSimulationGPU () | |
| ~FParticleSimulationGPU () | |
| void | InitResources (const TArray< uint32 > &Tiles, FGPUSpriteResources *InGPUSpriteResources) |
| void | CreateVectorFieldVisualizationVertexFactory (FRHICommandListBase &RHICmdList, ERHIFeatureLevel::Type InFeatureLevel) |
| void | Destroy () |
| void | Destroy_RenderThread () |
| void | BeginReleaseResources () |
Resources for simulating a set of particles on the GPU.
|
inline |
Default constructor.
|
inline |
Destructor.
|
inline |
Enqueues commands to release render resources.
|
inline |
Create and initializes a visualization vertex factory if needed.
|
inline |
Release and destroy simulation resources.
|
inline |
Destroy the simulation on the rendering thread.
| void FParticleSimulationGPU::InitResources | ( | const TArray< uint32 > & | Tiles, |
| FGPUSpriteResources * | InGPUSpriteResources | ||
| ) |
Initializes resources for simulating particles on the GPU.
| Tiles | The list of tiles to include in the simulation. |
| InEmitterSimulationResources | The emitter resources used by this simulation. |
| bool FParticleSimulationGPU::bDestroyed_GameThread |
| bool FParticleSimulationGPU::bDirty_GameThread |
Flag that specifies the simulation's resources are dirty and need to be updated.
| bool FParticleSimulationGPU::bEnabled |
Allows disabling of simulation.
| FBox FParticleSimulationGPU::Bounds |
Bounds for particles in the simulation.
| bool FParticleSimulationGPU::bReleased_GameThread |
| bool FParticleSimulationGPU::bWantsCollision |
True if the simulation wants collision enabled.
| EParticleCollisionMode::Type FParticleSimulationGPU::CollisionMode |
| const FParticleEmitterSimulationResources* FParticleSimulationGPU::EmitterSimulationResources |
The per-emitter simulation resources.
| FFXSystem* FParticleSimulationGPU::FXSystem |
Pointer the the FX system with which the simulation is associated.
| TRefCountPtr<FGPUSpriteResources> FParticleSimulationGPU::GPUSpriteResources |
Reference to the GPU sprite resources.
| FVectorFieldInstance FParticleSimulationGPU::LocalVectorField |
Local vector field.
| TArray<FNewParticle> FParticleSimulationGPU::NewParticles |
A list of new particles to inject in to the simulation for this emitter.
| FParticlePerFrameSimulationParameters FParticleSimulationGPU::PerFrameSimulationParameters |
The per-frame simulation uniform buffer.
| int32 FParticleSimulationGPU::SimulationIndex |
The simulation index within the associated FX system.
| EParticleSimulatePhase::Type FParticleSimulationGPU::SimulationPhase |
The phase in which these particles should simulate.
A list of tiles to clear that were newly allocated for this emitter.
| FParticleTileVertexBuffer FParticleSimulationGPU::TileVertexBuffer |
The vertex buffer used to access tiles in the simulation.
| FVectorFieldVisualizationVertexFactory* FParticleSimulationGPU::VectorFieldVisualizationVertexFactory |
The vertex factory for visualizing the local vector field.
| FGPUParticleVertexBuffer FParticleSimulationGPU::VertexBuffer |
The vertex buffer used to access particles in the simulation.