13 #ifndef SO_CHECK_SHADER_SUPPORT_H
14 #define SO_CHECK_SHADER_SUPPORT_H
19 #include "SoShaderSystem.h"
20 #include <Inventor/nodes/SoSubNode.h>
21 #include <Inventor/fields/SoSFBool.h>
23 class SoGLRenderAction;
28 typedef SoNode inherited;
43 void GLRender(SoGLRenderAction *action)
override;
52 SbBool _hasBeenChecked;
Open Inventor node to check if OpenGL shader support is provided by the OpenGL driver.
static void initClass()
Initialize class with runtime type system.
SoCheckShaderSupport()
Constructor.
void GLRender(SoGLRenderAction *action) override
Do the check.
SoSFBool shaderSupport
Read-Only: 'True' if graphics hardware supports vertex and fragment shader, 'False' otherwise.