请输入您要查询的百科知识:

 

词条 glLoadIdentity
释义

The glLoadIdentity function replaces the current matrix with the identity matrix.

glLoadIdentity该函数的功能是重置当前指定的矩阵为单位矩阵.

函数原型:void glLoadIdentity( void);

Remarks(备注:)The glLoadIdentity function replaces the current matrix with the identity matrix. It is semantically equivalent to calling glLoadMatrix with the identity matrix

glLoadIdentity该函数的功能是重置当前指定的矩阵为单位矩阵.在语义上,其等同于用单位矩阵调用glLoadMatrix。

but in some cases it is more efficient.

但是,在一些情况下,glLoadIdentity更加效率。

The following functions retrieve information related to glLoadIdentity:

下面是一些与glLoadIdentity相关的函数信息:

glGet with argument GL_MATRIX_MODE

glGet with argument GL_MODELVIEW_MATRIX

glGet with argument GL_PROJECTION_MATRIX

glGet with argument GL_TEXTURE_MATRIX

Error Codes(错误代码):

The following is the error code and its condition.

GL_INVALID_OPERATION  glLoadIdentity was called between a call to glBegin and the corresponding call to glEnd.

随便看

 

百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。

 

Copyright © 2004-2023 Cnenc.net All Rights Reserved
更新时间:2024/11/15 15:45:12