MeVisLab Resolution Independence API
Toggle main menu visibility
Loading...
Searching...
No Matches
SoMultiPassFramebufferSamplerElement.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_MULTI_PASS_FRAMEBUFFER_SAMPLER_ELEMENT_H
14
#define SO_MULTI_PASS_FRAMEBUFFER_SAMPLER_ELEMENT_H
15
16
18
19
#include "
SoShaderSystem.h
"
20
#include <Inventor/elements/SoAccumulatedElement.h>
21
#include <Inventor/SoLists.h>
22
23
class
SoMultiPassFramebufferSampler
;
24
26
class
INVENTOR_SHADER_API
SoMultiPassFramebufferSamplerElement
:
public
SoAccumulatedElement
27
{
28
typedef
SoAccumulatedElement inherited;
29
30
SO_ELEMENT_HEADER(
SoMultiPassFramebufferSamplerElement
);
31
32
public
:
34
void
init
(SoState* state)
override
;
35
37
static
void
add
(SoState* state,
SoMultiPassFramebufferSampler
* sampler);
38
40
static
const
SoNodeList&
get
(SoState* state);
41
43
void
push
(SoState* state)
override
;
44
45
SoINTERNAL public :
46
48
static
void
initClass
();
49
50
protected
:
52
SoNodeList
_samplers
;
53
};
54
55
#endif
// _SO_MULTIPASS_FRAMEBUFFER_SAMPLER_ELEMENT_
SoShaderSystem.h
INVENTOR_SHADER_API
#define INVENTOR_SHADER_API
Define class export specifier.
Definition
SoShaderSystem.h:20
SoMultiPassFramebufferSamplerElement
Internal Open Inventor element not meant to be used in SDK.
Definition
SoMultiPassFramebufferSamplerElement.h:27
SoMultiPassFramebufferSamplerElement::push
void push(SoState *state) override
Overrides push() method to copy values from next instance in the stack.
SoMultiPassFramebufferSamplerElement::_samplers
SoNodeList _samplers
List of sampler nodes.
Definition
SoMultiPassFramebufferSamplerElement.h:52
SoMultiPassFramebufferSamplerElement::initClass
static void initClass()
Initialize class with runtime type system.
SoMultiPassFramebufferSamplerElement::add
static void add(SoState *state, SoMultiPassFramebufferSampler *sampler)
Add to sampler list.
SoMultiPassFramebufferSamplerElement::get
static const SoNodeList & get(SoState *state)
Returns the current list of samplers from the state.
SoMultiPassFramebufferSamplerElement::init
void init(SoState *state) override
Initialize element.
SoMultiPassFramebufferSampler
Open Inventor node to accumulate multiple render passes in a sampler.
Definition
SoMultiPassFramebufferSampler.h:31
MeVisLab
Standard
Sources
Inventor
SoShader
Inventor
elements
SoMultiPassFramebufferSamplerElement.h
Generated by
1.18.0