# NNS_G3dGeSetBuffer

## C Specification

      #include <nnsys/g3d/gecom.h>

      void
      NNS_G3dGeSetBuffer(
      NNSG3dGeBuffer* p
      );

## Arguments

p | The pointer to the command buffer.

## Return Values

None.

## Description

If the the geometry command buffer is not set up, the buffer shown in the geometry command buffer by `p` is set up. Nothing happens if the command buffer is already set. The geometry buffer is used to allow processing to proceed without stopping the CPU. It does this by buffering the geometry commands when a geometry command send request is received while a geometry command is performing a DMA transfer via the `NNS_G3dGeSendDL` command. This method is effective for non-simple models with large display lists. Generally, the buffer is allocated in the DTCM (stack) area.

## See Also

`NNS_G3dGeIsBufferExist`, `NNS_G3dGeReleaseBuffer`

## Revision History

10/15/2004 Revised description.
09/16/2004 Added description regarding the buffer.
08/02/2004 Initial version.