13#ifndef SO_FRAMEBUFFER_SAMPLER2_D_H
14#define SO_FRAMEBUFFER_SAMPLER2_D_H
19#include "SoShaderSystem.h"
21#include <Inventor/fields/SoSFVec2s.h>
22#include <Inventor/fields/SoSFInt32.h>
23#include <Inventor/fields/SoSFEnum.h>
Open Inventor sampler node that gets it's 2D image from a framebuffer object.
@ MULTISAMPLING_ON
No multi sampling.
SoFramebufferSampler2D()
Constructor.
SoGLFramebufferObject * _msaaFBO
void updatePreparation(SoState *state) override
Render children to framebuffer object.
static void initClass()
Initialize class with runtime type system.
SoGLRenderbuffer * _msaaColorBuffer
~SoFramebufferSampler2D() override
Destructor.
void updateParameter(SoUniformParameterBase *, SoState *) override
Update sampler uniform to inform shader about fbo texture.
MultiSamplingMode _msaaMode
void renderDebug(SoState *state)
SoGLRenderbuffer * _msaaDepthBuffer
SoSFEnum multiSamplingMode
SoSFVec2s size
Texture size. Default is 64 x 64.
Abstract Open Inventor base class for sampler nodes based on a framebuffer object.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.