Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoTextureCoordinateElement.h File Reference
#include <Inventor/SbLinear.h>
#include <Inventor/elements/SoReplacedTextureElement.h>
#include <Inventor/SbEnums.h>
#include <memory>
#include <Inventor/STL/vector>

Go to the source code of this file.

Classes

class  SoTextureCoordinateElement
 Stores the current texture coordinates. More...
 

Typedefs

typedef const SbVec4fSoTextureCoordinateFunctionCB(void *userdata, const SbVec3f &point, const SbVec3f &normal)
 Function that TextureCoordinateFunction nodes register to compute texture coordinates.
 

Typedef Documentation

◆ SoTextureCoordinateFunctionCB

typedef const SbVec4f & SoTextureCoordinateFunctionCB(void *userdata, const SbVec3f &point, const SbVec3f &normal)

Function that TextureCoordinateFunction nodes register to compute texture coordinates.

Given the point and normal, compute a texture coordinate and return it:

Definition at line 66 of file SoTextureCoordinateElement.h.