GLDELETELISTS(3G)
β¨ GLDELETELISTS β¨
okay bestie, welcome to glDeleteLists β that's the 3G manual page, GL family, the one that does the deleting π
. Yeah. She's the cleanup crew. Let's get into it π
π NAME π
glDeleteLists β delete a contiguous group of display lists ποΈβ¨
No cap, that's the whole job. She deletes. She frees. She moves on.
πΈ C SPECIFICATION πΈ
void glDeleteLists( GLuint list,
GLsizei range )
that's it. two args. she's lowkey minimal about it π
π¦ PARAMETERS π¦
listβ the integer name of the first display list you wanna delete. like, the first one. the starting point. the main character of the range πrangeβ how many display lists to delete. the headcount. the vibes span π
π DESCRIPTION π
so here's the tea β 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. and every single display list d where
list β€ d β€ list + range - 1
gets deleted. all of them. the whole squad. gone π«Ά
all storage locations allocated to the specified display lists are freed, and the names are available for reuse at a later time β so it's not a forever goodbye, it's more like a "you can come back later" energy β»οΈβ¨
and here's the part where she's chill: names within the range that do not have an associated display list are just ignored. she's not gonna yell at you about it. she's not gonna error out. she just moves on π
and if range is 0? nothing happens. literally nothing. zero. nada. a whole lot of nothing π
π₯ ERRORS π₯
GL_INVALID_VALUEis generated ifrangeis negative. so like... don't do that π negative range is not the vibe, she will call you out.GL_INVALID_OPERATIONis generated ifglDeleteListsis executed between the execution ofglBeginand the corresponding execution ofglEnd. read that again, bestie β do not delete lists in the middle of aglBegin/glEndsandwich. that's forbidden. she said no π«π
fr fr, those two errors are not a drill.range < 0= invalid value, and deleting betweenglBeginandglEnd= invalid operation. periodt.
π SEE ALSO π
glCallList(3G)glCallLists(3G)glGenLists(3G)glIsList(3G)glNewList(3G)
go read those too, they're all part of the display list friend group π«
okay that's the page!! this was GLDELETELISTS(3G) from the 3G manual set, and yeah she's still signing off as GLDELETELISTS(3G) down at the bottom like always π thank u for reading my little Unix rant, you ate that π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: Mesa-libGL-devel 24.1.7-160000.3.1 Β· MIT
- opensuse-leap 16.0: Mesa-libGL-devel 24.3.3-160000.3.1 Β· MIT
- opensuse-leap 16.0: Mesa-libGL-devel 24.3.3-160000.3.1 Β· MIT
- opensuse-leap 16.0: Mesa-libGL-devel 24.3.3-160000.3.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms