Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

D3D9
[World Extensions]


Data Structures

struct  RxD3D9InstanceData
struct  RxD3D9ResEntryHeader
struct  RxD3D9VertexStream

Typedefs

typedef RwBool(* RxD3D9AllInOneInstanceCallBack )(void *object, RxD3D9ResEntryHeader *resEntryHeader, RwBool reinstance)
typedef RwBool(* RxD3D9AllInOneReinstanceCallBack )(void *object, RwResEntry *resEntry, RxD3D9AllInOneInstanceCallBack instanceCallback)
typedef void(* RxD3D9AllInOneLightingCallBack )(void *object)
typedef void(* RxD3D9AllInOneRenderCallBack )(RwResEntry *repEntry, void *object, RwUInt8 type, RwUInt32 flags)

Enumerations

enum  RpD3D9GeometryUsageFlag {
  rpD3D9GEOMETRYUSAGE_DYNAMICPOSITIONS = 0x02, rpD3D9GEOMETRYUSAGE_DYNAMICNORMALS = 0x04, rpD3D9GEOMETRYUSAGE_DYNAMICPRELIT = 0x08, rpD3D9GEOMETRYUSAGE_DYNAMICTEXCOORDS = 0x10,
  rpD3D9GEOMETRYUSAGE_DYNAMICTEXCOORDS1 = 0x10, rpD3D9GEOMETRYUSAGE_DYNAMICTEXCOORDS2 = 0x20, rpD3D9GEOMETRYUSAGE_DYNAMICTEXCOORDS3 = 0x40, rpD3D9GEOMETRYUSAGE_DYNAMICTEXCOORDS4 = 0x80,
  rpD3D9GEOMETRYUSAGE_DYNAMICTEXCOORDS5 = 0x0100, rpD3D9GEOMETRYUSAGE_DYNAMICTEXCOORDS6 = 0x0200, rpD3D9GEOMETRYUSAGE_DYNAMICTEXCOORDS7 = 0x0400, rpD3D9GEOMETRYUSAGE_DYNAMICTEXCOORDS8 = 0x0800,
  rpD3D9GEOMETRYUSAGE_DYNAMICTEXCOORDSALL = 0x0ff0, rpD3D9GEOMETRYUSAGE_DYNAMICMASK = 0x0fff, rpD3D9GEOMETRYUSAGE_CREATETANGENTS = 0x10000, rpD3D9GEOMETRYUSAGEFLAGFORCEENUMSIZEINT = RWFORCEENUMSIZEINT
}
enum  RpD3D9WorldSectorUsageFlag { rpD3D9WORLDSECTORUSAGE_CREATETANGENTS = 0x10000, rpD3D9WORLDSECTORUSAGEFLAGFORCEENUMSIZEINT = RWFORCEENUMSIZEINT }

Functions

void RxD3D9AllInOneSetInstanceCallBack (RxPipelineNode *node, RxD3D9AllInOneInstanceCallBack callback)
RxD3D9AllInOneInstanceCallBack RxD3D9AllInOneGetInstanceCallBack (RxPipelineNode *node)
void RxD3D9AllInOneSetReinstanceCallBack (RxPipelineNode *node, RxD3D9AllInOneReinstanceCallBack callback)
RxD3D9AllInOneReinstanceCallBack RxD3D9AllInOneGetReinstanceCallBack (RxPipelineNode *node)
void RxD3D9AllInOneSetLightingCallBack (RxPipelineNode *node, RxD3D9AllInOneLightingCallBack callback)
RxD3D9AllInOneLightingCallBack RxD3D9AllInOneGetLightingCallBack (RxPipelineNode *node)
void RxD3D9AllInOneSetRenderCallBack (RxPipelineNode *node, RxD3D9AllInOneRenderCallBack callback)
RxD3D9AllInOneRenderCallBack RxD3D9AllInOneGetRenderCallBack (RxPipelineNode *node)
RxNodeDefinitionRxNodeDefinitionGetD3D9AtomicAllInOne (void)
RxNodeDefinitionRxNodeDefinitionGetD3D9WorldSectorAllInOne (void)
void RpD3D9GeometrySetUsageFlags (RpGeometry *geometry, RpD3D9GeometryUsageFlag flags)
RpD3D9GeometryUsageFlag RpD3D9GeometryGetUsageFlags (const RpGeometry *geometry)
void RpD3D9WorldSectorSetUsageFlags (RpWorldSector *sector, RpD3D9WorldSectorUsageFlag flags)
RpD3D9WorldSectorUsageFlag RpD3D9WorldSectorGetUsageFlags (const RpWorldSector *sector)

Detailed Description

D3D9

Typedef Documentation

typedef RwBool(* RxD3D9AllInOneInstanceCallBack)(void *object, RxD3D9ResEntryHeader *resEntryHeader, RwBool reinstance)
 

RxD3D9AllInOneInstanceCallBack callback function.

Parameters:
object  Pointer to the object.
resEntryHeader  Pointer to RxD3D9ResEntryHeader.
reinstance  Boolean whether to reinstance.
Returns:
TRUE if successful, FALSE otherwise.
See also:
RxD3D9AllInOneSetInstanceCallBack , RxD3D9AllInOneGetInstanceCallBack , RxNodeDefinitionGetD3D9AtomicAllInOne , RxNodeDefinitionGetD3D9WorldSectorAllInOne

typedef void(* RxD3D9AllInOneLightingCallBack)(void *object)
 

RxD3D9AllInOneLightingCallBack callback function.

Parameters:
object  Void pointer to the object.
See also:
RxD3D9AllInOneSetLightingCallBack , RxD3D9AllInOneGetLightingCallBack , RxNodeDefinitionGetD3D9AtomicAllInOne , RxNodeDefinitionGetD3D9WorldSectorAllInOne

typedef RwBool(* RxD3D9AllInOneReinstanceCallBack)(void *object, RwResEntry *resEntry, RxD3D9AllInOneInstanceCallBack instanceCallback)
 

RxD3D9AllInOneReinstanceCallBack callback function.

Parameters:
object  Pointer to the object.
resEntry  Pointer to RxD3D9ResEntryHeader.
instanceCallback  Pointer to RxD3D9AllInOneInstanceCallBack.
Returns:
TRUE if successful, FALSE otherwise.
See also:
RxD3D9AllInOneSetReinstanceCallBack , RxD3D9AllInOneGetReinstanceCallBack , RxNodeDefinitionGetD3D9AtomicAllInOne , RxNodeDefinitionGetD3D9WorldSectorAllInOne

typedef void(* RxD3D9AllInOneRenderCallBack)(RwResEntry *repEntry, void *object, RwUInt8 type, RwUInt32 flags)
 

RxD3D9AllInOneRenderCallBack callback function.

Parameters:
repEntry  Pointer to a resource entry.
object  Pointer to a object that the resource entry belongs to.
type  rpATOMIC or rwSECTORATOMIC.
flags  RpGeometryFlag's or RpWorldFlag's.
See also:
RxD3D9AllInOneSetRenderCallBack , RxD3D9AllInOneGetRenderCallBack , RxNodeDefinitionGetD3D9AtomicAllInOne , RxNodeDefinitionGetD3D9WorldSectorAllInOne


Enumeration Type Documentation

enum RpD3D9GeometryUsageFlag
 

RpD3D9GeometryUsageFlag represents the options available to inform RWD3D9 about the future usage of a specific geometry. The usage flags may be set via RpD3D9GeometrySetUsageFlags.

Enumeration values:
rpD3D9GEOMETRYUSAGE_DYNAMICPOSITIONS  Positions will be locked and changed every frame.
rpD3D9GEOMETRYUSAGE_DYNAMICNORMALS  Normals will be locked and changed every frame.
rpD3D9GEOMETRYUSAGE_DYNAMICPRELIT  Prelight information will be locked and changed every frame.
rpD3D9GEOMETRYUSAGE_DYNAMICTEXCOORDS  The 1st set of texture coordinates will be locked and changed every frame.
rpD3D9GEOMETRYUSAGE_DYNAMICTEXCOORDS1  The 1st set of texture coordinates will be locked and changed every frame.
rpD3D9GEOMETRYUSAGE_DYNAMICTEXCOORDS2  The 2nd set of texture coordinates will be locked and changed every frame.
rpD3D9GEOMETRYUSAGE_DYNAMICTEXCOORDS3  The 3rd set of texture coordinates will be locked and changed every frame.
rpD3D9GEOMETRYUSAGE_DYNAMICTEXCOORDS4  The 4th set of texture coordinates will be locked and changed every frame.
rpD3D9GEOMETRYUSAGE_DYNAMICTEXCOORDS5  The 5th set of texture coordinates will be locked and changed every frame.
rpD3D9GEOMETRYUSAGE_DYNAMICTEXCOORDS6  The 6th set of texture coordinates will be locked and changed every frame.
rpD3D9GEOMETRYUSAGE_DYNAMICTEXCOORDS7  The 7th set of texture coordinates will be locked and changed every frame.
rpD3D9GEOMETRYUSAGE_DYNAMICTEXCOORDS8  The 8th set of texture coordinates will be locked and changed every frame.
rpD3D9GEOMETRYUSAGE_DYNAMICTEXCOORDSALL  All sets of texture coordinates will be locked and changed every frame.
rpD3D9GEOMETRYUSAGE_DYNAMICMASK  Mask for finding dynamic information.
rpD3D9GEOMETRYUSAGE_CREATETANGENTS  Per-vertex tangents are going to be used for this geometry.

enum RpD3D9WorldSectorUsageFlag
 

RpD3D9WorldSectorUsageFlag represents the options available to inform RWD3D9 about the future usage of a specific world sector. The usage flags may be set via RpD3D9WorldSectorSetUsageFlags.

Enumeration values:
rpD3D9WORLDSECTORUSAGE_CREATETANGENTS  Per-vertex tangents are going to be used for this world sector.


Function Documentation

RpD3D9GeometryUsageFlag RpD3D9GeometryGetUsageFlags const RpGeometry   geometry
 

RpD3D9GeometryGetUsageFlags gets the usage flags from the RpGeometry passed as parameter.

Parameters:
geometry  Const pointer to the RpGeometry to get the usage flags from.
Returns:
The usage flags of the current geometry.
See also:
RpD3D9GeometrySetUsageFlags , RpD3D9WorldSectorSetUsageFlags , RpD3D9WorldSectorGetUsageFlags

void RpD3D9GeometrySetUsageFlags RpGeometry   geometry,
RpD3D9GeometryUsageFlag    flags
 

RpD3D9GeometrySetUsageFlags sets the usage flags for the RpGeometry passed as parameter.

Parameters:
geometry  Pointer to the RpGeometry whose usage flags are going to be set.
flags  The RpD3D9GeometryUsageFlag to be set.
See also:
RpD3D9GeometryGetUsageFlags , RpD3D9WorldSectorSetUsageFlags , RpD3D9WorldSectorGetUsageFlags

RpD3D9WorldSectorUsageFlag RpD3D9WorldSectorGetUsageFlags const RpWorldSector   sector
 

RpD3D9WorldSectorGetUsageFlags gets the usage flags from the RpWorldSector passed as parameter.

Parameters:
sector  Const pointer to the RpWorldSector to get the usage flags from.
Returns:
The usage flags of the current world sector.
See also:
RpD3D9GeometrySetUsageFlags , RpD3D9WorldSectorSetUsageFlags , RpD3D9WorldSectorGetUsageFlags

void RpD3D9WorldSectorSetUsageFlags RpWorldSector   sector,
RpD3D9WorldSectorUsageFlag    flags
 

RpD3D9WorldSectorSetUsageFlags sets the usage flags for the RpWorldSector passed as parameter.

Parameters:
sector  Pointer to the RpWorldSector whose usage flags are going to be set.
flags  The RpD3D9WorldSectorUsageFlag to be set.
See also:
RpD3D9GeometryGetUsageFlags , RpD3D9WorldSectorSetUsageFlags , RpD3D9WorldSectorGetUsageFlags

RxD3D9AllInOneInstanceCallBack RxD3D9AllInOneGetInstanceCallBack RxPipelineNode   node
 

RxD3D9AllInOneGetInstanceCallBack gets the currently set instance callback.

Parameters:
node  The RxPipelineNode to get the callback for.
Returns:
An RxD3D9AllInOneInstanceCallBack function pointer.
See also:
RxNodeDefinitionGetD3D9AtomicAllInOne , RxNodeDefinitionGetD3D9WorldSectorAllInOne

RxD3D9AllInOneLightingCallBack RxD3D9AllInOneGetLightingCallBack RxPipelineNode   node
 

RxD3D9AllInOneGetLightingCallBack gets the currently set lighting callback. Useful if you plan to overload the RenderWare lighting pipeline with your own.

Parameters:
node  The RxPipelineNode to get the callback for.
Returns:
A RxD3D9AllInOneLightingCallBack function pointer.
See also:
RxNodeDefinitionGetD3D9AtomicAllInOne , RxNodeDefinitionGetD3D9WorldSectorAllInOne , RxD3D9AllInOneSetLightingCallBack , RxD3D9AllInOneSetRenderCallBack , RxD3D9AllInOneGetRenderCallBack

RxD3D9AllInOneReinstanceCallBack RxD3D9AllInOneGetReinstanceCallBack RxPipelineNode   node
 

RxD3D9AllInOneGetReinstanceCallBack gets the currently set reinstance callback.

Parameters:
node  The RxPipelineNode to get the callback for.
Returns:
An RxD3D9AllInOneReinstanceCallBack function pointer.
See also:
RxNodeDefinitionGetD3D9AtomicAllInOne , RxNodeDefinitionGetD3D9WorldSectorAllInOne

RxD3D9AllInOneRenderCallBack RxD3D9AllInOneGetRenderCallBack RxPipelineNode   node
 

RxD3D9AllInOneGetRenderCallBack gets the currently set render callback. Useful if you plan to overload the default RenderWare render callback.

Parameters:
node  The RxPipelineNode to get the callback for.
Returns:
A RxD3D9AllInOneRenderCallBack function pointer.
See also:
RxNodeDefinitionGetD3D9AtomicAllInOne , RxNodeDefinitionGetD3D9WorldSectorAllInOne , RxD3D9AllInOneSetInstanceCallBack , RxD3D9AllInOneSetLightingCallBack RxD3D9AllInOneSetRenderCallBack

void RxD3D9AllInOneSetInstanceCallBack RxPipelineNode   node,
RxD3D9AllInOneInstanceCallBack    callback
 

RxD3D9AllInOneSetInstanceCallBack sets a callback that will be called to instance.

The callback is called once for the object being rendered.

Parameters:
node  The pipeline node to set the callback for.
callback  The callback function.
See also:
RxNodeDefinitionGetD3D9AtomicAllInOne , RxNodeDefinitionGetD3D9WorldSectorAllInOne , RxD3D9AllInOneSetLightingCallBack , RxD3D9AllInOneSetRenderCallBack

void RxD3D9AllInOneSetLightingCallBack RxPipelineNode   node,
RxD3D9AllInOneLightingCallBack    callback
 

RxD3D9AllInOneSetLightingCallBack sets a callback that will be called to set up lighting.

The callback is called once for the object being rendered.

Parameters:
node  The RxPipelineNode to set the callback for.
callback  The RxD3D9AllInOneLightingCallBack function.
See also:
RxNodeDefinitionGetD3D9AtomicAllInOne , RxNodeDefinitionGetD3D9WorldSectorAllInOne , RxD3D9AllInOneSetInstanceCallBack , RxD3D9AllInOneSetRenderCallBack RxD3D9AllInOneGetLightingCallBack

void RxD3D9AllInOneSetReinstanceCallBack RxPipelineNode   node,
RxD3D9AllInOneReinstanceCallBack    callback
 

RxD3D9AllInOneSetReinstanceCallBack sets a callback that will be called to reinstance.

The callback is called each time the geometry of the current atomic has been changed.

Parameters:
node  The pipeline node to set the callback for.
callback  The callback function.
See also:
RxNodeDefinitionGetD3D9AtomicAllInOne , RxNodeDefinitionGetD3D9WorldSectorAllInOne , RxD3D9AllInOneSetLightingCallBack , RxD3D9AllInOneSetRenderCallBack

void RxD3D9AllInOneSetRenderCallBack RxPipelineNode   node,
RxD3D9AllInOneRenderCallBack    callback
 

RxD3D9AllInOneSetRenderCallBack sets a callback that will be called to dispatch vertices for rendering for every material in the given object.

Parameters:
node  The RxPipelineNode to set the callback for.
callback  The RxD3D9AllInOneRenderCallBack function.
See also:
RxNodeDefinitionGetD3D9AtomicAllInOne , RxNodeDefinitionGetD3D9WorldSectorAllInOne , RxD3D9AllInOneSetInstanceCallBack , RxD3D9AllInOneSetLightingCallBack RxD3D9AllInOneGetRenderCallBack

RxNodeDefinition* RxNodeDefinitionGetD3D9AtomicAllInOne void   
 

RxNodeDefinitionGetD3D9AtomicAllInOne returns a pointer to the RxNodeDefinition associated with the Atomic version of PowerPipe. This is especially useful if you overload the default pipeline with your own.

Returns:
The RxNodeDefinition pointer.
See also:
RxD3D9AllInOneSetLightingCallBack , RxD3D9AllInOneGetLightingCallBack , RxD3D9AllInOneSetRenderCallBack , RxD3D9AllInOneGetRenderCallBack

RxNodeDefinition* RxNodeDefinitionGetD3D9WorldSectorAllInOne void   
 

RxNodeDefinitionGetD3D9WorldSectorAllInOne returns a pointer to the RxNodeDefinition associated with the world sector version of PowerPipe. This is especially useful if you overload the default pipeline with your own.

Returns:
The RxNodeDefinition pointer.
See also:
RxD3D9AllInOneSetLightingCallBack , RxD3D9AllInOneGetLightingCallBack , RxD3D9AllInOneSetRenderCallBack , RxD3D9AllInOneGetRenderCallBack


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