# NNS_G2dSetRndCore2DMtxCacheMtxParams

## Syntax

      #include <nnsys/g2d/g2d_RendererCore.h>

          NNS_G2D_INLINE void NNS_G2dSetRndCore2DMtxCacheMtxParams
          (
              NNSG2dRndCore2DMtxCache* pMtxCache,
              MtxFx22*                 pM
          );

## Arguments

`pMtxCache` | [IN] Matrix cache.
`pM` | [IN] Affine transformation matrix. (The matrix to set in the affine parameter for the 2D Graphics Engine. Note that the scale values are handled differently than for normal transformation matrices.)

## Return Values

None.

## Description

Sets a matrix in the matrix cache. The `NNS_G2dInitRndCore2DMtxCache` function gets called internally to initialize the affine index information. The matrix that gets set in matrix cache by this function gets used as the argument for the `NNS_G2dSetRndCoreCurrentMtx2D` function.

## See Also

`NNS_G2dInitRndCore2DMtxCache`
`NNS_G2dSetRndCoreCurrentMtx2D`

## Revision History

2004/11/10 Initial version.

CONFIDENTIAL