Manpage of GLMATRIXMODE
- specify which matrix is the current matrix
GLenum fImodefP )
Specifies which matrix stack is the target
for subsequent matrix operations.
Three values are accepted:
The initial value is %f3GL_MODELVIEWfP.
Additionally, if the %f3GL_ARB_imagingfP extension is supported,
%f3GL_COLORfP is also accepted.
%f3glMatrixModefP sets the current matrix mode.
f2modefP can assume one of four values:
Applies subsequent matrix operations to the modelview matrix stack.
Applies subsequent matrix operations to the projection matrix stack.
Applies subsequent matrix operations to the texture matrix stack.
Applies subsequent matrix operations to the color matrix stack.
To find out which matrix stack is currently the target of all matrix
operations, call %f3glGetfP with argument %f3GL_MATRIX_MODEfP. The initial
value is %f3GL_MODELVIEWfP.
%f3GL_INVALID_ENUMfP is generated if f2modefP is not an accepted value.
%f3GL_INVALID_OPERATIONfP is generated if %f3glMatrixModefP
is executed between the execution of %f3glBeginfP
and the corresponding execution of %f3glEndfP.
%f3glGetfP with argument %f3GL_MATRIX_MODEfP
- C SPECIFICATION
- ASSOCIATED GETS
- SEE ALSO