25#ifndef _SO_RENDER_TO_TEXTURE_PROPERTY_
26#define _SO_RENDER_TO_TEXTURE_PROPERTY_
28#include <Inventor/nodes/SoNode.h>
29#include <Inventor/fields/SoMFNode.h>
30#include <Inventor/fields/SoSFEnum.h>
31#include <Inventor/fields/SoSFColor.h>
32#include <Inventor/fields/SoMFPath.h>
33#include <Inventor/fields/SoSFVec2s.h>
34#include <Inventor/fields/SoSFTrigger.h>
35#include <Inventor/actions/SoGLRenderAction.h>
36#include <Inventor/sensors/SoFieldSensor.h>
37#include <Inventor/components/SoGLGraphicConfigTemplate.h>
38#include <Inventor/sys/SoGLType.h>
39#include <Inventor/helpers/SbGlContextHelper.h>
41#include <SoDeprecationRules.h>
43#ifndef HIDDEN_FROM_DOC
49 class SoTextureCubeMapImpl;
52 class SoViewingCubeImpl;
141 RGB_ALPHA = RGB_TRANSPARENCY,
242 static void initClass();
243 static void exitClass();
246 virtual void fieldHasChanged(
SoField* field );
247 virtual void notify( SoNotList *list );
260#ifndef HIDDEN_FROM_DOC
263 friend class inventor::impl::SoTextureCubeMapImpl;
265 friend class inventor::impl::SoTextureImpl;
266 friend class inventor::impl::SoTexture2Impl;
267 friend class inventor::impl::SoViewingCubeImpl;
Base class for all fields.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> OpenGL context m...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Defines an OpenG...
Renders a scene graph using Open Inventor's Render Engine.
Multiple-value field containing any number of nodes.
Multiple-value field containing any number of paths.
Abstract base class for all database nodes.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Class for creati...
SoGLRenderAction * getGLRenderAction() const
Returns the render action used for rendering the scene.
UpdatePolicy
Update Policy enumeration values.
@ EACH_FRAME
The texture is updated at each traversal of the shape it is mapped to.
SoSFVec2s size
Size in pixels of the rendered texture.
Component
Rendering component enumeration values.
@ RGB_TRANSPARENCY
The RGB and alpha components are rendered to the texture.
SoSFEnum updatePolicy
Specifies the policy for rendering to the texture.
SoSFEnum component
Specifies the type of component(s) for the rendering.
SoSFColor backgroundColor
Background color used when rendering the scene graph.
SoRenderToTextureProperty()
SoSFTrigger trigger
Trigger field to render the scene into the Pbuffer.
SoDEPRECATED SoGLGraphicConfigTemplate * getGraphicConfigTemplate()
SoDEPRECATED void setContextForSharing(SoGLContext *)
SoMFPath path
Specifies the scene graph(s) (SoPath(s)) to be rendered into the texture.
SoDEPRECATED void setGraphicConfigTemplate(SoGLGraphicConfigTemplate *)
SoMFNode node
Specifies the scene graph(s) (SoNode(s)) to be rendered into the texture.
void setGLRenderAction(SoGLRenderAction *ra)
Specifies a custom render action to use for rendering the scene.
Field containing an RGB color.
Field containing an enumerated value.
Field used to trigger engines or connection networks.
Field containing a two-dimensional vector.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Cube texture map...
Abstract base class for texture mapping nodes.