nw::gfx::ParticleSet::UpdateParticles Member Function
void UpdateParticles(
ParticleContext * particleContext,
bool enableSwapBuffer = true
);
| Name | Description | |
|---|---|---|
| in | particleContext |
Particle context. |
| in | enableSwapBuffer | Specifies whether to swap the buffer. |
Updates particles.
Buffers are not swapped internally if enableSwapBuffer is set to false. This is normally set to true. If the command buffer is doubled on the application side and UpdateNode is called multiple times while rendering the same frame (if ther eis a frame drop process), set this value to false for second and later calls within the same frame.
For details, see ParticleDropFrameDemo.
CONFIDENTIAL