Home / comp / gb.opengl / gl / matrixmode 
Gl.MatrixMode (gb.opengl)
Syntax
STATIC SUB MatrixMode ( Mode AS Integer )

Specify which matrix is the current matrix

Parameters

Description

  Gl.MatrixMode sets the current matrix mode. mode can assume one of three values:

Errors

Gl.GL_INVALID_ENUM is generated if mode is not an accepted value.
Gl.GL_INVALID_OPERATION is generated if Gl.MatrixMode is called between a call to Gl.Begin and the corresponding call to Gl.End.

Associated Gets

Gl.GetMatrixMode


See also
Gl.LoadMatrix, Gl.PushMatrix