Begins rendering for a texture mamory.

Prototype declaration:


KMINT32
kmRenderTexture(
		OUT  PKMSURFACEDESC pTextureSurface
		IN   KMDWORD        dwDitherMode
);

Description:

This function notifies the tile accelerator that all vertex data of a single scene has been written.
The renderer begins rendering for a texture surface specified after vertex data expansion is completed.
Also, the texture for drawing must be in the Rectangle/Stride format.
Parameters:
pTextureSurface(output)
        Texture of which rendering result is stored

dwDitherMode(input)
        This parameter specifies the rendering flag, as follows:
            KM_RENDER_DITHER
            KM_RENDER_NODITHER

Return values:
Value Explanation
0 < (return) Success
0 > (return) Failure