# NNS_G3dGlbFlushWVP

## C Specification

      #include <nnsys/g3d/glbstate.h>

      void NNS_G3dGlbFlushAlt( void );
      void NNS_G3dGlbFlushWVP( void );

## Arguments

None.

## Return Values

None.

## Description

Sends the entire global state kept in the G3D library to the geometry engine. The global state includes the following information (if available):

- The projective transformation matrix
- The camera matrix
- The modeling matrix
- The view port
- The light direction and color
- The default material color

Regarding matrices, the matrix composed of the projective transformation matrix, camera matrix, and modeling matrix is set to the current projection matrix. The unit matrix is set to the current position coordinate matrix and directional vector matrix. After sending the global state to the geometry engine, the matrix mode becomes `POSITION/VECTOR`.

## See Also

`NNS_G3dGlbFlushP, NNS_G3dGlbFlushVP`

## Revision History

10/12/2004 Left `NNS_G3dGlbFlushAlt` in the Syntax section only 09/16/2004.
Added `NNS_G3dGlbFlushWVP` as a separate name.
08/02/2004 Initial version.