# NNS_G2dSetRndCoreSurface

## Syntax

      #include <nnsys/g2d/g2d_RendererCore.h>

          void NNS_G2dSetRndCoreSurface
          (
              NNSG2dRndCoreInstance*      pRnd,
              NNSG2dRndCoreSurface*       pSurface
          );

## Arguments

`pRnd` | [OUT] Renderer core
`pSurface` | [IN] Rendering target surface

## Return Values

None.

## Description

Sets the object surface to be rendered in the Renderer core. This function must be called outside the `BeginRendering` — `EndRendering` block.

## See Also

`NNS_G2dInitRndCoreSurface`

## Revision History

2004/11/10 Initial version.

CONFIDENTIAL