 Stores the current shadow style.  
More...
  Stores the current shadow style.  
More...
#include <Inventor/elements/SoGLShadowStyleElement.h>
 
  
 | Public Types | |
| enum | ShadowStyle { NO_SHADOWING = 0x00, CASTS_SHADOW = 0x01, SHADOWED = 0x02, CASTS_SHADOW_AND_SHADOWED = 0x03 } | 
| Public Member Functions | |
| virtual void | push (SoState *state) | 
| virtual void | pop (SoState *state, const SoElement *prevTopElement) | 
| int | getPassNumber () | 
| bool | enableCheckLighting () | 
| Static Public Member Functions | |
| static SoType | getClassTypeId () | 
| static int | getClassStackIndex () | 
| static void | set (SoState *state, SoShadowStyle *shadowStyle, ShadowStyle style) | 
| static void | setPassNumber (SoState *state, int passNumber) | 
| static void | getDefault (ShadowStyle &shadowStyle, int &passNumber) | 
| static void | setCheckLightingEnabled (SoState *state, bool enable) | 
 Stores the current shadow style.
  Stores the current shadow style. 
This element stores the current shadow style.
NOTE: This class does not exist in Open Inventor 10.0 and later.| bool SoGLShadowStyleElement::enableCheckLighting | ( | ) |  [inline] | 
| static int SoGLShadowStyleElement::getClassStackIndex | ( | ) |  [static] | 
Returns the stack id for this element.
Reimplemented from SoGLDrawStyleElement.
| static SoType SoGLShadowStyleElement::getClassTypeId | ( | ) |  [static] | 
Returns the type identifier for this class.
Reimplemented from SoGLDrawStyleElement.
| static void SoGLShadowStyleElement::getDefault | ( | ShadowStyle & | shadowStyle, | |
| int & | passNumber | |||
| ) |  [static] | 
| int SoGLShadowStyleElement::getPassNumber | ( | ) |  [inline] | 
| virtual void SoGLShadowStyleElement::pop | ( | SoState * | state, | |
| const SoElement * | prevTopElement | |||
| ) |  [virtual] | 
Overrides pop() method so side effects can occur in GL.
Reimplemented from SoGLDrawStyleElement.
| virtual void SoGLShadowStyleElement::push | ( | SoState * | state | ) |  [virtual] | 
Overrides push() so we can remember the previous element's draw style, and perhaps avoid sending unnecessary GL calls if this element is the same.
Reimplemented from SoGLDrawStyleElement.
| static void SoGLShadowStyleElement::set | ( | SoState * | state, | |
| SoShadowStyle * | shadowStyle, | |||
| ShadowStyle | style | |||
| ) |  [static] | 
| static void SoGLShadowStyleElement::setCheckLightingEnabled | ( | SoState * | state, | |
| bool | enable | |||
| ) |  [static] | 
| static void SoGLShadowStyleElement::setPassNumber | ( | SoState * | state, | |
| int | passNumber | |||
| ) |  [static] |