首页 > comp > gb.opengl > gl > loadidentity 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh_TW eo
前一个  下一个  编辑  重命名  撤销  搜索  管理  
文档  
警告! 该页面未翻译。  参见英文版 
Gl.LoadIdentity (gb.opengl)
Static Sub LoadIdentity ( )

Replace the current matrix with the identity matrix.

Description

Gl.LoadIdentity replaces the current matrix with the identity matrix. It is semantically equivalent to calling Gl.LoadMatrix with the identity matrix

1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1

but in some cases it is more efficient.

Errors

Gl.INVALID_OPERATION is generated if Gl.LoadIdentity is executed between the execution of Gl.Begin and the corresponding execution of Gl.End.

Associated Gets

Gl.Get with argument Gl.MATRIX_MODE

Gl.Get with argument Gl.COLOR_MATRIX

Gl.Get with argument Gl.MODELVIEW_MATRIX

Gl.Get with argument Gl.PROJECTION_MATRIX

Gl.Get with argument Gl.TEXTURE_MATRIX

参见

Gl.LoadMatrix, Gl.LoadTransposeMatrix, Gl.MatrixMode, Gl.MultMatrix, Gl.MultTransposeMatrix, Gl.PushMatrix

See original documentation on OpenGL website