SoPrimitiveVertexCache(3)
π 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) constvoid renderLines(SoState *state, const int arrays=ALL) constvoid renderPoints(SoState *state, const int array=ALL) constvoid 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) constconst SbVec3f * getVertexArray(void) constconst SbVec3f * getNormalArray(void) constconst SbVec4f * getTexCoordArray(void) constconst SbVec2f * getBumpCoordArray(void) constconst uint8_t * getColorArray(void) constint getNumTriangleIndices(void) constconst GLint * getTriangleIndices(void) constint32_t getTriangleIndex(const int idx) constSbBool colorPerVertex(void) constconst SbVec4f * getMultiTextureCoordinateArray(const int unit) constint getNumLineIndices(void) constconst GLint * getLineIndices(void) constint getNumPointIndices(void) constconst GLint * getPointIndices(void) constvoid 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) constconst SoElement * getInvalidElement(const SoState *const state) constvoid 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
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms