MeVisLabToolboxReference
MeVisLab/Standard/Sources/Inventor/SoShader/Inventor/elements/SoMultiPassFramebufferSamplerElement.h
Go to the documentation of this file.
00001 // **InsertLicense** code
00002 
00006 
00007 
00008 #ifndef  _SO_MULTIPASS_FRAMEBUFFER_SAMPLER_ELEMENT_
00009 #define  _SO_MULTIPASS_FRAMEBUFFER_SAMPLER_ELEMENT_
00010 
00011 #include "SoShaderSystem.h"
00012 #include <Inventor/elements/SoAccumulatedElement.h>
00013 #include <Inventor/SoLists.h>
00014 
00015 class SoMultiPassFramebufferSampler;
00016 
00018 class INVENTOR_SHADER_API SoMultiPassFramebufferSamplerElement : public SoAccumulatedElement
00019 {
00020    typedef SoAccumulatedElement inherited;
00021 
00022    SO_ELEMENT_HEADER(SoMultiPassFramebufferSamplerElement);
00023   
00024    public:
00025 
00027       virtual void init(SoState *state);
00028   
00030       static  void add(SoState *state, SoMultiPassFramebufferSampler *sampler);
00031 
00033       static  const SoNodeList &get(SoState *state);
00034 
00036       virtual void push(SoState *state);
00037 
00038    SoINTERNAL public:
00039   
00041       static void initClass();
00042   
00043    protected:
00044 
00046       SoNodeList  _samplers;
00047 };
00048 
00049 #endif  // _SO_MULTIPASS_FRAMEBUFFER_SAMPLER_ELEMENT_