SoPrimitiveVertexCache(3)

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

πŸ’– SoPrimitiveVertexCache πŸ’–

okay bestie, so this is a page from the Library Functions Manual β€” it's all about SoPrimitiveVertexCache(3), and she is lowkey a whole vibe. Let's get into it πŸ¦‹


✨ NAME ✨

SoPrimitiveVertexCache β€” no cap, that's the whole name, that's her πŸ’…


🌸 SYNOPSIS 🌸

She Inherits SoCache. Family tree matters, periodt πŸ‘‘

πŸŽ€ Public Types

enum Arrays { NORMAL = 0x01, TEXCOORD = 0x02, COLOR = 0x04, ALL =
    (NORMAL|TEXCOORD|COLOR) }

πŸŽ€ Public Member Functions

  • SoPrimitiveVertexCache(SoState *state)
  • virtual ~SoPrimitiveVertexCache()
  • void renderTriangles(SoState *state, const int arrays=ALL) const
  • void renderLines(SoState *state, const int arrays=ALL) const
  • void renderPoints(SoState *state, const int array=ALL) const
  • void addTriangle(const SoPrimitiveVertex *v0, const SoPrimitiveVertex *v1, const SoPrimitiveVertex *v2, const int *pointdetailidx=NULL)
  • void addLine(const SoPrimitiveVertex *v0, const SoPrimitiveVertex *v1)
  • void addPoint(const SoPrimitiveVertex *v)
  • int getNumVertices(void) const
  • const SbVec3f * getVertexArray(void) const
  • const SbVec3f * getNormalArray(void) const
  • const SbVec4f * getTexCoordArray(void) const
  • const SbVec2f * getBumpCoordArray(void) const
  • const uint8_t * getColorArray(void) const
  • int getNumTriangleIndices(void) const
  • const GLint * getTriangleIndices(void) const
  • int32_t getTriangleIndex(const int idx) const
  • SbBool colorPerVertex(void) const
  • const SbVec4f * getMultiTextureCoordinateArray(const int unit) const
  • int getNumLineIndices(void) const
  • const GLint * getLineIndices(void) const
  • int getNumPointIndices(void) const
  • const GLint * getPointIndices(void) const
  • void fit(void)
  • void depthSortTriangles(SoState *state)

πŸ’œ Public Member Functions inherited from SoCache

  • SoCache(SoState *const state)
  • void ref(void)
  • void unref(SoState *state=NULL)
  • void addElement(const SoElement *const elem)
  • virtual void addCacheDependency(const SoState *state, SoCache *cache)
  • virtual SbBool isValid(const SoState *state) const
  • const SoElement * getInvalidElement(const SoState *const state) const
  • void invalidate(void)

πŸŽ€ Additional Inherited Members

πŸ’œ Protected Member Functions inherited from SoCache

  • virtual void destroy(SoState *state)
  • virtual ~SoCache()

🌈 Detailed Description 🌈

The SoPrimitiveVertexClass is used to cache generated triangles. like, she's holding onto those triangles for you so you don't gotta regenerate them every single time 🧚✨ iconic behavior honestly


🫢 Constructor & Destructor Documentation 🫢

πŸ’– SoPrimitiveVertexCache::SoPrimitiveVertexCache(SoState * state)

Constructor. ✨ she's born ✨

πŸ’– SoPrimitiveVertexCache::~SoPrimitiveVertexCache() [virtual]

Destructor. 😭 she's leaving us (but like, gracefully)


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Coin from the source code. not a human bestie, a robot did this one πŸ’€πŸ€–


okay that's the whole page, you ate that fr fr πŸ“ and just so you know, this little manual moment came from Coin, Version 3.1.3, and yes the page is literally called SoPrimitiveVertexCache(3) β€” byeee, love you, go read the source πŸ¦‹πŸ’–

πŸ“¦ where this page comes from