24#include <Inventor/caches/SoCache.h>
37 SoTangentCache(
SoState* state );
66 return m_tangentBinding;
76 inline uint32_t getTimeStamp()
const
81 inline void setTimeStamp(
const uint32_t timestamp )
83 m_timeStamp = timestamp;
SoTangentBindingElement::Binding getTangentBinding() const
Returns the tangent binding in the cache.
void set(int numTangents, const SbVec3f *tangents, SoTangentBindingElement::Binding tangentBinding, int startIndex=0)
Stores a list of tangents in the cache.
virtual ~SoTangentCache()
Class SoTangentCache:
int getStartIndex() const
Returns the startIndex offset in the cache.
const SbVec3f * getTangents() const
Returns the list of tangents in the cache.
int getNum() const
Returns the number of tangents in the cache.
Binding
The choice of values is for compatibility with Open Inventor 2.0 binary format files: