设置清空深度缓冲区时的值,范围会自动截取到[0,1]大于1的取1,小于0的取0.默认值为1
void glClearDepth( GLdouble depth);
depth
Specifies the depth value used when the depth buffer is cleared. The initial value is 1.
指定深度缓冲区清除时设置的值,默认为1.
本文介绍了OpenGL函数glClearDepth的使用方法及其参数含义。该函数用于设置清空深度缓冲区时的值,默认值为1,实际使用的值会被限制在0到1之间。
设置清空深度缓冲区时的值,范围会自动截取到[0,1]大于1的取1,小于0的取0.默认值为1
void glClearDepth( GLdouble depth);
depth
Specifies the depth value used when the depth buffer is cleared. The initial value is 1.
指定深度缓冲区清除时设置的值,默认为1.
3322

被折叠的 条评论
为什么被折叠?