MeVisLabToolboxReference
MeVisLab/Standard/Sources/Inventor/SoShader/Inventor/nodes/SoVertexShader.h
Go to the documentation of this file.
00001 // **InsertLicense** code
00002 
00006 
00007 
00008 #ifndef  _SO_VERTEX_SHADER_
00009 #define  _SO_VERTEX_SHADER_
00010 
00011 #include "SoShaderSystem.h"
00012 #include "Inventor/nodes/SoShaderObject.h"
00013 
00015 class INVENTOR_SHADER_API SoVertexShader : public SoShaderObject
00016 {
00017    typedef SoShaderObject inherited;
00018 
00019    SO_NODE_HEADER(SoVertexShader);
00020 
00021    public:
00022 
00024       SoVertexShader();
00025 
00026       // Returns TRUE if the GL implementation supports vertex shaders.
00027       static SbBool isSupported(SourceType sourceType);
00028   
00029    SoINTERNAL public:
00030   
00032       virtual SoShader::ShaderType shaderType() const;
00033 
00035       static void initClass();
00036 };
00037 
00038 #endif  // _SO_VERTEX_SHADER_