MeVisLab Toolbox Reference
SoClearShaderState.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2007, MeVis Medical Solutions AG
4**
5** The user may use this file in accordance with the license agreement provided with
6** the Software or, alternatively, in accordance with the terms contained in a
7** written agreement between the user and MeVis Medical Solutions AG.
8**
9** For further information use the contact form at https://www.mevislab.de/contact
10**
11**************************************************************************************/
12
13#ifndef SO_CLEAR_SHADER_STATE_H
14#define SO_CLEAR_SHADER_STATE_H
15
16
18
19#include "SoShaderSystem.h"
20#include <Inventor/nodes/SoSubNode.h>
21#include <Inventor/fields/SoSFBool.h>
22
24
27{
28 typedef SoNode inherited;
29
30 SO_NODE_HEADER(SoClearShaderState);
31
32 public:
33
36
39
42
43 SoEXTENDER public:
44
47
48 SoINTERNAL public:
49
51 static void initClass();
52
53 protected:
54
57};
58
59#endif // _SO_CLEAR_SHADER_STATE_
Open Inventor node to clear shader state.
SoSFBool shaderObjectList
Collects all shader parameters.
static void initClass()
Initialize class with runtime type system.
~SoClearShaderState() override
Destructor.
SoClearShaderState()
Constructor.
SoSFBool shaderParameterList
Collects all vertex and fragment shaders.
void GLRender(SoGLRenderAction *action) override
Implements rendering.
Class managing an OpenGL shader program.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.