当前位置:首页 科普知识 glClearDepth

glClearDepth

发布时间:2023-09-06 19:15:15

glClearDepth,计算机术语,功能为指定深度缓冲区的清除值。

glClearDepth详细介绍

glClearDepth,计算机术语,功能为指定深度缓冲区的清除值。

glClearDepth

NAME

glClearDepth - specify the clear value for the depth buffer

C SPECIFICATION

void glClearDepth( GLclampd depth )

glClearDepth

PARAMETERS

depth ? Specifies the depth value used when the depth buffer is cleared.

DEscriptION

glClearDepth specifies the depth value used by glClear to clear the depth buffer. Values specified by glClearDepth are clamped to the range .

ERRORS

GL_INVALID_OPERATION is generated if glClearDepth is called between a call to glBegin and the corresponding call to glEnd.

glClearDepth

ASSOCIATED GETS

glGet with argument GL_DEPTH_CLEAR_VALUE

SEE ALSO

"glClear"

温馨提示:
本文【glClearDepth】由作者 爱百科 转载提供。 该文观点仅代表作者本人, 自学教育网 信息发布平台,仅提供信息存储空间服务, 若存在侵权问题,请及时联系管理员或作者进行删除。
(c)2008-2025 自学教育网 All Rights Reserved 汕头市灵创科技有限公司
粤ICP备2024240640号-6