# NNS_G2dRndCoreBeginRendering

## Syntax

      #include <nnsys/g2d/g2d_RendererCore.h>

          void NNS_G2dRndCoreBeginRendering( NNSG2dRndCoreInstance* pRnd );

## Arguments

pRnd | [IN] Renderer core

## Return Values

None.

## Description

Starts drawing with renderer core. This function conducts pre-processing for starting each type of rendering.

    The following settings must be configured before you call this function:
    - Set the image proxy (NNS_G2dSetRndCoreImageProxy())
    - Set the object surface to render (NNS_G2dSetRndCoreSurface())
    And if rendering with the 2D Graphics Engine, you should also:
    - Set the OAM register function (NNS_G2dSetRndCoreOamRegisterFunc())

Note: Once you have called this function, you cannot change the parameters for the image proxy or the object surface to render.
After you have called this function and rendering has ended, be sure to call `NNS_G2dRndCoreEndRendering()`.
Calling a `BeginRendering` — `EndRendering` function from within a `BeginRendering` — `EndRendering` block (nested calling) is prohibited. Doing so will cause fail on assertion.

## See Also

`NNS_G2dRndCoreEndRendering
`

## Revision History

2004/11/10 Initial version.

CONFIDENTIAL