删除由glGenTextures创建的纹理对象。删除后的纹理对象ID可以重复使用。
void glDeleteTextures( GLsizei n,
const GLuint * textures);
n
Specifies the number of textures to be deleted.
指定删除的纹理对象数
textures
Specifies an array of textures to be deleted.
指定一组纹理对象ID
本文详细介绍了OpenGL函数glDeleteTextures的用法,该函数用于删除由glGenTextures创建的纹理对象,使得这些纹理对象ID可以被重新利用。文章具体说明了如何通过参数指定要删除的纹理对象数量及纹理对象ID数组。
删除由glGenTextures创建的纹理对象。删除后的纹理对象ID可以重复使用。
void glDeleteTextures( GLsizei n,
const GLuint * textures);
n
Specifies the number of textures to be deleted.
指定删除的纹理对象数
textures
Specifies an array of textures to be deleted.
指定一组纹理对象ID

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