GL_INSTANCEID(3G)
π GL_INSTANCEID β 3G manual page π
okay bestie, quick vibe check: the header has a lil [FIXME: manual] placeholder, and this is the 3G manual page. slay, let's get into it π
πΈ NAME πΈ
gl_InstanceID β contains the index of the current primitive in an instanced draw command. periodt β¨
π DECLARATION π
in int gl_InstanceID ;
β¨ DESCRIPTION β¨
gl_InstanceID is a vertex language input variable that holds the integer index of the current primitive in an instanced draw command such as glDrawArraysInstanced.
If the current primitive does not originate from an instanced draw command, the value of gl_InstanceID is zero. no cap π«Ά
π VERSION SUPPORT π
Variable Name: gl_InstanceID
OpenGL Shading Language Version support, bestie β here's the whole list so nobody gets left on read:
1.10β-1.20β-1.30β-1.40ββ1.50ββ3.30ββ4.00ββ4.10ββ4.20ββ4.30ββ4.40ββ4.50ββ
π¦ SEE ALSO π¦
gl_VertexID() β go check that one out too, iykyk π
π COPYRIGHT π
Copyright Β© 2011-2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.
π COPYRIGHT (the short one) π
Copyright Β© 2011-2014 Khronos Group
okay that's the whole page, bestie π β source/version:[FIXME: source], dated08/09/2021, and it's theGL_INSTANCEID(3G)page. byeee π«Άβ¨
π¦ where this page comes from
- centos-stream 9: gl-manpages 1.1-24.20190306.el9 Β· MIT and Open Publication
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms