![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Inheritance diagram for FParticleStateTextures:Static Public Member Functions | |
| static EPixelFormat | GetParticlePositionFormat () |
| static EPixelFormat | GetParticleVelocityFormat () |
Static Public Member Functions inherited from FRenderResource | |
| static RENDERCORE_API void | ReleaseRHIForAllResources () |
| static RENDERCORE_API void | InitPreRHIResources () |
| static RENDERCORE_API void | ChangeFeatureLevel (ERHIFeatureLevel::Type NewFeatureLevel) |
| static RENDERCORE_API FName | SetScopeName (FName Name) |
Public Attributes | |
| const TCHAR * | PaticlePositonTextureName = TEXT("FParticleStatePosition") |
| const TCHAR * | PaticleVelocityTextureName = TEXT("FParticleStateVelocity") |
| FTextureRHIRef | PositionTextureRHI |
| FTextureRHIRef | VelocityTextureRHI |
| bool | bTexturesCleared |
| int32 | ParticleStateIndex = 0 |
| FIntPoint | RenderTargetSize |
Public Attributes inherited from FRenderResource | |
| ERenderResourceState | ResourceState = ERenderResourceState::Default |
Additional Inherited Members | |
Public Types inherited from FRenderResource | |
| enum class | EInitPhase : uint8 { Pre , Default , MAX } |
Protected Member Functions inherited from FRenderResource | |
| void | SetFeatureLevel (const FStaticFeatureLevel InFeatureLevel) |
| const FStaticFeatureLevel | GetFeatureLevel () const |
| bool | HasValidFeatureLevel () const |
| template<typename T > | |
| FBufferRHIRef | CreateRHIBuffer (FRHICommandListBase &RHICmdList, T &InOutResourceObject, uint32 ResourceCount, EBufferUsageFlags InBufferUsageFlags, const TCHAR *InDebugName) |
| void | SetInitPhase (EInitPhase InInitPhase) |
Static Protected Member Functions inherited from FRenderResource | |
| static RENDERCORE_API FRHICommandListBase & | GetImmediateCommandList () |
Texture resources holding per-particle state required for GPU simulation.
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlineoverridevirtual |
Initialize RHI resources used for particle simulation.
Reimplemented from FRenderResource.
Releases RHI resources used for particle simulation.
Reimplemented from FRenderResource.
|
inline |
ResizeRHI esources used for particle simulation.
| bool FParticleStateTextures::bTexturesCleared |
| int32 FParticleStateTextures::ParticleStateIndex = 0 |
| FTextureRHIRef FParticleStateTextures::PositionTextureRHI |
Contains the positions of all simulating particles.
| FIntPoint FParticleStateTextures::RenderTargetSize |
| FTextureRHIRef FParticleStateTextures::VelocityTextureRHI |
Contains the velocity of all simulating particles.