MeVisLab Resolution Independence API
Loading...
Searching...
No Matches
SoShaderParameter4f.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_SHADER_PARAMETER4F_H
14#define SO_SHADER_PARAMETER4F_H
15
16
18
19#include "SoShaderSystem.h"
21#include <Inventor/fields/SoSFVec4f.h>
22
25{
26 typedef SoUniformShaderParameter inherited;
27
28 SO_NODE_HEADER(SoShaderParameter4f);
29
30public:
32 SoSFVec4f value;
33
36
37SoINTERNAL public :
38
40 static void initClass();
41
43 void updateParameter(SoUniformParameterBase* uniformBase, SoState* state) override;
44};
45
46#endif // _SO_SHADER_PARAMETER_4F_
#define INVENTOR_SHADER_API
Define class export specifier.
static void initClass()
Initialize class with runtime type system.
SoShaderParameter4f()
Constructor.
void updateParameter(SoUniformParameterBase *uniformBase, SoState *state) override
Assigns or updates the parameter's value.
SoSFVec4f value
The parameter's value.
Base class for uniform shader parameters.
SoUniformShaderParameter()
Constructor.