#include <revolution/gx.h> u32 GXDecompressZ16( u32 z16, GXZFmt16 zfmt );
| z16 | 16-bit compressed z value. Type is u32 to match the argument of the GXPeekZ function. |
||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| zfmt | Z compression format. Accepted values are:
|
24-bit decompressed Z value.
This auxiliary function is used to directly read the Z value from the 16-bit Z buffer using the GXPeekZ function. The 16-bit value is expanded to a 24-bit value via the Z compression format specified by the argument zfmt.
2006/03/01 Initial version.
CONFIDENTIAL