GlDeleteTexture
lastmod 2026-11-10created 2021-05-082 edits
glDeleteTextures is an OpenGL function that deletes texture objects created with glGenTextures. It takes the number of textures to delete and an array of texture names as arguments; deleted names become available for reuse, and a texture that was currently bound reverts to 0. To prevent GPU memory leaks, explicitly release textures that are no longer used.
See also
- OpenGL
- glGenTextures - generate texture names.