Enables/disables textureCubeMap. More...
#include <Inventor/elements/SoGLTextureCubeMapEnabledElement.h>
Public Member Functions | |
virtual void | pop (SoState *state, const SoElement *prevTopElement) |
void | send (SbBool value) |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static int | getClassStackIndex () |
This element enables/disables textureCubeMap. This is implemented as a separate element from the TextureImageElement so the texture image can be changed without blowing caches containing shapes-- shapes need to know if texturing is going on or not so they can decide to send down texture coordinates or not.
NOTE: This class does not exist in Open Inventor 10.0 and later.This Element is very similar to SoGLTextureEnabledElement but contrary to SoGLTextureImageElement, we can't deal with the texture2d and the CubeMap texture in the same element.
This element cannot be overridden, but, since the elements that set it check each other's value, overriding those elements has the same effect.
SoTextureCubeMap, SoGLTextureEnabledElement, SoGLTexture3EnabledElement
static int SoGLTextureCubeMapEnabledElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoTextureCubeMapEnabledElement.
static SoType SoGLTextureCubeMapEnabledElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoTextureCubeMapEnabledElement.
virtual void SoGLTextureCubeMapEnabledElement::pop | ( | SoState * | state, | |
const SoElement * | prevTopElement | |||
) | [virtual] |
Overrides pop() method so side effects can occur in GL.
Reimplemented from SoTextureCubeMapEnabledElement.
void SoGLTextureCubeMapEnabledElement::send | ( | SbBool | value | ) |