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

glDeleteLists

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

在OpenGL库中的一组函数名可删除一组连续的显示列表

glDeleteLists详细介绍

在OpenGL库中的一组函数名可删除一组连续的显示列表

glDeleteLists

glDeleteLists功能:删除一组连续的显示列表

glDeleteLists名称

glDeleteLists - delete a contiguous group of display lists

C SPECIFICATION

glDeleteLists

void glDeleteLists( GLuint list, GLsizei range )

glDeleteLists参数

list ? Specifies the integer name of the first display list to delete.

range ? Specifies the number of display lists to delete.

glDeleteLists描述

glDeleteLists causes a contiguous group of display lists to be deleted. list is the name of the first display list to be deleted, and range is the number of display lists to delete. All display lists d with list ≤ d ≤ list + range - 1 are deleted.

All storage locations allocated to the specified display lists are freed, and the names are available for reuse at a later time. Names within the range that do not have an associated display list are ignored. If range is zero, nothing happens.

glDeleteLists

glDeleteLists错误

GL_INVALID_VALUE is generated if range is negative.

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

SEE ALSO

"glCallList" , "glCallLists" , "glGenLists" , "glIsList" , "glNewList"

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