13#ifndef SO_GLSHADER_PROGRAM_ALLOWED_ELEMENT_H
14#define SO_GLSHADER_PROGRAM_ALLOWED_ELEMENT_H
20#include <Inventor/elements/SoReplacedElement.h>
25 typedef SoReplacedElement inherited;
32 void init(SoState *state)
override;
35 static void set(SoState *state, SoNode *node,
bool allowShaders);
37 static bool get(SoState *state);
#define INVENTOR_SHADER_API
Define class export specifier.
Internal Open Inventor element not meant to be used in SDK.
void init(SoState *state) override
Initialize element.
static void set(SoState *state, SoNode *node, bool allowShaders)
Sets the current framebuffer sampler in the state.
~SoGLShaderProgramAllowedElement() override
Destructor.
static void initClass()
Initialize class with runtime type system.
static bool get(SoState *state)
Returns if activating shaders is allowed.