MeVisLabToolboxReference
MeVisLab/Standard/Sources/Inventor/SoShader/Inventor/nodes/SoCheckShaderSupport.h
Go to the documentation of this file.
00001 // **InsertLicense** code
00002 
00006 
00007 
00008 #ifndef  _SO_CHECK_SHADER_SUPPORT_
00009 #define  _SO_CHECK_SHADER_SUPPORT_
00010 
00011 #include "SoShaderSystem.h"
00012 #include <Inventor/nodes/SoSubNode.h>
00013 #include <Inventor/fields/SoSFBool.h>
00014 
00015 class SoGLRenderAction;
00016 
00018 class INVENTOR_SHADER_API SoCheckShaderSupport : public SoNode
00019 {
00020    typedef SoNode inherited;
00021 
00022    SO_NODE_HEADER(SoCheckShaderSupport);
00023 
00024    public:
00025 
00027       SoSFBool   shaderSupport;
00028       
00030       SoCheckShaderSupport();
00031 
00032    SoEXTENDER public:
00033 
00035       virtual void GLRender(SoGLRenderAction *action);
00036  
00037    SoINTERNAL public:
00038 
00040       static void    initClass();
00041 
00042    private:
00043 
00044       SbBool  _hasBeenChecked;
00045 };
00046 
00047 #endif  // _SO_CHECK_SHADER_SUPPORT_