13#ifndef SO_GLSHADER_PROGRAM_ALLOWED_ELEMENT_H
14#define SO_GLSHADER_PROGRAM_ALLOWED_ELEMENT_H
19#include "SoShaderSystem.h"
20#include <Inventor/elements/SoReplacedElement.h>
25 typedef SoReplacedElement inherited;
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.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.