G3X_GetMtxStackLevelPV


C Specification

#include <nitro/gx/g3x.h>

s32 G3X_GetMtxStackLevelPV(s32* level);

Description

This function obtains the current stack level for the Position/Vector matrix stack. When the return value is 0, the current stack level is substituted in *level. The current stack level takes values between 0 and 31. When the return value is not 0, the current stack is busy and the current stack level cannot be obtained.

Arguments

level Pointer to s32 type

Return Values

Whether results were obtained (0) or the matrix stack is busy (not 0).

See Also

G3X_GetMtxStackLevelPJ

Revision History

02/09/2004 Changed the argument to a s32 type pointer
01/19/2004 Initial Version