Element storing the current gltexture coordinates.
Bundle that allows shapes to deal with texture coordinates more easily.
~SoTextureCoordinateBundle()
Destructor.
bool isFunction() const
return value to determine which get() to use.
SbVec4f get(const SbVec3f &point, const SbVec3f &normal) const
Returns texture coordinate computed by function during primitive generation or rendering.
void send(int index) const
Sends indexed texture coordinate to GL during rendering.
SoTextureCoordinateBundle(SoAction *action, bool forRendering, bool setUpDefault=TRUE)
Constructor - takes the action the bundle is used for and a flag to indicate whether the bundle is be...
SbVec4f get(int index) const
Returns indexed texture coordinate during primitive generation or rendering.
bool needCoordinates() const
Returns TRUE if texture coordinates are needed at all.
Element storing the current texture coordinates.