MeVisLab Toolbox Reference
SoShaderParameter1i.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_PARAMETER1I_H
14#define SO_SHADER_PARAMETER1I_H
15
16
18
19#include "SoShaderSystem.h"
21#include <Inventor/fields/SoSFInt32.h>
22
25{
27
28 SO_NODE_HEADER(SoShaderParameter1i);
29
30 public:
31
34
37
38 SoINTERNAL public:
39
41 static void initClass();
42
45};
46
47#endif // _SO_SHADER_PARAMETER_1I_
Open Inventor uniform shader parameter node that defines one integer parameter.
static void initClass()
Initialize class with runtime type system.
SoSFInt32 value
The parameter's value.
void updateParameter(SoUniformParameterBase *uniformBase, SoState *state) override
Assigns or updates the parameter's value.
SoShaderParameter1i()
Constructor.
Base class for uniform shader parameters.
Abstract Open Inventor base class for uniform shader parameter nodes.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.