Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

RpPDS
[PowerPipe]


Modules

PlayStation 2

Data Structures

union   RpPDSPipeDefinition
struct   RpPDSRegister

Defines

#define  RpPDSRegisterGrpObjPipe(_definition, _id, _group)
#define  RpPDSRegisterObjPipe(_definition, _id)
#define  RpPDSRegisterMatPipe(_definition, _id)

Enumerations

enum   RpPDSPipeType { rpNAPDSPIPETYPE = 0, rpPDSMATPIPE = 1, rpPDSOBJPIPE = 2, rpPDSPIPETYPEFORCEENUMSIZEINT = RWFORCEENUMSIZEINT }
enum   RpPDSPipeID {
  rpNAPDSPIPEID = 0, rwPDS_G3_Generic_MatPipeID, rwPDS_G3_Generic_AtmPipeID, rwPDS_G3_Generic_SctPipeID,
  rwPDS_G3_Im3D_TriPipeID, rwPDS_G3_Im3D_SegPipeID, rwPDS_G3_Im3D_TriObjPipeID, rwPDS_G3_Im3D_SegObjPipeID,
  rwPDS_G3_Generic_GrpMatPipeID, rwPDS_G3_Generic_GrpAtmPipeID, rwPDS_G3_Generic_GrpSctPipeID, rwPDS_G3x_Generic_AtmPipeID,
  rwPDS_G3x_APL_MatPipeID, rwPDS_G3x_ADL_MatPipeID, rwPDS_G3x_A4D_MatPipeID, rwPDS_G3x_APLDup_MatPipeID,
  rwPDS_G3x_ADLDup_MatPipeID, rwPDS_G3x_A4DDup_MatPipeID, rwPDS_G3x_APLGem_MatPipeID, rwPDS_G3x_ADLGem_MatPipeID,
  rwPDS_G3x_A4DGem_MatPipeID, rwPDS_G3x_Skin_AtmPipeID, rwPDS_G3x_APLSkin_MatPipeID, rwPDS_G3x_ADLSkin_MatPipeID,
  rwPDS_G3x_A4DSkin_MatPipeID, rwPDS_G3x_APLSkinDup_MatPipeID, rwPDS_G3x_ADLSkinDup_MatPipeID, rwPDS_G3x_A4DSkinDup_MatPipeID,
  rwPDS_G3x_APLSkinGem_MatPipeID, rwPDS_G3x_ADLSkinGem_MatPipeID, rwPDS_G3x_A4DSkinGem_MatPipeID, rwPDS_G3x_ADLClone_MatPipeID,
  rwPDS_G3x_ADLClone_AtmPipeID, rwPDS_G3x_OPLClone_MatPipeID, rwPDS_G3x_OPLClone_AtmPipeID, rwPDS_G3x_Team_MatPipeID,
  rwPDS_G3x_DupTeam_MatPipeID, rwPDS_G3x_GemTeam_MatPipeID, rwPDS_G3x_SkinTeam_MatPipeID, rwPDS_G3x_SkinDupTeam_MatPipeID,
  rwPDS_G3x_SkinGemTeam_MatPipeID, rwPDS_G3x_Team_AtmPipeID, rwPDS_G3x_SkinTeam_AtmPipeID, rwPDS_G3x_APLUva_MatPipeID,
  rwPDS_G3x_ADLUva_MatPipeID, rwPDS_G3x_A4DUva_MatPipeID, rwPDS_G3x_APLDupUva_MatPipeID, rwPDS_G3x_ADLDupUva_MatPipeID,
  rwPDS_G3x_A4DDupUva_MatPipeID, rwPDS_G3x_APLSkinUva_MatPipeID, rwPDS_G3x_ADLSkinUva_MatPipeID, rwPDS_G3x_A4DSkinUva_MatPipeID,
  rwPDS_G3x_APLSkDupUva_MatPipeID, rwPDS_G3x_ADLSkDupUva_MatPipeID, rwPDS_G3x_A4DSkDupUva_MatPipeID, rwPDS_G3xd_APL_MatPipeID,
  rwPDS_G3xd_ADL_MatPipeID, rwPDS_G3xd_A4D_MatPipeID, rwPDS_G3xd_APLDup_MatPipeID, rwPDS_G3xd_ADLDup_MatPipeID,
  rwPDS_G3xd_A4DDup_MatPipeID, rwPDS_G3xd_APLGem_MatPipeID, rwPDS_G3xd_ADLGem_MatPipeID, rwPDS_G3xd_A4DGem_MatPipeID,
  rwPDS_G3xd_APLUva_MatPipeID, rwPDS_G3xd_ADLUva_MatPipeID, rwPDS_G3xd_A4DUva_MatPipeID, rwPDS_G3xd_APLDupUva_MatPipeID,
  rwPDS_G3xd_ADLDupUva_MatPipeID, rwPDS_G3xd_A4DDupUva_MatPipeID, rwPDS_G3xd_APLSkin_MatPipeID, rwPDS_G3xd_ADLSkin_MatPipeID,
  rwPDS_G3xd_A4DSkin_MatPipeID, rwPDS_G3xd_APLSkinDup_MatPipeID, rwPDS_G3xd_ADLSkinDup_MatPipeID, rwPDS_G3xd_A4DSkinDup_MatPipeID,
  rwPDS_G3xd_APLSkinGem_MatPipeID, rwPDS_G3xd_ADLSkinGem_MatPipeID, rwPDS_G3xd_A4DSkinGem_MatPipeID, rwPDS_G3xd_APLSkinUva_MatPipeID,
  rwPDS_G3xd_ADLSkinUva_MatPipeID, rwPDS_G3xd_A4DSkinUva_MatPipeID, rwPDS_G3xd_APLSkDupUva_MatPipeID, rwPDS_G3xd_ADLSkDupUva_MatPipeID,
  rwPDS_G3xd_A4DSkDupUva_MatPipeID, rwPDS_VCL_Generic_AtmPipeID, rwPDS_VCL_ADLDot3_MatPipeID, rwPDS_VCL_APLDot3_MatPipeID,
  rwPDS_VCL_ADLSpec_MatPipeID, rwPDS_VCL_APLSpec_MatPipeID, rwPDS_VCL_Skin_AtmPipeID, rwPDS_VCL_ADLSkinDot3_MatPipeID,
  rwPDS_VCL_APLSkinDot3_MatPipeID, rwPDS_VCL_ADLSkinSpec_MatPipeID, rwPDS_VCL_APLSkinSpec_MatPipeID, rwPDS_G3_Skin_MatPipeID,
  rwPDS_G3_Skin_AtmPipeID, rwPDS_G3_Emb_MatPipeID, rwPDS_G3_Gem_MatPipeID, rwPDS_G3_Bem_MatPipeID,
  rwPDS_G3_Dup_MatPipeID, rwPDS_G3_Toon_MatPipeID, rwPDS_G3_SkinEmb_MatPipeID, rwPDS_G3_SkinGem_MatPipeID,
  rwPDS_G3_SkinBem_MatPipeID, rwPDS_G3_SkinDup_MatPipeID, rwPDS_G3_SkinToon_MatPipeID, rwPDS_G2_BPatch_AtmPipeID,
  rwPDS_G2_BPatch_MatPipeID, rwPDS_G2_SkinBPatch_AtmPipeID, rwPDS_G2_SkinBPatch_MatPipeID, rwPDS_G2_EmbBPatch_MatPipeID,
  rwPDS_G2_GemBPatch_MatPipeID, rwPDS_G2_BemBPatch_MatPipeID, rwPDS_G2_DupBPatch_MatPipeID, rwPDS_G2_SkinEmbBPatch_MatPipeID,
  rwPDS_G2_SkinGemBPatch_MatPipeID, rwPDS_G2_SkinBemBPatch_MatPipeID, rwPDS_G2_SkinDupBPatch_MatPipeID, rwPDS_G3_2DStroke_MatPipeID,
  rwPDS_G3_2DStroke_ObjPipeID, rwPDS_G3_2DFont_MatPipeID, rwPDS_G3_2DFont_ObjPipeID, rwPDS_G3_2DFill_MatPipeID,
  rwPDS_G3_2DFill_ObjPipeID, rwPDS_G3_SkSpt_AtmPipeID, rwPDS_G3_SkSpt_MatPipeID, rwPDS_G3_SkSptEmb_MatPipeID,
  rwPDS_G3_SkSptGem_MatPipeID, rwPDS_G3_SkSptBem_MatPipeID, rwPDS_G3_SkSptDup_MatPipeID, rwPDS_G3_SkSptToon_MatPipeID,
  rwPDS_G3_Uva_MatPipeID, rwPDS_G3_DupUva_MatPipeID, rwPDS_G3_SkinUva_MatPipeID, rwPDS_G3_SkinDupUva_MatPipeID,
  rwPDS_G3_SkSptUva_MatPipeID, rwPDS_G3_SkSptDupUva_MatPipeID, rwPDS_G3_Skin_GrpMatPipeID, rwPDS_G3_Skin_GrpAtmPipeID,
  rwPDS_G2_DarkMaps_GrpMatPipeID, rwPDS_G2_DarkMaps_GrpAtmPipeID, rwPDS_G2_DarkMaps_GrpSctPipeID, rwPDS_G3_Toon_GrpMatPipeID,
  rwPDS_G3_Toon_GrpAtmPipeID, rwPDS_G3_Toon_GrpSctPipeID, rwPDS_G3_SkinToon_GrpMatPipeID, rwPDS_G3_SkinToon_GrpAtmPipeID,
  rwPDS_G3_MatfxUV1_GrpMatPipeID, rwPDS_G3_MatfxUV2_GrpMatPipeID, rwPDS_G3_MatfxUV1_GrpAtmPipeID, rwPDS_G3_MatfxUV2_GrpAtmPipeID,
  rwPDS_G3_MatfxUV1_GrpSctPipeID, rwPDS_G3_MatfxUV2_GrpSctPipeID, rwPDS_G3_SkinfxUV1_GrpMatPipeID, rwPDS_G3_SkinfxUV2_GrpMatPipeID,
  rwPDS_G3_SkinfxUV1_GrpAtmPipeID, rwPDS_G3_SkinfxUV2_GrpAtmPipeID, rwPDS_G2_BPatch_GrpAtmPipeID, rwPDS_G2_BPatch_GrpMatPipeID,
  rwPDS_G2_SkinBPatch_GrpAtmPipeID, rwPDS_G2_SkinBPatch_GrpMatPipeID, rwPDS_G2_MatfxUV1BPatch_GrpMatPipeID, rwPDS_G2_MatfxUV2BPatch_GrpMatPipeID,
  rwPDS_G2_MatfxUV1BPatch_GrpAtmPipeID, rwPDS_G2_MatfxUV2BPatch_GrpAtmPipeID, rwPDS_G2_SkinfxUV1BPatch_GrpMatPipeID, rwPDS_G2_SkinfxUV2BPatch_GrpMatPipeID,
  rwPDS_G2_SkinfxUV1BPatch_GrpAtmPipeID, rwPDS_G2_SkinfxUV2BPatch_GrpAtmPipeID, rwPDS_VCL_Uva_MatPipeID, rwPDS_VCL_DupUva_MatPipeID,
  rwPDS_VCL_SkinUva_MatPipeID, rwPDS_VCL_SkinDupUva_MatPipeID, rpPDSMAXPIPEID, rpPDSPIPEIDFORCEENUMSIZEINT = RWFORCEENUMSIZEINT
}

Functions

RwBool  RpPDSPluginAttach (RwUInt32 numPipes)
RpPDSRegister RpPDSRegisterPipe (RpPDSRegister *definition)
RxPipeline RpPDSGetPipe (RpPDSPipeID pipeId)

Detailed Description

RpPDS is a plugin to support the delivery of rendering pipelines.

RpPDS (Pipeline Delivery System) Plugin Overview

Requirements
Note:

Overview

Introduction
This plugin has been introduced to help handle the increasing number of rendering pipelines within RenderWare Graphics. At present this plugin has only been fully implemented for the RenderWare Graphics PlayStation 2 SDK.
Design
The plugin has been designed to easily handle the dropping of unwanted and unused pipelines. Previously, many of the RenderWare Graphics plugins created rendering pipelines when they were attached. Obviously the developer would need some, but not necessarily all of these pipelines. Now, the plugins do not create pipelines but retrieve pipelines from the PDS. It is now the application's job to specify which pipelines are needed and hence the application does not carry around unused code.
Platform independent API
On the surface the platform independent API is simple to use. The following interface is defined :-
Pipeline Structure
For documentation about the structure of the pipeline we recommend you refer to:
Documentation and Examples
Further information about the PDS plugin can be found:

Define Documentation

#define RpPDSRegisterGrpObjPipe _definition,
_id,
_group   
 

Helper macro that will register a grouped object pipeline from a RpPDSObjTemplate, object RpPDSPipeID and material RpPDSPipeID. When the pipeline is constructed the material pipeline will be retrieved through the pipeline ID and attached to the object pipeline. The macro will construct a suitable RpPDSRegister structure and register the pipelines construction with RpPDSRegisterPipe.

Parameters:
_definition  Pointer to a static RpPDSObjTemplate.
_id  Pipeline ID to register the pipeline with.
_group  Pipeline ID of the material pipeline to group.
See also:
RpPDSRegisterPipe , RpPDSRegister , RpPDSPipeType , RpPDSGetPipe
#define RpPDSRegisterMatPipe _definition,
_id   
 

Helper macro that will register a material pipeline from a RpPDSMatTemplate and RpPDSPipeID. The macro will construct a suitable RpPDSRegister structure and register the pipelines construction with RpPDSRegisterPipe.

Parameters:
_definition  Pointer to a static RpPDSMatTemplate.
_id  Pipeline ID to register the pipeline with.
See also:
RpPDSRegisterPipe , RpPDSRegister , RpPDSPipeType , RpPDSGetPipe
#define RpPDSRegisterObjPipe _definition,
_id   
 

Helper macro that will register an object pipeline from a RpPDSObjTemplate and RpPDSPipeID. The macro will construct a suitable RpPDSRegister structure and register the pipelines construction with RpPDSRegisterPipe.

Parameters:
_definition  Pointer to a static RpPDSObjTemplate.
_id  Pipeline ID to register the pipeline with.
See also:
RpPDSRegisterPipe , RpPDSRegister , RpPDSPipeType , RpPDSGetPipe

Enumeration Type Documentation

enum RpPDSPipeID
 

Enumeration defines the available rendering pipelines within the PDS. The pipelines and their IDs are platform specific.

See also:
RpPDSGetPipe , RpPDSRegisterObjPipe , RpPDSRegisterMatPipe , RpPDSRegisterGrpObjPipe , RpPDSRegisterPipe
Enumeration values:
rwPDS_G3_Generic_MatPipeID  Generic Material rendering pipeline
See also:
G3_Generic definitions
rwPDS_G3_Generic_AtmPipeID  Object only Atomic rendering pipeline
See also:
G3_Generic definitions
rwPDS_G3_Generic_SctPipeID  Object only World Sector Generic rendering pipeline
See also:
G3_Generic definitions
rwPDS_G3_Im3D_TriPipeID  (internal Triangle Im3D material pipeline)
See also:
G3_Im3D definitions
rwPDS_G3_Im3D_SegPipeID  (internal Line Im3D material pipeline)
See also:
G3_Im3D definitions
rwPDS_G3_Im3D_TriObjPipeID  Grouped Triangle Im3D pipeline
See also:
G3_Im3D definitions
rwPDS_G3_Im3D_SegObjPipeID  Grouped Line Im3D pipeline
See also:
G3_Im3D definitions
rwPDS_G3_Generic_GrpMatPipeID  Grouped Material Generic rendering pipeline
See also:
G3_Generic definitions
rwPDS_G3_Generic_GrpAtmPipeID  Grouped Atomic Generic rendering pipeline
See also:
G3_Generic definitions
rwPDS_G3_Generic_GrpSctPipeID  Grouped World Sector Generic rendering pipeline
See also:
G3_Generic definitions
rwPDS_G3x_Generic_AtmPipeID  Object only Custom lighting Atomic pipeline. Attached material pipelines should share their lighting setup.
See also:
G3x_Generic definitions
rwPDS_G3x_APL_MatPipeID  Ambient and Point Light Generic rendering
See also:
G3x_APL definitions , G3x_Generic definitions
rwPDS_G3x_ADL_MatPipeID  Ambient and Direction Light Generic rendering
See also:
G3x_ADL definitions , G3x_Generic definitions
rwPDS_G3x_A4D_MatPipeID  Ambient and 4 Direction Lights Generic rendering
See also:
G3x_A4D definitions , G3x_Generic definitions
rwPDS_G3x_APLDup_MatPipeID  Ambient and Point Light Dual Pass rendering
See also:
G3x_APLDup definitions , G3x_Generic definitions
rwPDS_G3x_ADLDup_MatPipeID  Ambient and Direction Light Dual Pass rendering
See also:
G3x_ADLDup definitions , G3x_Generic definitions
rwPDS_G3x_A4DDup_MatPipeID  Ambient and 4 Direction Lights Dual Pass rendering
See also:
G3x_A4DDup definitions , G3x_Generic definitions
rwPDS_G3x_APLGem_MatPipeID  Ambient and Point Light Gloss Environment Map rendering
See also:
G3x_APLGem definitions , G3x_Generic definitions
rwPDS_G3x_ADLGem_MatPipeID  Ambient and Direction Light Gloss Environment Map rendering
See also:
G3x_ADLGem definitions , G3x_Generic definitions
rwPDS_G3x_A4DGem_MatPipeID  Ambient and 4 Direction Lights Gloss Environment Map rendering
See also:
G3x_A4DGem definitions , G3x_Generic definitions
rwPDS_G3x_Skin_AtmPipeID  Object only Custom lighting & adaptive skinning Atomic pipeline. Attached material pipelines should share their lighting setup.
See also:
G3x_Skin definitions
rwPDS_G3x_APLSkin_MatPipeID  Ambient and Point Light Skin Generic rendering
See also:
G3x_APLSkin definitions , G3x_Skin definitions
rwPDS_G3x_ADLSkin_MatPipeID  Ambient and Direction Light Skin Generic rendering
See also:
G3x_ADLSkin definitions , G3x_Skin definitions
rwPDS_G3x_A4DSkin_MatPipeID  Ambient and 4 Direction Lights Skin Generic rendering
See also:
G3x_A4DSkin definitions , G3x_Skin definitions
rwPDS_G3x_APLSkinDup_MatPipeID  Ambient and Point Light Skin Dual Pass rendering
See also:
G3x_APLSkinDup definitions , G3x_Skin definitions
rwPDS_G3x_ADLSkinDup_MatPipeID  Ambient and Direction Light Skin Dual Pass rendering
See also:
G3x_ADLSkinDup definitions , G3x_Skin definitions
rwPDS_G3x_A4DSkinDup_MatPipeID  Ambient and 4 Direction Lights Skin Dual Pass rendering
See also:
G3x_A4DSkinDup definitions , G3x_Skin definitions
rwPDS_G3x_APLSkinGem_MatPipeID  Ambient and Point Light Skin Gloss Environment Map rendering
See also:
G3x_APLSkinGem definitions , G3x_Skin definitions
rwPDS_G3x_ADLSkinGem_MatPipeID  Ambient and Direction Light Skin Gloss Environment Map rendering
See also:
G3x_ADLSkinGem definitions , G3x_Skin definitions
rwPDS_G3x_A4DSkinGem_MatPipeID  Ambient and 4 Direction Lights Skin Gloss Environment Map rendering
See also:
G3x_A4DSkinGem definitions , G3x_Skin definitions
rwPDS_G3x_ADLClone_MatPipeID  Ambient and Directional clone rendering
See also:
G3x_ADLClone definitions
rwPDS_G3x_ADLClone_AtmPipeID  Grouped Custom lighting cloning Atomic pipeline. All atomic's materials will be rendered with the grouped rwPDS_G3x_ADLClone_MatPipeID pipeline.
See also:
G3x_ADLClone definitions
rwPDS_G3x_OPLClone_MatPipeID  Object pre-light clone rendering
See also:
G3x_OPLClone definitions
rwPDS_G3x_OPLClone_AtmPipeID  Grouped Custom lighting cloning Atomic pipeline. All atomic's materials will be rendered with the grouped rwPDS_G3x_OPLClone_MatPipeID pipeline.
See also:
G3x_OPLClone definitions
rwPDS_G3x_Team_MatPipeID  Team static and 1 to 4 plane projected shadow rendering pipeline. This pipeline contains custom rendering code for the following light combinations :-
  • 1 Ambient and 1 Directional lights,
  • 1 Ambient and 4 Directional lights,
  • 1 Ambient and 1 Point lights.
The pipeline is highly custom and should only be used from within the Team plugin.
See also:
G3x_Team definitions
rwPDS_G3x_DupTeam_MatPipeID  Team static dual pass and 1 to 4 plane projected shadow rendering pipeline. This pipeline contains custom rendering code for the following light combinations :-
  • 1 Ambient and 1 Directional lights,
  • 1 Ambient and 4 Directional lights,
  • 1 Ambient and 1 Point lights.
The pipeline is highly custom and should only be used from within the Team plugin.
See also:
G3x_DupTeam definitions
rwPDS_G3x_GemTeam_MatPipeID  Team static gloss enivronment mapping and 1 to 4 plane projected shadow rendering pipeline. This pipeline contains custom rendering code for the following light combinations :-
  • 1 Ambient and 1 Directional lights,
  • 1 Ambient and 4 Directional lights,
  • 1 Ambient and 1 Point lights.
The pipeline is highly custom and should only be used from within the Team plugin.
See also:
G3x_GemTeam definitions
rwPDS_G3x_SkinTeam_MatPipeID  Team ataptive skinning and 1 to 4 plane projected shadow rendering pipeline. This pipeline contains custom rendering code for the following light combinations :-
  • 1 Ambient and 1 Directional lights,
  • 1 Ambient and 4 Directional lights,
  • 1 Ambient and 1 Point lights.
The pipeline is highly custom and should only be used from within the Team plugin.
See also:
G3x_SkinTeam definitions
rwPDS_G3x_SkinDupTeam_MatPipeID  Team ataptive skinning dual pass and 1 to 4 plane projected shadow rendering pipeline. This pipeline contains custom rendering code for the following light combinations :-
  • 1 Ambient and 1 Directional lights,
  • 1 Ambient and 4 Directional lights,
  • 1 Ambient and 1 Point lights.
The pipeline is highly custom and should only be used from within the Team plugin.
See also:
G3x_SkinDupTeam definitions
rwPDS_G3x_SkinGemTeam_MatPipeID  Team ataptive skinning gloss environment mapping and 1 to 4 plane projected shadow rendering pipeline. This pipeline contains custom rendering code for the following light combinations :-
  • 1 Ambient and 1 Directional lights,
  • 1 Ambient and 4 Directional lights,
  • 1 Ambient and 1 Point lights.
The pipeline is highly custom and should only be used from within the Team plugin.
See also:
G3x_SkinGemTeam definitions
rwPDS_G3x_Team_AtmPipeID  Team object atomic pipeline. This pipeline should be attached to any atomics using the custom team material pipelines. The pipeline is highly custom and should only be used from within the Team plugin.
See also:
G3x_Team definitions , G3x_DupTeam definitions , G3x_GemTeam definitions
rwPDS_G3x_SkinTeam_AtmPipeID  Team object skinning atomic pipeline. This pipeline should be attached to any atomics using the custom team skinning material pipelines. The pipeline is highly custom and should only be used from within the Team plugin.
See also:
G3x_SkinTeam definitions , G3x_SkinDupTeam definitions , G3x_SkinGemTeam definitions
rwPDS_G3x_APLUva_MatPipeID  Ambient and Point Light Texture Coordinate Transform rendering
See also:
G3x_APLUva definitions , G3x_Generic definitions
rwPDS_G3x_ADLUva_MatPipeID  Ambient and Direction Light Texture Coordinate Transform rendering
See also:
G3x_ADLUva definitions , G3x_Generic definitions
rwPDS_G3x_A4DUva_MatPipeID  Ambient and 4 Direction Lights Texture Coordinate Transform rendering
See also:
G3x_A4DUva definitions , G3x_Generic definitions
rwPDS_G3x_APLDupUva_MatPipeID  Ambient and Point Light Texture Coordinate Transform Dual pass rendering
See also:
G3x_APLDupUva definitions , G3x_Generic definitions
rwPDS_G3x_ADLDupUva_MatPipeID  Ambient and Direction Light Texture Coordinate Transform Dual pass rendering
See also:
G3x_ADLDupUva definitions , G3x_Generic definitions
rwPDS_G3x_A4DDupUva_MatPipeID  Ambient and 4 Direction Lights Texture Coordinate Transform Dual pass rendering
See also:
G3x_A4DDupUva definitions , G3x_Generic definitions
rwPDS_G3x_APLSkinUva_MatPipeID  Ambient and Point Light Texture Coordinate Transform Skinned rendering
See also:
G3x_APLSkinUva definitions , G3x_Skin definitions
rwPDS_G3x_ADLSkinUva_MatPipeID  Ambient and Direction Light Texture Coordinate Transform Skinned rendering
See also:
G3x_ADLSkinUva definitions , G3x_Skin definitions
rwPDS_G3x_A4DSkinUva_MatPipeID  Ambient and 4 Direction Lights Texture Coordinate Transform Skinned rendering
See also:
G3x_A4DSkinUva definitions , G3x_Skin definitions
rwPDS_G3x_APLSkDupUva_MatPipeID  Ambient and Point Light Texture Coordinate Transform Dual pass Skinned rendering
See also:
G3x_APLSkinDupUva definitions , G3x_Skin definitions
rwPDS_G3x_ADLSkDupUva_MatPipeID  Ambient and Direction Light Texture Coordinate Transform Dual pass Skinned rendering
See also:
G3x_ADLSkinDupUva definitions , G3x_Skin definitions
rwPDS_G3x_A4DSkDupUva_MatPipeID  Ambient and 4 Direction Lights Texture Coordinate Transform Dual pass Skinned rendering
See also:
G3x_A4DSkinDupUva definitions , G3x_Skin definitions
rwPDS_G3xd_APL_MatPipeID  Ambient and Point Light Generic rendering
See also:
G3xd_APL definitions , G3x_Generic definitions
rwPDS_G3xd_ADL_MatPipeID  Ambient and Directional Light Generic rendering
See also:
G3xd_ADL definitions , G3x_Generic definitions
rwPDS_G3xd_A4D_MatPipeID  Ambient and 4 Directional Lights Generic rendering
See also:
G3xd_A4D definitions , G3x_Generic definitions
rwPDS_G3xd_APLDup_MatPipeID  Ambient and Point Light Dual Pass rendering
See also:
G3xd_APLDup definitions , G3x_Generic definitions
rwPDS_G3xd_ADLDup_MatPipeID  Ambient and Directional Light Dual Pass rendering
See also:
G3xd_ADLDup definitions , G3x_Generic definitions
rwPDS_G3xd_A4DDup_MatPipeID  Ambient and 4 Directional Lights Dual Pass rendering
See also:
G3xd_A4DDup definitions , G3x_Generic definitions
rwPDS_G3xd_APLGem_MatPipeID  Ambient and Point Light Gloss Environment Mapping rendering
See also:
G3xd_APLGem definitions , G3x_Generic definitions
rwPDS_G3xd_ADLGem_MatPipeID  Ambient and Directional Light Gloss Environment Mapping rendering
See also:
G3xd_ADLGem definitions , G3x_Generic definitions
rwPDS_G3xd_A4DGem_MatPipeID  Ambient and 4 Directional Lights Gloss Environment Mapping rendering
See also:
G3xd_A4DGem definitions , G3x_Generic definitions
rwPDS_G3xd_APLUva_MatPipeID  Ambient and Point Light Texture Coordinate Transform rendering
See also:
G3xd_APLUva definitions , G3x_Generic definitions
rwPDS_G3xd_ADLUva_MatPipeID  Ambient and Directional Light Texture Coordinate Transform rendering
See also:
G3xd_ADLUva definitions , G3x_Generic definitions
rwPDS_G3xd_A4DUva_MatPipeID  Ambient and 4 Directional Lights Texture Coordinate Transform rendering
See also:
G3xd_A4DUva definitions , G3x_Generic definitions
rwPDS_G3xd_APLDupUva_MatPipeID  Ambient and Point Light Texture Coordinate Transform Dual pass rendering
See also:
G3xd_APLDupUva definitions , G3x_Generic definitions
rwPDS_G3xd_ADLDupUva_MatPipeID  Ambient andDirectional Light Texture Coordinate Transform Dual pass rendering
See also:
G3xd_ADLDupUva definitions , G3x_Generic definitions
rwPDS_G3xd_A4DDupUva_MatPipeID  Ambient and4 Directional Lights Texture Coordinate Transform Dual pass rendering
See also:
G3xd_A4DDupUva definitions , G3x_Generic definitions
rwPDS_G3xd_APLSkin_MatPipeID  Ambient and Point Light Skin Generic rendering
See also:
G3xd_APLSkin definitions , G3x_Skin definitions
rwPDS_G3xd_ADLSkin_MatPipeID  Ambient and Directional Light Skin Generic rendering
See also:
G3xd_ADLSkin definitions , G3x_Skin definitions
rwPDS_G3xd_A4DSkin_MatPipeID  Ambient and 4 Directionl Lights Skin Generic rendering
See also:
G3xd_A4DSkin definitions , G3x_Skin definitions
rwPDS_G3xd_APLSkinDup_MatPipeID  Ambient and Point Light Skin Dual Pass rendering
See also:
G3xd_APLSkinDup definitions , G3x_Skin definitions
rwPDS_G3xd_ADLSkinDup_MatPipeID  Ambient and Directional Light Skin Dual Pass rendering
See also:
G3xd_ADLSkinDup definitions , G3x_Skin definitions
rwPDS_G3xd_A4DSkinDup_MatPipeID  Ambient and 4 Directionl Lights Skin Dual Pass rendering
See also:
G3xd_A4DSkinDup definitions , G3x_Skin definitions
rwPDS_G3xd_APLSkinGem_MatPipeID  Ambient and Point Light Skin Gloss Environment Mapping rendering
See also:
G3xd_APLSkinGem definitions , G3x_Skin definitions
rwPDS_G3xd_ADLSkinGem_MatPipeID  Ambient and Directional Light Skin Gloss Environment Mapping rendering
See also:
G3xd_ADLSkinGem definitions , G3x_Skin definitions
rwPDS_G3xd_A4DSkinGem_MatPipeID  Ambient and 4 Directionl Lights Skin Gloss Environment Mapping rendering
See also:
G3xd_A4DSkinGem definitions , G3x_Skin definitions
rwPDS_G3xd_APLSkinUva_MatPipeID  Ambient and Point Light Skin Texture Coordinate Transform rendering
See also:
G3xd_APLSkinUva definitions , G3x_Skin definitions
rwPDS_G3xd_ADLSkinUva_MatPipeID  Ambient and Directional Light Skin Texture Coordinate Transform rendering
See also:
G3xd_ADLSkinUva definitions , G3x_Skin definitions
rwPDS_G3xd_A4DSkinUva_MatPipeID  Ambient and 4 Directionl Lights Skin Texture Coordinate Transform rendering
See also:
G3xd_A4DSkinUva definitions , G3x_Skin definitions
rwPDS_G3xd_APLSkDupUva_MatPipeID  Ambient and Point Light Skin Texture Coordinate Transform Dual pass rendering
See also:
G3xd_APLSkinDupUva definitions , G3x_Skin definitions
rwPDS_G3xd_ADLSkDupUva_MatPipeID  Ambient and Directional Light Skin Texture Coordinate Transform Dual pass rendering
See also:
G3xd_ADLSkinDupUva definitions , G3x_Skin definitions
rwPDS_G3xd_A4DSkDupUva_MatPipeID  Ambient and 4 Directionl Lights Skin Texture Coordinate Transform Dual pass rendering
See also:
G3xd_A4DSkinDupUva definitions , G3x_Skin definitions
rwPDS_VCL_Generic_AtmPipeID  Object only Custom lighting Atomic pipeline. Attached material pipelines should share their lighting setup.
See also:
VCL_Generic definitions
rwPDS_VCL_ADLDot3_MatPipeID  Ambient and Directional Light Dot3 Bump Mapping rendering
rwPDS_VCL_APLDot3_MatPipeID  Ambient and Point Light Dot3 Bump Mapping rendering
rwPDS_VCL_ADLSpec_MatPipeID  Ambient and Specular Directional Light Rendering
rwPDS_VCL_APLSpec_MatPipeID  Ambient and Specular Point Light Rendering
rwPDS_VCL_Skin_AtmPipeID  Object only Custom lighting & skinning Atomic pipeline. Attached material pipelines should share their lighting setup.
See also:
VCL_Skin definitions
rwPDS_VCL_ADLSkinDot3_MatPipeID  Ambient and Directional Light Skin Dot3 Bump Mapping rendering
rwPDS_VCL_APLSkinDot3_MatPipeID  Ambient and Point Light Skin Dot3 Bump Mapping rendering
rwPDS_VCL_ADLSkinSpec_MatPipeID  Ambient and Specular Directional Light Skin Rendering
rwPDS_VCL_APLSkinSpec_MatPipeID  Ambient and Specular Point Light Skin Rendering
rwPDS_G3_Skin_MatPipeID  Generic Skinning material rendering pipeline
See also:
G3_Skin definitions
rwPDS_G3_Skin_AtmPipeID  Generic Skinning atomic rendering pipeline
See also:
G3_Skin definitions
rwPDS_G3_Emb_MatPipeID  Emboss Bump Map material rendering pipeline
See also:
G3_Emb definitions
rwPDS_G3_Gem_MatPipeID  Gloss Environment Map material rendering pipeline
See also:
G3_Gem definitions
rwPDS_G3_Bem_MatPipeID  Bump Environment Map material rendering pipeline
See also:
G3_Bem definitions
rwPDS_G3_Dup_MatPipeID  Dual Pass material rendering pipeline
See also:
G3_Dup definitions
rwPDS_G3_Toon_MatPipeID  Toon material rendering pipeline
See also:
G3_Toon definitions
rwPDS_G3_SkinEmb_MatPipeID  Skinning Emboss Bump Map material rendering pipeline
See also:
G3_SkinEmb definitions
rwPDS_G3_SkinGem_MatPipeID  Skinnig Gloss Environment Map material rendering pipeline
See also:
G3_SkinGem definitions
rwPDS_G3_SkinBem_MatPipeID  Skinning Bump Environment Map material rendering pipeline
See also:
G3_SkinBem definitions
rwPDS_G3_SkinDup_MatPipeID  Skinning Dual Pass material rendering pipeline
See also:
G3_SkinDup definitions
rwPDS_G3_SkinToon_MatPipeID  Skinnig Toon Cell Shading material rendering pipeline
See also:
G3_SkinToon definitions
rwPDS_G2_BPatch_AtmPipeID  Generic Bezier Patch atomic rendering pipeline
See also:
G2_BPatch definitions
rwPDS_G2_BPatch_MatPipeID  Generic Bezier Patch material rendering pipeline
See also:
G2_BPatch definitions
rwPDS_G2_SkinBPatch_AtmPipeID  Skinning Bezier Patch atomic rendering pipeline
See also:
G2_SkinBPatch definitions
rwPDS_G2_SkinBPatch_MatPipeID  Skinning Bezier Patcj material rendering pipeline
See also:
G2_SkinBPatch definitions
rwPDS_G2_EmbBPatch_MatPipeID  Emboss bumpmapping Bezier Patch material rendering pipeline
See also:
G2_EmbBPatch definitions
rwPDS_G2_GemBPatch_MatPipeID  Gloss environment map Bezier Patch material rendering pipeline
See also:
G2_GemBPatch definitions
rwPDS_G2_BemBPatch_MatPipeID  Bump environment map Bezier Patch material rendering pipeline
See also:
G2_BemBPatch definitions
rwPDS_G2_DupBPatch_MatPipeID  Dual pass Bezier Patch material rendering pipeline
See also:
G2_DupBPatch definitions
rwPDS_G2_SkinEmbBPatch_MatPipeID  Skinning Emboss bumpmapping Bezier Patch material rendering pipeline
See also:
G2_SkinEmbBPatch definitions
rwPDS_G2_SkinGemBPatch_MatPipeID  Skinning Gloss environment map Bezier Patch material rendering pipeline
See also:
G2_SkinGemBPatch definitions
rwPDS_G2_SkinBemBPatch_MatPipeID  Skinning Bump environment map Bezier Patch material rendering pipeline
See also:
G2_SkinBemBPatch definitions
rwPDS_G2_SkinDupBPatch_MatPipeID  Skinning Dual pass Bezier Patch material rendering pipeline
See also:
G2_SkinDupBPatch definitions
rwPDS_G3_2DStroke_MatPipeID  2D stroke material rendering pipeline
See also:
G3_2DStroke definitions
rwPDS_G3_2DStroke_ObjPipeID  2D stroke grouped object rendering pipeline
See also:
G3_2DStroke definitions
rwPDS_G3_2DFont_MatPipeID  2D font material rendering pipeline
See also:
G3_2DFont definitions
rwPDS_G3_2DFont_ObjPipeID  2D font grouped object rendering pipeline
See also:
G3_2DFont definitions
rwPDS_G3_2DFill_MatPipeID  2D fill material rendering pipeline
See also:
G3_2DFill definitions
rwPDS_G3_2DFill_ObjPipeID  2D fill grouped object rendering pipeline
See also:
G3_2DFill definitions
rwPDS_G3_SkSpt_AtmPipeID  Skin Splitting atomic rendering pipeline
See also:
G3_SkSpt definitions
rwPDS_G3_SkSpt_MatPipeID  Skin Splitting generic material rendering pipeline
See also:
G3_SkSpt definitions
rwPDS_G3_SkSptEmb_MatPipeID  Skin Splitting Emboss bump mapping material rendering pipeline
See also:
G3_SkSptEmb definitions
rwPDS_G3_SkSptGem_MatPipeID  Skin Splitting Gloss Enivronment mapping material rendering pipeline
See also:
G3_SkSptGem definitions
rwPDS_G3_SkSptBem_MatPipeID  Skin Splitting Bump Environment mapping material rendering pipeline
See also:
G3_SkSptBem definitions
rwPDS_G3_SkSptDup_MatPipeID  Skin Splitting Dual pass material rendering pipeline
See also:
G3_SkSptDup definitions
rwPDS_G3_SkSptToon_MatPipeID  Skin Splitting Toon Cell Shading material rendering pipeline
See also:
G3_SkSptToon definitions
rwPDS_G3_Uva_MatPipeID  Single pass texture coordinated (u,v) matrix transform animation pipeline.
See also:
G3_Uva definitions
rwPDS_G3_DupUva_MatPipeID  Dual pass texture coordinated (u,v) matrix transform animation pipeline.
See also:
G3_DupUva definitions
rwPDS_G3_SkinUva_MatPipeID  Single pass texture coordinated (u,v) matrix transform animation skinning pipeline.
See also:
G3_SkinUva definitions
rwPDS_G3_SkinDupUva_MatPipeID  Dual pass texture coordinated (u,v) matrix transform animation skinning pipeline.
See also:
G3_SkinDupUva definitions
rwPDS_G3_SkSptUva_MatPipeID  Single pass texture coordinated (u,v) matrix transform animation skinning splitting pipeline.
See also:
G3_SkSptUva definitions
rwPDS_G3_SkSptDupUva_MatPipeID  Dual pass texture coordinated (u,v) matrix transform animation skinning splitting pipeline.
See also:
G3_SkSptDupUva definitions
rwPDS_G3_Skin_GrpMatPipeID  Grouped Skinning material rendering pipeline
See also:
G3_Skin definitions
rwPDS_G3_Skin_GrpAtmPipeID  Grouped Skinning atomic rendering pipeline
See also:
G3_Skin definitions
rwPDS_G2_DarkMaps_GrpMatPipeID  Grouped Dark Maps material rendering pipeline
See also:
G2_DarkMaps definitions
rwPDS_G2_DarkMaps_GrpAtmPipeID  Grouped Dark Maps atomic rendering pipeline
See also:
G2_DarkMaps definitions
rwPDS_G2_DarkMaps_GrpSctPipeID  Grouped Dark Maps world sector rendering pipeline
See also:
G2_DarkMaps definitions
rwPDS_G3_Toon_GrpMatPipeID  Grouped Toon Cell Shading material rendering pipeline
See also:
G3_Toon definitions
rwPDS_G3_Toon_GrpAtmPipeID  Grouped Toon Cell Shading atomic rendering pipeline
See also:
G3_Toon definitions
rwPDS_G3_Toon_GrpSctPipeID  Grouped Toon Cell Shading world sector rendering pipeline
See also:
G3_Toon definitions
rwPDS_G3_SkinToon_GrpMatPipeID  Grouped Skinning Toon Cell Shading material rendering pipeline
See also:
G3_SkinToon definitions
rwPDS_G3_SkinToon_GrpAtmPipeID  Grouped Skinning Toon Cell Shading atomic rendering pipeline
See also:
G3_SkinToon definitions
rwPDS_G3_MatfxUV1_GrpMatPipeID  Grouped single UV set material effects material rendering pipeline
See also:
G3_Matfx definitions
rwPDS_G3_MatfxUV2_GrpMatPipeID  Grouped double UV set material effects material rendering pipeline
See also:
G3_Matfx definitions
rwPDS_G3_MatfxUV1_GrpAtmPipeID  Grouped single UV set material effects atomic rendering pipeline
See also:
G3_Matfx definitions
rwPDS_G3_MatfxUV2_GrpAtmPipeID  Grouped double UV set material effects atomic rendering pipeline
See also:
G3_Matfx definitions
rwPDS_G3_MatfxUV1_GrpSctPipeID  Grouped single UV set material effects world sector rendering pipeline
See also:
G3_Matfx definitions
rwPDS_G3_MatfxUV2_GrpSctPipeID  Grouped double UV set material effects world sector rendering pipeline
See also:
G3_Matfx definitions
rwPDS_G3_SkinfxUV1_GrpMatPipeID  Grouped Skinning single UV set material effects material rendering pipeline
See also:
G3_Skinfx definitions
rwPDS_G3_SkinfxUV2_GrpMatPipeID  Grouped Skinning double UV set material effects material rendering pipeline
See also:
G3_Skinfx definitions
rwPDS_G3_SkinfxUV1_GrpAtmPipeID  Grouped Skinning single UV set material effects atomic rendering pipeline
See also:
G3_Skinfx definitions
rwPDS_G3_SkinfxUV2_GrpAtmPipeID  Grouped Skinning double UV set material effects atomic rendering pipeline
See also:
G3_Skinfx definitions
rwPDS_G2_BPatch_GrpAtmPipeID  Grouped Bezier Patch atomic rendering pipeline
See also:
G2_BPatch definitions
rwPDS_G2_BPatch_GrpMatPipeID  Grouped Bezier Patch material rendering pipeline
See also:
G2_BPatch definitions
rwPDS_G2_SkinBPatch_GrpAtmPipeID  Grouped Skinning Bezier Patch atomic rendering pipeline
See also:
G2_SkinBPatch definitions
rwPDS_G2_SkinBPatch_GrpMatPipeID  Grouped Skinning Bezier Patch material rendering pipeline
See also:
G2_SkinBPatch definitions
rwPDS_G2_MatfxUV1BPatch_GrpMatPipeID  Grouped single UV set Bezier Patch material rendering pipeline
See also:
G2_MatfxBPatch definitions
rwPDS_G2_MatfxUV2BPatch_GrpMatPipeID  Grouped double UV set Bezier Patch material rendering pipeline
See also:
G2_MatfxBPatch definitions
rwPDS_G2_MatfxUV1BPatch_GrpAtmPipeID  Grouped single UV set Bezier Patch atomic rendering pipeline
See also:
G2_MatfxBPatch definitions
rwPDS_G2_MatfxUV2BPatch_GrpAtmPipeID  Grouped double UV set Bezier Patch atomic rendering pipeline
See also:
G2_MatfxBPatch definitions
rwPDS_G2_SkinfxUV1BPatch_GrpMatPipeID  Grouped Skinning single UV set Bezier Patch material rendering pipeline
See also:
G2_SkinfxBPatch definitions
rwPDS_G2_SkinfxUV2BPatch_GrpMatPipeID  Grouped Skinning double UV set Bezier Patch material rendering pipeline
See also:
G2_SkinfxBPatch definitions
rwPDS_G2_SkinfxUV1BPatch_GrpAtmPipeID  Grouped Skinning single UV set Bezier Patch atomic rendering pipeline
See also:
G2_SkinfxBPatch definitions
rwPDS_G2_SkinfxUV2BPatch_GrpAtmPipeID  Grouped Skinning double UV set Bezier Patch atomic rendering pipeline
See also:
G2_SkinfxBPatch definitions
rwPDS_VCL_Uva_MatPipeID  Single pass texture coordinated (u,v) matrix transform animation pipeline.
See also:
VCL_Uva definitions
rwPDS_VCL_DupUva_MatPipeID  Dual pass texture coordinated (u,v) matrix transform animation pipeline.
See also:
VCL_DupUva definitions
rwPDS_VCL_SkinUva_MatPipeID  Single pass texture coordinated (u,v) matrix transform animation skinning pipeline.
See also:
VCL_SkinUva definitions
rwPDS_VCL_SkinDupUva_MatPipeID  Dual pass texture coordinated (u,v) matrix transform animation skinning pipeline.
See also:
VCL_SkinDupUva definitions
enum RpPDSPipeType
 

Enumeration defines the pipeline type being registered. The type defines the pipeline construction function called to create the pipeline.

See also:
RpPDSRegister , RpPDSRegisterPipe
Enumeration values:
rpPDSMATPIPE  RpPDSRegister structure is defining a material pipeline.
See also:
RpPDSMatTemplate , RpPDSRegisterMatPipe
rpPDSOBJPIPE  RpPDSRegister structure is defining an object pipeline.
See also:
RpPDSObjTemplate , RpPDSRegisterObjPipe , RpPDSRegisterGrpObjPipe

Function Documentation

RxPipeline* RpPDSGetPipe RpPDSPipeID    pipeId
 

RpPDSGetPipe

Once the plugin has been started (RwEngineStart) the pipeline will have been created. This function allows the application to retrive the RxPipeline 's. If pipelines are registered once the engines has started then the pipelines are available instantly as the pipeline is created during the register function.

If a pipeline is requested that wasn't registered a message will be output in debug builds. This isn't a critical error as the application might not need the pipeline, hence it wasn't registered to save resources.

Parameters:
pipeId  The pipeline ID of the requested pipeline.
Returns:
A pointer to the RxPipeline on success, or NULL otherwise.
See also:
RpPDSPluginAttach , RpPDSGetPipe , RpPDSPipeID
RwBool RpPDSPluginAttach RwUInt32    numPipes
 

RpPDSPluginAttach

This function is used to attach the pipeline delivery system (PDS) plugin to the RenderWare Graphics engine.

The PDS plugin must be attached between initializing the system with RwEngineInit and opening it with RwEngineOpen. The plugin will then create any registered pipelines during the plugin start stage by calling RwEngineStart.

The PDS plugin should be attached before any other plugin which constructs pipelines. Currently the following plugins construct rendering pipelines :-

The following plugins do not contain their rendering within the PDS (although all pipelines in the future will be shipped through the uniform PDS) :-
Note:
This plugin is only supported on the PlayStation 2. Hence on all the other platforms the rendering pipelines are still resident in their plugins.
Parameters:
numPipes  The number of pipelines which will be registered once the plugin has been attached. This value is a hint and is used to create a free list with the specified block size. Hence it is in the application interest the specify the correct number to reduce memory allocation.
Note:
The include file rppds.h is required and must be included by an application wishing to use this plugin. The PDS plugin library is contained in the file rppds.lib. The plugins which are part of the FX Pack have their pipelines compiled into an extra library called rppdsfx.lib. The library file names will vary depending on the platform naming conventions.
Returns:
TRUE on success, FALSE otherwise.
See also:
RpPDSRegisterPipe , RpPDSGetPipe
RpPDSRegister* RpPDSRegisterPipe RpPDSRegister   definition
 

RpPDSRegisterPipe

This function allows the application to register a pipeline. The pipelines are constructed when the RpPDS plugin is opened. If the RpPDS plugin is attached before the other user plugins, including RpWorld, then those plugins can access their pipes during their plugin open functions.

If the engine has already been started then the registered pipeline will be constructed instantly.

It is unlikely that an application will need to call RpPDSRegisterPipe directly. It has been exposed to allow the application complete control of the rendering pipelines. A number of helper macros are availble to easy the standard registration of default world and plugin pipelines.

Each pipeline has it's own collection of registration macros. These macros are also grouped into a collection of plugin pipeline registration macros, which allow an application to register a full set of the plugin's pipelines.

Note:
As this is only a registration process and the pipeline are constructed when the RpPDS plugin is opened during RwEngineStart, the definition passed in must still be in scope. The registration function doesn't take a copy of the definition, but references it.
Parameters:
definition  The RpPDSRegister definition struct defines how the pipeline should be created. This process isn't trivial but allows flexibility and a number of powerful features. The structure definition documents the usage and possibilities of the registration process.
Returns:
A pointer to the RpPDSRegister structure on success, or NULL otherwise.
See also:
RpPDSPluginAttach , RpPDSGetPipe

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