Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

PlayStation 2
[RpPrtStd]


Modules

PlayStation 2 Hardware Usage

Functions

RpPrtStdParticleBatch RpPrtStdParticleStdUpdateSkyCB (RpPrtStdEmitter *emt, RpPrtStdParticleBatch *prtBatch, void *data)
RpPrtStdEmitter RpPrtStdEmitterStdEmitSkyCB (RpAtomic *atomic, RpPrtStdEmitter *emt, void *data)
RpPrtStdEmitterClass RpPrtStdEClassStdSetupSkyCB (RpPrtStdEmitterClass *eClass)
RpPrtStdParticleClass RpPrtStdPClassStdSetupSkyCB (RpPrtStdParticleClass *pClass)

Detailed Description

PlayStation 2 Specifics.

Function Documentation

RpPrtStdEmitterClass* RpPrtStdEClassStdSetupSkyCB RpPrtStdEmitterClass   eClass
 

RpPrtStdEClassStdSetupSkyCB is a utility function to setup the necessary callbacks for an emitter class after being streamed in.

The callbacks set by this function is only for the PlayStation 2 platform.

Parameters:
eClass  A pointer to the emitter class.
Returns:
pointer to the emitter class if sucessful, NULL otherwise.
See also:
RpPrtStdGetEClassSetupCallBack , RpPrtStdSetEClassSetupCallBack , RpPrtStdPClassStdSetupSkyCB
RpPrtStdEmitter* RpPrtStdEmitterStdEmitSkyCB RpAtomic   atomic,
RpPrtStdEmitter   emt,
void *    data
 

RpPrtStdEmitterStdEmitSkyCB is the emit callback for the standard emitter property for the PlayStation 2 platform.

This callback emits new particles using the current emitter. The particle class must contain the standard particle properties. The PlayStation 2's ScratchPad memory is used by this callback.

This callback should be added to an emitter class if the emitter contains any of the standard emitter properties.

Parameters:
atomic  Pointer to the parent atomic.
emt  Pointer to the emitter.
data  Pointer to private data for the emit callback. This callback expects the data to be a pointer to a RwReal representing the delta time elapsed.
Returns:
pointer to the emitter if sucessful, NULL otherwise.
See also:
RpPrtStdAtomicUpdate , RpPrtStdPClassSetCallBack
RpPrtStdParticleBatch* RpPrtStdParticleStdUpdateSkyCB RpPrtStdEmitter   emt,
RpPrtStdParticleBatch   prtBatch,
void *    data
 

RpPrtStdParticleStdUpdateSkyCB is the update callback for the standard particle property.

This callback updates all the standard particle properties in a particle for the PlayStation 2 platform. The PlayStation 2's ScratchPad memory and VU0 co-processor is used by this callback.

This callback should be added to a particle class if the particle contains any of the standard particle properties.

Parameters:
emt  Pointer to the parent emitter.
prtBatch  Pointer to the particle batch to be updated.
data  Pointer to private data for the update callback. This callback expects the data to be a pointer to a RwReal representing the delta time elapsed.
Returns:
pointer to the particle batch if sucessful, NULL otherwise.
See also:
RpPrtStdAtomicUpdate , RpPrtStdPClassSetCallBack
RpPrtStdParticleClass* RpPrtStdPClassStdSetupSkyCB RpPrtStdParticleClass   pClass
 

RpPrtStdPClassStdSetupSkyCB is a utility function to setup the necessary callbacks for a particle class after being streamed in.

The callbacks set by this function is only for the PlayStation 2 platform.

Parameters:
pClass  A pointer to the particle class.
Returns:
pointer to the particle class if sucessful, NULL otherwise.
See also:
RpPrtStdGetPClassSetupCallBack , RpPrtStdSetPClassSetupCallBack , RpPrtStdEClassStdSetupSkyCB

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