SoTextureCoordinateCache(3)

πŸ“¦
version 4.0.10 Β· 4 versions
, in fedora 43, fedora 44

πŸ’– SoTextureCoordinateCache(3) πŸ’–

okay bestie, welcome to the Coin manual, page for SoTextureCoordinateCache(3) β€” yes that's the whole manual name, we're not copying the header line verbatim, we're folding it in like a lil hair clip. anyway. let's GO. ✨


🌸 NAME 🌸

SoTextureCoordinateCache β€” the SoTextureCoordinateCache class is used to cache generated texture coordinates. that's it. that's the whole job. and she does it flawlessly. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <Inventor/caches/SoTextureCoordinateCache.h>

Inherits SoCache.

✨ Public Member Functions ✨

SoTextureCoordinateCache (SoState *const state)
virtual ~SoTextureCoordinateCache ()
void generate (const SbBox3f &bbox, const SbVec3f *vertices, const int
    numvertices)
const SbVec2f * get (void) const
int getNum (void) const

πŸ’œ 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 SoTextureCoordinateCache class is used to cache generated texture coordinates.

like. she's the girl who remembers where everything goes so nobody has to figure it out twice. caching queen behavior. no cap. πŸ”₯


🧚 Constructor & Destructor Documentation 🧚

🌸 SoTextureCoordinateCache::SoTextureCoordinateCache (SoState *const state) 🌸

Constructor. she's born. iconic entrance, honestly. πŸŽ€

πŸ’œ SoTextureCoordinateCache::~SoTextureCoordinateCache () [virtual] πŸ’œ

Destructor. she says bye bestie, cleans up after herself, leaves the group chat gracefully. πŸ¦‹


✨ Member Function Documentation ✨

πŸ’… void SoTextureCoordinateCache::generate (const SbBox3f & bbox, const SbVec3f * vertices, const int numvertices)

Generates texture coordinates based on the bounding box of the geometry. This is usually called default texture coordinates in OIV. so like, bbox, vertices, numvertices walk in and she just... makes the coords. main character energy fr fr. 🌟

πŸ’– const SbVec2f * SoTextureCoordinateCache::get (void ) const

Returns the generated texture coordinates. she's handing them to you. take them. 🫢

⭐ int SoTextureCoordinateCache::getNum (void ) const

Returns the number of generated texture coordinates. just the count bestie, nothing more, nothing less. lowkey obsessed with how simple that is. 😌


🌈 Author 🌈

Generated automatically by Doxygen for Coin from the source code.


πŸ’Œ and that's the whole page!! every flag, every signature, every inherited member β€” all present and accounted for, periodt. ✨

Version 4.0.10 β€” Thu Jun 25 2026 00:00:00 πŸ’– mwah, love u, go cache something gorgeous πŸ¦‹

πŸ“¦ where this page comes from