16#include <Inventor/actions/SoGLRenderAction.h>
38 void render(
const SbViewportRegion& region = SbViewportRegion(), SoNode* scene =
nullptr);
41 virtual void GLRender([[maybe_unused]] SoGLRenderAction* renderAction) {}
44 SoGLRenderAction* _action;
45 SoRef<SoOffscreenViewerProxyNode> _root;
#define MLOFFSCREENRENDER_EXPORT
void render(const SbViewportRegion ®ion=SbViewportRegion(), SoNode *scene=nullptr)
SoGLRenderAction * getRenderAction()
virtual ~SoOffscreenSceneRenderer()
Destructor.
virtual void GLRender(SoGLRenderAction *renderAction)
This method can be reimplemented to implement custom GL rendering or state setup.
SoOffscreenSceneRenderer()
Constructor.
This class implements access to the state of the SoOffscreenRenderer viewer.