_m_o_d_e Specifies which matrix stack is the target for subsequent matrix
operations. Three values are accepted: GGGGLLLL____MMMMOOOODDDDEEEELLLLVVVVIIIIEEEEWWWW,
GGGGLLLL____PPPPRRRROOOOJJJJEEEECCCCTTTTIIIIOOOONNNN, and GGGGLLLL____TTTTEEEEXXXXTTTTUUUURRRREEEE. The initial value is GGGGLLLL____MMMMOOOODDDDEEEELLLLVVVVIIIIEEEEWWWW.
Additionally, if the GGGGLLLL____AAAARRRRBBBB____iiiimmmmaaaaggggiiiinnnngggg extension is supported,
GGGGLLLL____CCCCOOOOLLLLOOOORRRR is also accepted.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
ffffggggllllMMMMaaaattttrrrriiiixxxxMMMMooooddddeeee sets the current matrix mode. _m_o_d_e can assume one of four
values:
GGGGLLLL____MMMMOOOODDDDEEEELLLLVVVVIIIIEEEEWWWW Applies subsequent matrix operations to the
modelview matrix stack.
GGGGLLLL____PPPPRRRROOOOJJJJEEEECCCCTTTTIIIIOOOONNNN Applies subsequent matrix operations to the
projection matrix stack.
GGGGLLLL____TTTTEEEEXXXXTTTTUUUURRRREEEE Applies subsequent matrix operations to the
texture matrix stack.
GGGGLLLL____CCCCOOOOLLLLOOOORRRR Applies subsequent matrix operations to the
color matrix stack.
To find out which matrix stack is currently the target of all matrix
operations, call ffffggggllllGGGGeeeetttt with argument GGGGLLLL____MMMMAAAATTTTRRRRIIIIXXXX____MMMMOOOODDDDEEEE. The initial value
is GGGGLLLL____MMMMOOOODDDDEEEELLLLVVVVIIIIEEEEWWWW.
EEEERRRRRRRROOOORRRRSSSS
GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____EEEENNNNUUUUMMMM is generated if _m_o_d_e is not an accepted value.
GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____OOOOPPPPEEEERRRRAAAATTTTIIIIOOOONNNN is generated if ffffggggllllMMMMaaaattttrrrriiiixxxxMMMMooooddddeeee is executed between
the execution of ffffggggllllBBBBeeeeggggiiiinnnn and the corresponding execution of ffffggggllllEEEEnnnndddd.