G3X_GetMtxStackLevelPV

C Specification

#include <nitro/gx/g3x.h>

s32 G3X_GetMtxStackLevelPV(s32* level);

Arguments

level Pointer to s32 type

Return Values

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

Description

This function obtains the current stack level for the Position/Vector matrix stack. When the return value is 0, the current matrix 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 matrix stack level cannot be obtained because the matrix stack is busy.

See Also

G3X_GetMtxStackLevelPJ

Revision History

02/09/2004

01/19/2004 Initial version