GPU counters consumed by emit, compact, simulate, render and readback passes.
More...
#include <ParticleSystem.h>
|
|
xiiUInt32 | m_uiAliveCount = 0U |
| | Number of currently alive particles. This is updated by the GPU after emit, simulate, and compact passes, and is used for determining how many particles to process in subsequent passes (e.g., rendering or readback). The exact semantics of this count (e.g., whether it includes newly emitted particles before simulation) are defined by the particle graph and may depend on the enabled features.
|
|
xiiUInt32 | m_uiDeadCount = 0U |
| | Number of currently dead particles. This is updated by the GPU after emit, simulate, and compact passes, and is used for determining how many particles can be emitted in subsequent emit passes (e.g., if there's a maximum capacity). The exact semantics of this count (e.g., whether it includes particles that just died in the current frame) are defined by the particle graph and may depend on the enabled features.
|
|
xiiUInt32 | m_uiSpawnRequestCount = 0U |
| | Number of spawn requests made by emitters in the current frame. This is updated by the GPU during emit passes, and can be used for debugging or for implementing features such as emitter throttling based on demand. The exact semantics of this count (e.g., whether it includes requests that were denied due to capacity limits) are defined by the particle graph and may depend on the enabled features.
|
|
xiiUInt32 | m_uiEventCount = 0U |
| | Number of events emitted in the current frame. This is updated by the GPU during simulation passes when events are emitted, and can be used for debugging or for implementing features such as event throttling based on demand. The exact semantics of this count (e.g., whether it includes events that were emitted but not yet processed) are defined by the particle graph and may depend on the enabled features (e.g., EnableEvents).
|
GPU counters consumed by emit, compact, simulate, render and readback passes.
The documentation for this struct was generated from the following file: