# NNS_G2dAddRendererTargetSurface

## C Specification

      #include <nnsys/g2d/g2d_Renderer.h>

      void NNS_G2dAddRendererTargetSurface( 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 been changed from `NNS_G2dAddTargetSurface()`. The past function remains as a separate name to maintain compatibility.

## See Also

`NNS_G2dAddTargetSurface
`

## Revision History

08/02/2004 Renamed function

05/28/2004 Initial version.