13#ifndef SO_CHECK_SHADER_SUPPORT_H
14#define SO_CHECK_SHADER_SUPPORT_H
20#include <Inventor/nodes/SoSubNode.h>
21#include <Inventor/fields/SoSFBool.h>
23class SoGLRenderAction;
28 typedef SoNode inherited;
43 void GLRender(SoGLRenderAction *action)
override;
52 SbBool _hasBeenChecked;
#define INVENTOR_SHADER_API
Define class export specifier.
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.