24#ifndef SB_RENDER_ENGINE_MODE_H_
25#define SB_RENDER_ENGINE_MODE_H_
85 m_renderMode = renderMode;
99 m_isChildrenInherited = isChildrenInherited;
105 return m_isChildrenInherited;
128 bool m_isChildrenInherited;
129 static int s_isWarningsEnabled;
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Render engine mo...
RenderMode
Defines the list of supported render mode for a custom node.
@ OIV_OPENINVENTOR_RENDERING
The node uses only Open Inventor calls to perform its rendering (optimal way)
@ OIV_UNKNOWN_RENDERING_MODE
Internally used to detect that a node did not set explicitly its RenderEngineMode by calling setRende...
@ OIV_OPENGL_COMPATIBILITY_RENDERING
The node relies on OpenGL fixed-function pipeline & deprecated features (OpenGL compatibility profile...
@ OIV_OPENGL_CORE_RENDERING
The node uses OpenGL but only shader and modern features (OpenGL 3.3+ core profile)
bool isNotDefined() const
Return true if the RenderMode has not be defined explicilty.
SbRenderEngineMode()
Default Constructor.
void setChildrenInherit(bool isChildrenInherited)
Indicates if any derived node should inherit this RenderMode.
RenderMode getRenderMode() const
Returns the current RenderMode.
static void enableWarnings(bool flag)
Enable or disable RenderEngineMode warning messages.
bool isChildrenInherit() const
Returns true is derived node should inherit this RenderMode.
static void postInitWarning(const char *methodName)
Post a warning related to Open Inventor 10 OpenGL support.
void setRenderMode(RenderMode renderMode)
Set the RenderMode.