# NNS_G2dBeginRendering

## C Specification

      #include <nnsys/g2d/g2d_Renderer.h>

      void NNS_G2dBeginRendering ( NNSG2dRendererInstance* pRendererInstance );

## Arguments

pRendererInstance | [IN] Renderer entity

## Return Values

None.

## Description

Performs configurations (preprocessing) before rendering with the renderer. Call this function before calling the renderer rendering method. Do not call this function inside the `BeginRendering` — `EndRendering` block. (Nested function calls are prohibited.) Also, the `NNS_G2dBeginRenderingEx` function is provided. It operates similarly to `NNS_G2dBeginRendering` and that can set the hint flag to optimize drawing.

## See Also

`NNS_G2dEndRendering
`

## Revision History

11/10/2004 Added description regarding `NNS_G2dBeginRenderingEx`

05/28/2004 Initial version.