gDPSetDepthImage
Sets the Z buffer area
Syntax
#include <ultra64.h> /* gbi.h */
gDPSetDepthImage(Gfx *gdl, s32 img)
gsDPSetDepthImage( s32 img)
Arguments
Description
Sets the area to be used as the Z buffer. For details, see Section 12.8.1 "Image Location and Format" in the N64 Programming Manual.
Note
This macro must be used if Z buffering is enabled. Image width (width) and pixel size (siz) do not need to be set when the Z buffer area is secured, because the value set by gDPSetColorImage is used for width and the siz is always G_IM_SIZ_16b (16 bits per cycle).
See Also
gDPSetColorImage, gDPSetTextureImage
Revision History
02/01/99 Completely rewritten