ezEngine Release 25.08
Loading...
Searching...
No Matches
ezParticleTrailRenderData Class Referencefinal
Inheritance diagram for ezParticleTrailRenderData:

Public Member Functions

virtual bool CanBatch (const ezRenderData &other) const override
 Returns whether this render data and the other render data can be batched together, e.g. rendered in one draw call. An implementation can assume that the other render data is of the same type as this render data.
 
- Public Member Functions inherited from ezRenderData
ezUInt64 GetFinalSortingKey (Category category, const ezCamera &camera) const
 Returns the final sorting for this render data with the given category and camera.
 
- Public Member Functions inherited from ezReflectedClass
virtual const ezRTTIGetDynamicRTTI () const
 
bool IsInstanceOf (const ezRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T >
EZ_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.
 

Public Attributes

ezTexture2DResourceHandle m_hTexture
 
ezUInt16 m_uiMaxTrailPoints
 
float m_fSnapshotFraction
 
ezArrayPtr< ezBaseParticleShaderData > m_BaseParticleData
 
ezArrayPtr< ezTrailParticleShaderData > m_TrailParticleData
 
ezArrayPtr< ezVec4m_TrailPointsShared
 
ezEnum< ezParticleTypeRenderModem_RenderMode
 
bool m_bApplyObjectTransform = true
 
ezTime m_TotalEffectLifeTime
 
ezUInt8 m_uiNumVariationsX = 1
 
ezUInt8 m_uiNumVariationsY = 1
 
ezUInt8 m_uiNumFlipbookAnimationsX = 1
 
ezUInt8 m_uiNumFlipbookAnimationsY = 1
 
ezTexture2DResourceHandle m_hDistortionTexture
 
float m_fDistortionStrength = 0
 
ezEnum< ezParticleLightingModem_LightingMode
 
float m_fNormalCurvature = 0.5f
 
float m_fLightDirectionality = 0.5f
 
- Public Attributes inherited from ezRenderData
ezBitflags< Flagsm_Flags
 
ezTransform m_GlobalTransform = ezTransform::MakeIdentity()
 
ezBoundingBoxSphere m_GlobalBounds
 
ezUInt32 m_uiSortingKey = 0
 
float m_fSortingDepthOffset = 0.0f
 
ezGameObjectHandle m_hOwner
 

Additional Inherited Members

- Public Types inherited from ezRenderData
using SortingKeyFunc = ezUInt64(*)(const ezRenderData *, const ezCamera &)
 This function generates a 64bit sorting key for the given render data. Data with lower sorting key is rendered first.
 
- Static Public Member Functions inherited from ezRenderData
static Category RegisterCategory (const char *szCategoryName, SortingKeyFunc sortingKeyFunc)
 
static Category RegisterDerivedCategory (const char *szCategoryName, Category baseCategory)
 
static Category RegisterRedirectedCategory (const char *szCategoryName, Category staticCategory, Category dynamicCategory)
 
static Category FindCategory (ezTempHashedString sCategoryName)
 
static Category ResolveCategory (Category category, bool bDynamic)
 
static ezHashedString GetCategoryName (Category category)
 
static void GetAllCategoryNames (ezDynamicArray< ezHashedString > &out_categoryNames)
 
static const ezRendererGetCategoryRenderer (Category category, const ezRTTI *pRenderDataType)
 
- Static Public Member Functions inherited from ezNoBase
static const ezRTTIGetStaticRTTI ()
 

Member Function Documentation

◆ CanBatch()

bool ezParticleTrailRenderData::CanBatch ( const ezRenderData other) const
overridevirtual

Returns whether this render data and the other render data can be batched together, e.g. rendered in one draw call. An implementation can assume that the other render data is of the same type as this render data.

Reimplemented from ezRenderData.


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