SoTextureCoordinateCache(3) Coin SoTextureCoordinateCache(3)

SoTextureCoordinateCache - The SoTextureCoordinateCache class is used to cache generated texture coordinates.

#include <Inventor/caches/SoTextureCoordinateCache.h>

Inherits SoCache.


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)

Protected Member Functions inherited from SoCache
virtual void destroy (SoState *state)
virtual ~SoCache ()

The SoTextureCoordinateCache class is used to cache generated texture coordinates.

Constructor.

Destructor.

Generates texture coordinates based on the bounding box of the geometry. This is usually called default texture coordinates in OIV.

Returns the generated texture coordinates.

Returns the number of generated texture coordinates.

Generated automatically by Doxygen for Coin from the source code.

Fri Sep 6 2024 15:32:06 Version 4.0.3