MeVisLab Toolbox Reference
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
32 public:
33
35 void init(SoState *state) override;
36
39
41 static const SoNodeList &get(SoState *state);
42
44 void push(SoState *state) override;
45
46 SoINTERNAL public:
47
49 static void initClass();
50
51 protected:
52
55};
56
57#endif // _SO_MULTIPASS_FRAMEBUFFER_SAMPLER_ELEMENT_
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.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.