MeVisLab Resolution Independence API
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
24
27{
28 typedef SoAccumulatedElement inherited;
29
30 SO_ELEMENT_HEADER(SoMultiPassFramebufferSamplerElement);
31
32public:
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
45SoINTERNAL public :
46
48 static void initClass();
49
50protected:
52 SoNodeList _samplers;
53};
54
55#endif // _SO_MULTIPASS_FRAMEBUFFER_SAMPLER_ELEMENT_
#define INVENTOR_SHADER_API
Define class export specifier.
Internal Open Inventor element not meant to be used in SDK.
void push(SoState *state) override
Overrides push() method to copy values from next instance in the stack.
static void initClass()
Initialize class with runtime type system.
static void add(SoState *state, SoMultiPassFramebufferSampler *sampler)
Add to sampler list.
static const SoNodeList & get(SoState *state)
Returns the current list of samplers from the state.
void init(SoState *state) override
Initialize element.
Open Inventor node to accumulate multiple render passes in a sampler.