MeVisLab Resolution Independence API
Toggle main menu visibility
Loading...
Searching...
No Matches
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
23
class
SoGLShaderProgram
;
24
26
class
INVENTOR_SHADER_API
SoClearShaderState
:
public
SoNode
27
{
28
typedef
SoNode inherited;
29
30
SO_NODE_HEADER(
SoClearShaderState
);
31
32
public
:
34
SoSFBool
shaderParameterList
;
35
37
SoSFBool
shaderObjectList
;
38
40
SoClearShaderState
();
41
42
SoEXTENDER public :
43
45
void
GLRender
(SoGLRenderAction* action)
override
;
46
47
SoINTERNAL public :
48
50
static
void
initClass
();
51
52
protected
:
54
~SoClearShaderState
()
override
;
55
};
56
57
#endif
// _SO_CLEAR_SHADER_STATE_
SoShaderSystem.h
INVENTOR_SHADER_API
#define INVENTOR_SHADER_API
Define class export specifier.
Definition
SoShaderSystem.h:20
SoClearShaderState::shaderObjectList
SoSFBool shaderObjectList
Collects all shader parameters.
Definition
SoClearShaderState.h:37
SoClearShaderState::initClass
static void initClass()
Initialize class with runtime type system.
SoClearShaderState::~SoClearShaderState
~SoClearShaderState() override
Destructor.
SoClearShaderState::SoClearShaderState
SoClearShaderState()
Constructor.
SoClearShaderState::shaderParameterList
SoSFBool shaderParameterList
Collects all vertex and fragment shaders.
Definition
SoClearShaderState.h:34
SoClearShaderState::GLRender
void GLRender(SoGLRenderAction *action) override
Implements rendering.
SoGLShaderProgram
Class managing an OpenGL shader program.
Definition
SoGLShaderProgram.h:33
MeVisLab
Standard
Sources
Inventor
SoShader
Inventor
nodes
SoClearShaderState.h
Generated by
1.18.0