G3X_GetMtxStackLevelPJ

C Specification

#include <nitro/gx/g3x.h>

s32 G3X_GetMtxStackLevelPJ(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 gets the current stack level of the Projection matrix stack. When the return value is 0, the current matrix stack level is substituted in *level. The matrix stack level has values of 0 or 1. When the return value is not 0, the current matrix stack level cannot be obtained because the matrix stack is busy.

See Also

G3X_GetMtxStackLevelPV

Revision History

02/09/2004

01/19/2004 Initial version