Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

RpPrtStdParticleBatch Struct Reference
[RpPrtStd]

Collaboration diagram for RpPrtStdParticleBatch:
Collaboration graph

Data Fields

RpPrtStdParticleBatch *  next
RpPrtStdParticleClass prtClass
RwInt32  numPrt
RwInt32  maxPrt
RwInt32  newPrt
RwInt32  offset

Detailed Description

A structure repsenting a group of particles. For efficient, particles are stored in batches rather than individually. All live particles are stored at the head of batch with no gaps of dead particles. A counter is used to record the number of live particles in the batch. Once a batch has 0 live particles, it will removed from the emitter's active particle list to the inactive list. The first particle of the batch is given by an offset from the start of the particle batch.

Field Documentation

RwInt32 maxPrt
 

Maxium number of particles in batch

RwInt32 newPrt
 

Start of newly emitted particles in the batch

RpPrtStdParticleBatch* next
 

Pointer to the next particle batch

RwInt32 numPrt
 

Number of particles in the batch

RwInt32 offset
 

Offset to the first particle, from the start of the particle batch

RpPrtStdParticleClass* prtClass
 

Pointer to the particle's class


Criterion Software © 1993-2003 Criterion Software Limited. All rights reserved. Built Tue Apr 22 12:46:07 2003. Send Feedback
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)