gDPSetColorImage
Sets the color frame buffer region
Syntax
#include <ultra64.h> /* gbi.h */
gDPSetColorImage(Gfx *gdl, s32 fmt, s32 siz, s32 width, s32 img)
gsDPSetColorImage( s32 fmt, s32 siz, s32 width, s32 img)
Arguments
Description
Sets the format, etc. of the frame buffer region to be used for color images. Applications normally use two color frame buffers for double buffering, or switching between buffers on every vertical retrace.
You can choose from among 7 different texture image formats. The table shows the valid combinations of format and size. Select the format that best suits the texture compression method and type.
G_IM_SIZ_ (Size) | |||||
4b | 8b | 16b | 32b | ||
G_IM_FMT_ (Format) |
RGBA | X (5/5/5/1) |
X (8/8/8/8) |
||
CI | |
X | |||
IA | X (4/4) |
X (8/8) |
|||
I | X | X | |
For details, see Section 12.8.1 "Image Location and Format" in the N64 Programming Manual.
See Also
gDPSetDepthImage, gDPSetTextureImage
Revision History
02/01/99 Completely rewritten