Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

RpMaterial
[PS2All]


Functions

RxPipeline RpMaterialSkyGetPS2AllMatPipeline (void)

Detailed Description

Platform-specific

Function Documentation

RxPipeline* RpMaterialSkyGetPS2AllMatPipeline void   
 

RpMaterialSkyGetPS2AllMatPipeline returns a pointer to the standard material PS2AllMat pipeline.

PS2AllMat.csl is the material pipeline node counterpart to (the object pipeline node) PS2All.csl. Objects for which this material pipeline is used must have their instance pipeline constructed from PS2All.csl (see RxNodeDefinitionGetPS2All and RxNodeDefinitionGetPS2AllMat for details).

Note that you may write your own VU1 code and attach it to a material pipeline so that you can perform whatever special effects you like on VU1 (see the PS2AllMat.csl API for details).

By default, materials are rendered using this PS2AllMat-based pipeline.

If you wish to submit 2D triangles through Submit.csl (i.e you want to do transformation and lighting and whatever else CPU-side - which will of course be very slow) then rather than use this material pipeline, you should use a generic (non-PlayStation 2-specific) one.

The world plugin must be attached before using this function.

The PS2AllMat material pipeline:

PS2Mat.csl

Returns:
Returns pointer to the pipeline if successful or NULL if there is an error.
See also:
RxNodeDefinitionGetPS2AllMat , RxNodeDefinitionGetPS2All , RpMaterialGetDefaultPipeline , RpMaterialSetDefaultPipeline , RpMaterialGetPipeline , RpMaterialSetPipeline , RpAtomicGetDefaultPipeline , RpAtomicGetDefaultPipeline (platform-specific) , RpAtomicSetDefaultPipeline , RpAtomicSkyGetPS2AllPipeline , RpAtomicGetPipeline , RpAtomicSetPipeline , RpWorldGetDefaultSectorPipeline , RpWorldGetDefaultSectorPipeline (platform-specific) , RpWorldSetDefaultSectorPipeline , RpWorldSectorSkyGetPS2AllPipeline , RpWorldGetSectorPipeline , RpWorldSetSectorPipeline , RpWorldSectorGetPipeline , RpWorldSectorSetPipeline

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