#include <nnsys/g2d/g2d_RendererCore.h>
void NNS_G2dSetRndCoreCellCloneSource3D( const NNSG2dCellData* pCell );
pCell | [IN] Cell data |
None.
Referenced by NNS_G2dRndCoreDrawCellClone3D()
, this computes the UV parameters in advance and stores them in UV parameter cache. On the assumption that the entered cell is composed of OBJ having the same image data, this function computes UV values for the 0th OBJ in the index and saves it as cache.
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 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 BeginRendering
— EndRendering
block.
None.
2004/11/10 Initial version.
CONFIDENTIAL