<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
Enables/disables textures.
virtual void pop(SoState *state, const SoElement *prevTopElement)
Overrides pop() method so side effects can occur in GL.
static void set(SoState *state, SbBool value, SoNode *node=NULL)
Used by GLTextureImageElement, set to TRUE when a non-null image is set, set to FALSE when there is n...
static SbBool get(SoState *state, int unit=0)
Used by shapes to figure out if they need to send texture coordinates.
static void disableForShapeCache(SoState *state, int unit, bool disable)
Specify that a texture unit is not used by any shape, so we don't have to invalidate cache when this ...
static bool isDisabledForShapeCache(SoState *state, int unit)
Return if that texture unit is not used by any shape, so we don't have to invalidate cache when this ...
virtual void push(SoState *state)
Overrides push() so we can remember previous element's value and avoid making GL calls if this elemen...
static SbBool getDefault()
By default there is no texture.