SoGLDisplayList(3)
π SoGLDisplayList β the SoGLDisplayList(3) glow-up π
okay bestie, welcome to the Coin corner of your terminal. this is the manual page for SoGLDisplayList, section 3 of the manual, and yes we're about to make OpenGL display lists feel like a whole personality. sit down, hydrate, let's go π«Ά
β¨ NAME β¨
SoGLDisplayList β the class that stores and manages OpenGL display lists. that's literally the whole job. it's giving storage unit for your GPU's fave little bundles. no cap.
πΈ SYNOPSIS πΈ
#include <Inventor/elements/SoGLDisplayList.h>
π Public Types π
enum Type { DISPLAY_LIST, TEXTURE_OBJECT }
just two vibes to choose from: DISPLAY_LIST or TEXTURE_OBJECT. pick your fighter π
π¦ Public Member Functions π¦
SoGLDisplayList (SoState *state, Type type, int allocnum=1, SbBool
mipmaptexobj=FALSE)
void ref (void)
void unref (SoState *state=NULL)
void open (SoState *state, int index=0)
void close (SoState *state)
void call (SoState *state, int index=0)
void addDependency (SoState *state)
SbBool isMipMapTextureObject (void) const
Type getType (void) const
int getNumAllocated (void) const
unsigned int getFirstIndex (void) const
int getContext (void) const
void setTextureTarget (int target)
int getTextureTarget (void) const
look at that roster. that's a full cast, main character energy from top to bottom π
π Detailed Description π
okay so SoGLDisplayList stores and manages OpenGL display lists. say it with me. that's the bit.
now here's the tea you actually need: the TEXTURE_OBJECT type is not directly supported in Coin. π and it's not a bug, it's a choice β Coin handles textures differently, in a more flexible class called SoGLImage, which also stores some info about the texture used when rendering. so it's not that textures were abandoned, they just moved into a nicer apartment. π‘
but listen β old code that uses this element should not stop working. periodt. the texture object extension just won't get used, and the texture gets stored in a display list instead. it's fine. everything's fine. π
β Constructor & Destructor Documentation β
π SoGLDisplayList::SoGLDisplayList (SoState * state, Type type, int allocnum = 1, SbBool mipmaptexobj = FALSE)
Constructor. that's it, that's the description β it constructs. iconic brevity, honestly β¨
π Member Function Documentation π
π void SoGLDisplayList::ref (void )
Increase reference count for this display list / texture object. keep it alive, bestie π«Ά
π void SoGLDisplayList::unref (SoState * state = NULL)
Decrease reference count for this instance. and here's the dramatic part: when reference count reaches 0, the instance is deleted. π poof. gone. so don't unref what you still need, iykyk.
π void SoGLDisplayList::open (SoState * state, int index = 0)
Open this display list / texture object. like unzipping it for business π
π void SoGLDisplayList::close (SoState * state)
Close this display list / texture object. zip it back up, we're done here β¨
π void SoGLDisplayList::call (SoState * state, int index = 0)
Execute this display list / texture object. go off, run it, slay π₯
π void SoGLDisplayList::addDependency (SoState * state)
Create a dependency on the display list. attachments. commitment. it's giving loyalty π
π SbBool SoGLDisplayList::isMipMapTextureObject (void ) const
Returns whether the texture object stored in this instance was created with mipmap data. heads up: this method is an extension versus the Open Inventor API, so it's a Coin extra, not a classic. π¦
π SoGLDisplayList::Type SoGLDisplayList::getType (void ) const
Return type. Display list or texture object. simple. elegant. no notes. π
π int SoGLDisplayList::getNumAllocated (void ) const
Return number of display lists / texture objects allocated. the headcount π
π unsigned int SoGLDisplayList::getFirstIndex (void ) const
Return first GL index for this display list. where it all begins, literally the origin story β
π int SoGLDisplayList::getContext (void ) const
Return an id for the current context. your context's little name tag π·οΈ
π void SoGLDisplayList::setTextureTarget (int target)
Sets the texture object target.
Since: Coin 2.5 β¨
π int SoGLDisplayList::getTextureTarget (void ) const
Returns the texture target.
Since: Coin 2.5 β¨
π§ Author π§
Generated automatically by Doxygen for Coin from the source code. not a human, not a poet, just Doxygen doing its little robot thing π€π
and that's the whole page bestie!! no cap, you now know SoGLDisplayList better than most people know their own wifi password π
okay and for the cute sign-off: this was Version 4.0.10, dated Thu Jun 25 2026 00:00:00, and it's the SoGLDisplayList(3) page from the Coin manual. bye pookie, go compile something beautiful ππΈ
π¦ where this page comes from
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms