![]() |
ezEngine Release 26.3
|
#include <DefaultParticleStreams.h>

Protected Member Functions | |
| virtual void | InitializeElements (ezUInt64 uiStartIndex, ezUInt64 uiNumElements) override |
| The default implementation initializes all data with zero. | |
Protected Member Functions inherited from ezParticleStream | |
| virtual void | Initialize (ezParticleSystemInstance *pOwner) |
| Called once during stream creation to set up any necessary references or state. | |
| virtual ezResult | UpdateStreamBindings () final override |
| Internal method which needs to be implemented, gets the concrete stream bindings. This is called every time the streams are resized. Implementations should check that their required streams exist and are of the correct data types. | |
| virtual void | Process (ezUInt64 uiNumElements) final override |
| Particle streams do not process existing elements, they only initialize new ones. | |
Additional Inherited Members | |
Public Member Functions inherited from ezProcessingStreamProcessor | |
| ezProcessingStreamProcessor () | |
| Base constructor. | |
| virtual | ~ezProcessingStreamProcessor () |
| Base destructor. | |
Public Member Functions inherited from ezReflectedClass | |
| virtual const ezRTTI * | GetDynamicRTTI () 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. | |
Static Public Member Functions inherited from ezNoBase | |
| static const ezRTTI * | GetStaticRTTI () |
Public Attributes inherited from ezProcessingStreamProcessor | |
| float | m_fPriority = 0.0f |
| Used for sorting processors, to ensure a certain order. Lower priority == executed first. | |
Protected Attributes inherited from ezParticleStream | |
| ezProcessingStream * | m_pStream |
| The underlying data stream managed by this particle stream. | |
Protected Attributes inherited from ezProcessingStreamProcessor | |
| ezProcessingStreamGroup * | m_pStreamGroup = nullptr |
| Back pointer to the stream group - will be set to the owner stream group when adding the stream processor to the group. Can be used to get stream pointers in UpdateStreamBindings();. | |
Stream storing particle sizes.
Initializes new particles with size 1.0. Uses half-precision floats to reduce memory usage.
|
overrideprotectedvirtual |
The default implementation initializes all data with zero.
Override this to provide custom initialization for new particles. The implementation should initialize elements in the range [uiStartIndex, uiStartIndex + uiNumElements).
Reimplemented from ezParticleStream.