MeVisLabToolboxReference
|
00001 // **InsertLicense** code 00002 00006 00007 00008 #ifndef _SO_CLEAR_SHADER_STATE_ 00009 #define _SO_CLEAR_SHADER_STATE_ 00010 00011 #include "SoShaderSystem.h" 00012 #include <Inventor/nodes/SoSubNode.h> 00013 #include <Inventor/fields/SoSFBool.h> 00014 00015 class SoGLShaderProgram; 00016 00018 class INVENTOR_SHADER_API SoClearShaderState : public SoNode 00019 { 00020 typedef SoNode inherited; 00021 00022 SO_NODE_HEADER(SoClearShaderState); 00023 00024 public: 00025 00027 SoSFBool shaderParameterList; 00028 00030 SoSFBool shaderObjectList; 00031 00033 SoClearShaderState(); 00034 00035 SoEXTENDER public: 00036 00038 virtual void GLRender(SoGLRenderAction *action); 00039 00040 SoINTERNAL public: 00041 00043 static void initClass(); 00044 00045 protected: 00046 00048 virtual ~SoClearShaderState(); 00049 }; 00050 00051 #endif // _SO_CLEAR_SHADER_STATE_