D3DRMCOMBINETYPE

typedef enum _D3DRMCOMBINETYPE{

D3DRMCOMBINE_REPLACE,

D3DRMCOMBINE_BEFORE,

D3DRMCOMBINE_AFTER

} D3DRMCOMBINETYPE;

Specifies how to combine two matrices.

D3DRMCOMBINE_REPLACE

The supplied matrix replaces the frame's current matrix.

D3DRMCOMBINE_BEFORE

The supplied matrix is multiplied with the frame's current matrix and precedes the current matrix in the calculation.

D3DRMCOMBINE_AFTER

The supplied matrix is multiplied with the frame's current matrix and follows the current matrix in the calculation.

The order of the supplied and current matrices when they are multiplied together is important because matrix multiplication is not commutative.