Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

RpPrtStdEmitterPTank Struct Reference
[RpPrtStd]

Collaboration diagram for RpPrtStdEmitterPTank:

Collaboration graph

Data Fields

RwUInt32 dataFlags
RwUInt32 platFlags
RwUInt32 numPrt
RwUInt32 maxPrt
RwUInt32 updateFlags
RwUInt32 emitFlags
RpAtomicpTank
RwChar ** dataInPtrs
RwChar ** dataOutPtrs
RwInt32dataStride
RwUInt32 strSrcBlend
RwUInt32 strDstBlend
RwBool strVtxABlend

Detailed Description

A structure for storing the data required to create a RpPTank for use with the emitter. The structure allows the user to create a RpPTank manually.


Field Documentation

RwUInt32 dataFlags
 

Data flag used in RpPTank creation. See RpPTankAtomicCreate

RwChar** dataInPtrs
 

An array of pointers pointing to the particle's property buffers in RpPTank. This array points to the input values to be updated. The pointers must be incremented after each particle is processed. The size of the array is dependant on the number of particle properties. The order of the properties is constant.

See also:
RpPTankDataLockFlags.

RwChar ** dataOutPtrs
 

An array of pointers pointing to the particle's property buffers in RpPTank. This array points to where updated values are to be written. This can be in the input buffer or a seperate output buffer. Dead particles are removed by being overwritten by live particles. So the pointers should only be incremented for each live particle updated. The size of the array is dependant on the number of particle properties. The order of the properties is constant.

See also:
RpPTankDataLockFlags.

RwInt32* dataStride
 

An array of RwInt32 to store the stride of the particle properties in the RpPTank. This is the value the data pointers need to be incremented to the next particle. The size of the array is dependant on the number of particle properties. The order of the stride is constant.

See also:
RpPTankDataLockFlags.

RwUInt32 emitFlags
 

A flag representing the properties to be initialized by the particle emitter during particles emission. A user may select to initialize some properties manually by unsetting the relevant bits in the flag. The flag settings are the same as RpPTankDataFlags

RwUInt32 maxPrt
 

An integer representing the maxiumum number of particles stored in the RpPTank

RwUInt32 numPrt
 

An integer representing the current number of active particles

RwUInt32 platFlags
 

Platform flag used in RpPTank creation. See RpPTankAtomicCreate

RpAtomic* pTank
 

Pointer to the RpPTank RpAtomic.

RwUInt32 strDstBlend
 

This is used to set the destination blend mode for the RpPTank RpAtomic when it is created for the first time.

See also:
RpPTankAtomicSetBlendModes.

RwUInt32 strSrcBlend
 

This is used to set the source blend mode for the RpPTank RpAtomic when it is created for the first time.

See also:
RpPTankAtomicSetBlendModes.

RwBool strVtxABlend
 

This is used to enable vertex alpha blending for the RpTank RpAtomic when it is created for the first time.

See also:
RpPTankAtomicSetVertexAlpha.

RwUInt32 updateFlags
 

A flag representing the properties to be updated by the particle emiiter during update. A user may select to update some properties manually by unsetting the relevant bits in the flag. The flag settings are the same as RpPTankDataFlags


Criterion Software © 1993-2004 Criterion Software Limited. All rights reserved. Built Thu Feb 12 13:46:43 2004. Send Feedback