Ninja Library - System Function

njZBufferMode

Sets the Z buffer mode

FORMAT

void njZBufferMode( mode )
Int mode

PARAMETER

 mode  Z buffer mode 
   ON : GREATEREQUAL (default)  
   OFF : ALWAYS 

RETURN

None

DESCRIPTION

Sets the Z buffer mode. This function can set each polygon, but only opaque polygon is valid. This is not valid for transparent polygon. In addition, use only ON (GREATEREQUAL) for modifier volume. If this setting is changed and OFF is set, the drawing is performed in registered order.

EXAMPLE

/* Drawing in the order of registration */
njZBufferMode(OFF);

njZBufferMode
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999