#include <sglStatelet.hpp>
Inheritance diagram for sglCullMode::

Public Types | |
| enum | CullModeEnum {  eBACK = 0, eOFF, eFRONT, eFRONT_AND_BACK }  | 
Public Methods | |
| sglCullMode (CullModeEnum mode=eBACK) | |
| virtual | ~sglCullMode () | 
| void | setCullMode (CullModeEnum mode) | 
| CullModeEnum | getCullMode () const | 
| void | apply (sglCurrState *curr_state) const | 
| virtual void | printInfo (ostream &ostrm, const char *indent_string) const | 
See also: sglFrontFace
Example:
sglCullMode *cullMode = new sglCullMode; // defaults to eBACK cull_mode->setCullMode(sglCullMode::eFRONT);
Definition at line 766 of file sglStatelet.hpp.
      
  | 
  
| 
 The cull mode enums. 
 
 Definition at line 770 of file sglStatelet.hpp.  | 
  
      
  | 
  
| 
 Constructor (also the default constructor). 
 Definition at line 787 of file sglStatelet.hpp.  | 
  
      
  | 
  
| 
 virtual destructor. 
 Definition at line 791 of file sglStatelet.hpp.  | 
  
      
  | 
  
| 
 Set the cull mode. 
 Definition at line 797 of file sglStatelet.hpp.  | 
  
      
  | 
  
| 
 Query the current cull mode. 
 Definition at line 803 of file sglStatelet.hpp.  | 
  
      
  | 
  
| 
 Apply this state change to the current rendering state. 
 Reimplemented from sglStatelet.  | 
  
      
  | 
  
| 
 Output the state of this node to the specified ostream. 
 Reimplemented from sglStatelet.  | 
  
1.2.6 written by Dimitri van Heesch,
 © 1997-2001