# NNS_G2dAddTargetSurface

## Syntax

      #include <nnsys/g2d/g2d_Renderer.h>

      void NNS_G2dAddTargetSurface( NNSG2dRendererInstance* pRend, NNSG2dRenderSurface* pNew );

## Arguments

pRend | [OUT] Renderer entity
pNew | [IN] New render surface to be registered

## Return Values

None.

## Description

Registers the render surface to the renderer entity. The renderer can optionally retain any number of rendering surfaces.
The name of this function has changed to `NNS_G2dAddRendererTargetSurface()`. This function will remain as a separate name to maintain compatibility.

## See Also

`NNS_G2dAddRendererTargetSurface
`

## Revision History

2004/08/02 Renamed function.

2004/05/28 Initial version.

CONFIDENTIAL