NNS_G2dRndCoreDrawCellClone3D

Syntax

#include <nnsys/g2d/g2d_RendererCore.h>

    
    void NNS_G2dRndCoreDrawCellClone3D( const NNSG2dCellData* pCell );

  

Arguments

pCell [IN] Cell data

Return Values

None.

Description

Renders cells using UV parameter cache calculated ahead of time. Cells comprised of OBJ with the same image data are drawn using software sprites for fast rendering.
When OBJ with the same image data are drawn using software sprites (textured square polygons) they take on the same UV value.

As long as OBJs with the same image data exist, it does not matter if the cell has one or many OBJs.
The process of calculating UV values, which is normally required for software sprite rendering, can be omitted here.
As a result, the rendering proceeds rapidly.
In order to configure the UV parameter cache, you must call NNS_G2dSetRndCoreCellCloneSource3D() before executing this function to initialize the parameters.

Note: The UV parameters of flipped sprites are different from the normal UV parameters.
As a result, the OBJ will not be recognized as having the same image data.

This function supports affine transformation. Certain callback calls are not supported.

This is a special process for 3D surfaces. Any kind of surface other than NNS_G2D_SURFACETYPE_MAIN3D will cause fail on assertion.

This function must be called inside of the BeginRenderingEndRendering block.

See Also

None.

Revision History

2004/11/10 Initial version.


CONFIDENTIAL