SOGLMULTITEXTURECOORDINATEELEMENT(3coin3)

πŸ“¦ version 3.1.3, in fedora 43, fedora 44

πŸ’– SoGLMultiTextureCoordinateElement β€” from the Coin library, manual section 3 πŸ’–

okay bestie, buckle up, we're doing a whole library functions manual page and it's genuinely so much. this is SoGLMultiTextureCoordinateElement(3) and it's a baddie. let's get into it 🫢


✨ NAME ✨

SoGLMultiTextureCoordinateElement β€” the class that stores the current gltexture coordinates for several units. yes, multiple. she's poly (texture-coordinate-wise) πŸ’…


🌸 SYNOPSIS 🌸

#include <Inventor/elements/SoGLMultiTextureCoordinateElement.h>

πŸŽ€ Public Member Functions

  • virtual void init (SoState *state) β€” FIXME: write doc. bestie the docs said FIXME and honestly, same.
  • virtual void push (SoState *state) β€” FIXME: write doc.
  • virtual void pop (SoState *state, const SoElement *prevTopElement) β€” FIXME: write doc.
  • virtual SoTextureCoordinateElement::CoordType getType (const int unit) const β€” FIXME: write doc.
  • void send (const int unit, const int index) const β€” FIXME: write doc.
  • void send (const int unit, const int index, const SbVec3f &c, const SbVec3f &n) const β€” FIXME: write doc.
  • void initRender (const SbBool *enabled, const int maxenabled) const β€” the internal method, more on her below ⬇️

πŸ¦‹ Static Public Member Functions

  • static SoType getClassTypeId (void) β€” get the class type id, iconic behaviour ngl
  • static int getClassStackIndex (void) β€” get the class stack index, also iconic
  • static void * createInstance (void) β€” creates an instance, very demure
  • static void initClass (void) β€” initializes static data for the class
  • static void setTexGen (SoState *const state, SoNode *const node, const int unit, SoTexCoordTexgenCB *const texgenFunc, void *const texgenData=NULL, SoTextureCoordinateFunctionCB *const func=NULL, void *const funcData=NULL) β€” FIXME: write doc. look at all those defaults bestie 😭
  • static const SoGLMultiTextureCoordinateElement * getInstance (SoState *const state) β€” FIXME: write doc.

🧚 Protected Member Functions

  • SoGLMultiTextureCoordinateElement (void) β€” the constructor πŸ’–
  • virtual ~SoGLMultiTextureCoordinateElement () β€” the destructor πŸ’€
  • virtual void setElt (const int unit, SoTexCoordTexgenCB *func, void *data=NULL) β€” FIXME: write doc.

🌈 Detailed Description 🌈

the SoGLMultiTextureCoordinateElement class stores the current gltexture coordinates for several units. that's literally it, that's her whole thing. one element, many units, no cap πŸ”₯


πŸ‘‘ Constructor & Destructor Documentation πŸ‘‘

SoGLMultiTextureCoordinateElement::SoGLMultiTextureCoordinateElement (void )

[protected]

the constructor. she's protected so you can't just summon her in the group chat, sorry bestie πŸ™ˆ

SoGLMultiTextureCoordinateElement::~SoGLMultiTextureCoordinateElement ()

[protected], [virtual]

the destructor. she's virtual, she's protected, she's saying goodbye with dignity ✨


πŸ’œ Member Function Documentation πŸ’œ

void * SoGLMultiTextureCoordinateElement::createInstance (void )

[static]

okay so this API member is considered internal to the library, because it is not likely to be of interest to the application programmer. so if you're an app dev reading this: not for you bestie, keep scrolling 🫢

void SoGLMultiTextureCoordinateElement::initClass (void )

[static]

this static method initializes static data for the SoGLMultiTextureCoordinateElement class. slay, that's her job.

void SoGLMultiTextureCoordinateElement::init (SoState * state)

[virtual]

FIXME: write doc.

reimplemented from SoElement. (so like, the parent version is right there if you're nosy πŸ‘€)

void SoGLMultiTextureCoordinateElement::push (SoState * state)

[virtual]

FIXME: write doc.

reimplemented from SoElement.

void SoGLMultiTextureCoordinateElement::pop (SoState * state, const SoElement * prevTopElement)

[virtual]

FIXME: write doc.

reimplemented from SoElement. push and pop, the classic duo, the main character energy of element state management πŸ’…

void SoGLMultiTextureCoordinateElement::initRender (const SbBool * enabled, const int maxenabled) const

an internal method that is called from SoGLTextureCoordinateElement to set up optimized rendering. ooooh optimized, we love efficiency πŸŽ€


⭐ Author ⭐

Generated automatically by Doxygen for Coin from the source code. so like, not a human, but she ate anyway πŸ’€βœ¨


okay and that's the whole page bestie, ily, go forth and set those texture coordinates πŸ’–

Coin β€” Version 3.1.3 🌸 SoGLMultiT...nateElement(3) β€” signing off, no cap πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from