UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FParticleBeamTrailVertexDeclaration Class Reference
+ Inheritance diagram for FParticleBeamTrailVertexDeclaration:

Public Member Functions

 FParticleBeamTrailVertexDeclaration (bool bInUsesDynamicParameter)
 
virtual ~FParticleBeamTrailVertexDeclaration ()
 
virtual void FillDeclElements (FVertexDeclarationElementList &Elements, int32 &Offset)
 
virtual void InitRHI (FRHICommandListBase &RHICmdList)
 
virtual void ReleaseRHI ()
 
- Public Member Functions inherited from FRenderResource
RENDERCORE_API FRenderResource ()
 
RENDERCORE_API FRenderResource (ERHIFeatureLevel::Type InFeatureLevel)
 
RENDERCORE_API FRenderResource (const FRenderResource &)
 
RENDERCORE_API FRenderResource (FRenderResource &&)
 
RENDERCORE_API FRenderResourceoperator= (const FRenderResource &Other)
 
RENDERCORE_API FRenderResourceoperator= (FRenderResource &&Other)
 
virtual RENDERCORE_API ~FRenderResource ()
 
virtual RENDERCORE_API void InitResource (FRHICommandListBase &RHICmdList)
 
virtual RENDERCORE_API void ReleaseResource ()
 
RENDERCORE_API void UpdateRHI (FRHICommandListBase &RHICmdList)
 
virtual FString GetFriendlyName () const
 
bool IsInitialized () const
 
int32 GetListIndex () const
 
EInitPhase GetInitPhase () const
 
void SetOwnerName (FName InOwnerName)
 
FName GetOwnerName () const
 
void SetResourceName (FName InResourceName)
 
FName GetResourceName () const
 

Public Attributes

FVertexDeclarationRHIRef VertexDeclarationRHI
 
- Public Attributes inherited from FRenderResource
ERenderResourceState ResourceState = ERenderResourceState::Default
 

Protected Attributes

bool bUsesDynamicParameter
 

Additional Inherited Members

- Public Types inherited from FRenderResource
enum class  EInitPhase : uint8 { Pre , Default , MAX }
 
- 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)
 
- 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 FRHICommandListBaseGetImmediateCommandList ()
 

Detailed Description

The particle system beam trail vertex declaration resource type.

Constructor & Destructor Documentation

◆ FParticleBeamTrailVertexDeclaration()

FParticleBeamTrailVertexDeclaration::FParticleBeamTrailVertexDeclaration ( bool  bInUsesDynamicParameter)
inline

◆ ~FParticleBeamTrailVertexDeclaration()

virtual FParticleBeamTrailVertexDeclaration::~FParticleBeamTrailVertexDeclaration ( )
inlinevirtual

Member Function Documentation

◆ FillDeclElements()

virtual void FParticleBeamTrailVertexDeclaration::FillDeclElements ( FVertexDeclarationElementList Elements,
int32 Offset 
)
inlinevirtual

The stream to read the vertex position from.

The stream to read the vertex old position from.

The stream to read the vertex size/rot/subimage from.

The stream to read the color from.

The stream to read the texture coordinates from.

Dynamic parameters come from a second stream

◆ InitRHI()

virtual void FParticleBeamTrailVertexDeclaration::InitRHI ( FRHICommandListBase RHICmdList)
inlinevirtual

Initializes the RHI resources used by this resource. Called when entering the state where both the resource and the RHI have been initialized. This is only called by the rendering thread.

Reimplemented from FRenderResource.

◆ ReleaseRHI()

virtual void FParticleBeamTrailVertexDeclaration::ReleaseRHI ( )
inlinevirtual

Releases the RHI resources used by this resource. Called when leaving the state where both the resource and the RHI have been initialized. This is only called by the rendering thread.

Reimplemented from FRenderResource.

Member Data Documentation

◆ bUsesDynamicParameter

bool FParticleBeamTrailVertexDeclaration::bUsesDynamicParameter
protected

◆ VertexDeclarationRHI

FVertexDeclarationRHIRef FParticleBeamTrailVertexDeclaration::VertexDeclarationRHI

The documentation for this class was generated from the following file: