MeVisLab Resolution Independence API
Toggle main menu visibility
Loading...
Searching...
No Matches
SoInheritedFramebufferSampler.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_INHERITED_FRAMEBUFFER_SAMPLER_H
14
#define SO_INHERITED_FRAMEBUFFER_SAMPLER_H
15
16
18
19
#include "
SoShaderSystem.h
"
20
#include "
Inventor/nodes/SoSampler2D.h
"
21
#include <Inventor/fields/SoSFUInt32.h>
22
#include <Inventor/SbLinear.h>
23
24
class
SoMultiPassFramebufferSampler
;
25
27
class
INVENTOR_SHADER_API
SoInheritedFramebufferSampler
:
public
SoSampler2D
28
{
29
typedef
SoSampler2D
inherited;
30
31
SO_NODE_HEADER(
SoInheritedFramebufferSampler
);
32
33
public
:
35
SoSFUInt32
id
;
36
38
SoInheritedFramebufferSampler
();
39
40
SoEXTENDER public :
41
43
void
GLRender
(SoGLRenderAction*)
override
;
44
46
void
updateParameter
(
SoUniformParameterBase
*, SoState*)
override
;
47
48
SoINTERNAL public :
49
51
static
void
initClass
();
52
53
protected
:
54
unsigned
int
_curPass
;
55
SoMultiPassFramebufferSampler
*
_rfb
;
56
GLuint
_texHandle
;
57
};
58
59
#endif
// _SO_INHERITED_FRAMEBUFFER_SAMPLER_
SoSampler2D.h
SoShaderSystem.h
INVENTOR_SHADER_API
#define INVENTOR_SHADER_API
Define class export specifier.
Definition
SoShaderSystem.h:20
SoInheritedFramebufferSampler::SoInheritedFramebufferSampler
SoInheritedFramebufferSampler()
Constructor.
SoInheritedFramebufferSampler::id
SoSFUInt32 id
Id that establishes a link to the parent framebuffer node.
Definition
SoInheritedFramebufferSampler.h:35
SoInheritedFramebufferSampler::_curPass
unsigned int _curPass
Definition
SoInheritedFramebufferSampler.h:54
SoInheritedFramebufferSampler::_texHandle
GLuint _texHandle
Definition
SoInheritedFramebufferSampler.h:56
SoInheritedFramebufferSampler::GLRender
void GLRender(SoGLRenderAction *) override
Read state to find out about preceding framebuffer samplers.
SoInheritedFramebufferSampler::_rfb
SoMultiPassFramebufferSampler * _rfb
Definition
SoInheritedFramebufferSampler.h:55
SoInheritedFramebufferSampler::initClass
static void initClass()
Initialize class with runtime type system.
SoInheritedFramebufferSampler::updateParameter
void updateParameter(SoUniformParameterBase *, SoState *) override
Assigns or updates the parameter's value.
SoMultiPassFramebufferSampler
Open Inventor node to accumulate multiple render passes in a sampler.
Definition
SoMultiPassFramebufferSampler.h:31
SoSampler2D::SoSampler2D
SoSampler2D()
Constructor.
SoUniformParameterBase
Base class for uniform shader parameters.
Definition
SoUniformParameterBase.h:30
MeVisLab
Standard
Sources
Inventor
SoShader
Inventor
nodes
SoInheritedFramebufferSampler.h
Generated by
1.18.0