MeVisLab Resolution Independence API
Loading...
Searching...
No Matches
SoFramebufferSampler3D.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_FRAMEBUFFER_SAMPLER3_D_H
14#define SO_FRAMEBUFFER_SAMPLER3_D_H
15
16
18
19#include "SoShaderSystem.h"
21#include <Inventor/fields/SoSFVec3s.h>
22
25{
26 typedef SoFramebufferSampler inherited;
27
28 SO_NODE_HEADER(SoFramebufferSampler3D);
29
30public:
32 SoSFVec3s size;
33
35 SoSFEnum wrapR;
36
39
40protected:
41 SbVec3s _fldValSize;
42 SbVec3s _size;
43
46
47SoEXTENDER public :
48
50 void updatePreparation(SoState* state) override;
51
53 void updateParameter(SoUniformParameterBase*, SoState*) override;
54
55SoINTERNAL public :
56
58 static void initClass();
59};
60
61#endif // _SO_FRAMEBUFFER_SAMPLER_3D_
#define INVENTOR_SHADER_API
Define class export specifier.
void updatePreparation(SoState *state) override
Render children to framebuffer object.
SoSFEnum wrapR
Wrapping mode.
~SoFramebufferSampler3D() override
Destructor.
SoSFVec3s size
Texture size. Default is 64 x 64 x 64.
static void initClass()
Initialize class with runtime type system.
void updateParameter(SoUniformParameterBase *, SoState *) override
Update sampler uniform to inform shader about fbo texture.
SoFramebufferSampler3D()
Constructor.
SoFramebufferSampler()
Constructor.
Base class for uniform shader parameters.