23#ifndef _SO_GL_GRAPHIC_CONFIG_TEMPLATE_H_
24#define _SO_GL_GRAPHIC_CONFIG_TEMPLATE_H_
26#include <Inventor/components/SoGraphicConfigTemplate.h>
28class SoGLGraphicConfigTemplateSync;
131 int maxBits = INT_MAX);
159 int minGreenBits = 0,
161 int minAlphaBits = 0,
162 int maxRedBits = INT_MAX,
163 int maxGreenBits = INT_MAX,
164 int maxBlueBits = INT_MAX,
165 int maxAlphaBits = INT_MAX);
179 int &maxAlphaBits)
const;
193 int minFloatRedBits = 15,
194 int minFloatGreenBits = 15,
195 int minFloatBlueBits = 15,
196 int minFloatAlphaBits = 15,
197 int maxFloatRedBits = 16,
198 int maxFloatGreenBits = 16,
199 int maxFloatBlueBits = 16,
200 int maxFloatAlphaBits = 16);
207 int &minFloatGreenBits,
208 int &minFloatBlueBits,
209 int &minFloatAlphaBits,
210 int &maxFloatRedBits,
211 int &maxFloatGreenBits,
212 int &maxFloatBlueBits,
213 int &maxFloatAlphaBits)
const;
227 int minGreenBits = 0,
229 int minAlphaBits = 0,
230 int maxRedBits = INT_MAX,
231 int maxGreenBits = INT_MAX,
232 int maxBlueBits = INT_MAX,
233 int maxAlphaBits = INT_MAX);
247 int &maxAlphaBits)
const;
259 int maxBits = INT_MAX);
282 int maxFsaaBits = INT_MAX );
290 int &maxFsaaBits)
const;
294 SoGLGraphicConfigTemplateSync* getSynchronizer()
const;
295 void setSynchronizer( SoGLGraphicConfigTemplateSync* );
305 SoGLGraphicConfigTemplateSync* m_synchronizer;
309inline SoGLGraphicConfigTemplateSync*
310SoGLGraphicConfigTemplate::getSynchronizer()
const
312 return m_synchronizer;
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Defines an OpenG...
SoGraphicConfigTemplate::Preference getFullSceneAntialiasing(int &minFsaaBits, int &maxFsaaBits) const
Returns the full-scene antialiasing preference and number of samples.
void setFullSceneAntialiasing(SoGraphicConfigTemplate::Preference pref, int minFsaaBits=0, int maxFsaaBits=INT_MAX)
Sets the full-scene antialiasing preferences.
void setStereoBuffer(SoGraphicConfigTemplate::Preference pref)
Sets the stereo buffer mode preference.
void setRGBAColor(SoGraphicConfigTemplate::Preference pref, int minRedBits=0, int minGreenBits=0, int minBlueBits=0, int minAlphaBits=0, int maxRedBits=INT_MAX, int maxGreenBits=INT_MAX, int maxBlueBits=INT_MAX, int maxAlphaBits=INT_MAX)
Sets the color preferences.
SoGraphicConfigTemplate::Preference getFloatRGBAColor(int &minFloatRedBits, int &minFloatGreenBits, int &minFloatBlueBits, int &minFloatAlphaBits, int &maxFloatRedBits, int &maxFloatGreenBits, int &maxFloatBlueBits, int &maxFloatAlphaBits) const
Returns the float color preferences.
SoGLGraphicConfigTemplate()
Constructor.
SbBool isFloatRGBAColor() const
Returns TRUE if floating point RGBA is used.
SoGraphicConfigTemplate::Preference getStereoBuffer() const
Returns the stereo buffer preference.
SoGraphicConfigTemplate::Preference getDepth(int &minBits, int &maxBits) const
Returns the depth buffer preference and sizes.
SoGraphicConfigTemplate::Preference getRGBAColor(int &minRedBits, int &minGreenBits, int &minBlueBits, int &minAlphaBits, int &maxRedBits, int &maxGreenBits, int &maxBlueBits, int &maxAlphaBits) const
Returns the color preferences.
void setAccelerated(SoGraphicConfigTemplate::Preference pref)
Sets the graphics acceleration preference.
void setFloatRGBAColor(SoGraphicConfigTemplate::Preference pref, int minFloatRedBits=15, int minFloatGreenBits=15, int minFloatBlueBits=15, int minFloatAlphaBits=15, int maxFloatRedBits=16, int maxFloatGreenBits=16, int maxFloatBlueBits=16, int maxFloatAlphaBits=16)
Sets the float color preferences.
void setDepth(SoGraphicConfigTemplate::Preference pref, int minBits=0, int maxBits=INT_MAX)
Sets the depth buffer preferences.
virtual ~SoGLGraphicConfigTemplate()
Destructor.
SoGraphicConfigTemplate::Preference getAccelerated() const
Returns the graphics acceleration preference.
void setAccum(SoGraphicConfigTemplate::Preference pref, int minRedBits=0, int minGreenBits=0, int minBlueBits=0, int minAlphaBits=0, int maxRedBits=INT_MAX, int maxGreenBits=INT_MAX, int maxBlueBits=INT_MAX, int maxAlphaBits=INT_MAX)
Sets the accumulation preferences.
SoGraphicConfigTemplate::Preference getStencil(int &minBits, int &maxBits) const
Returns the stencil preferences.
SoGraphicConfigTemplate::Preference getAccum(int &minRedBits, int &minGreenBits, int &minBlueBits, int &minAlphaBits, int &maxRedBits, int &maxGreenBits, int &maxBlueBits, int &maxAlphaBits) const
Returns the accumulation buffer preferences.
void setDoubleBuffer(SoGraphicConfigTemplate::Preference pref)
Sets the double buffer mode preference.
void setStencil(SoGraphicConfigTemplate::Preference pref, int minBits=0, int maxBits=INT_MAX)
Sets the stencil preferences.
SoGraphicConfigTemplate::Preference getDoubleBuffer() const
Returns the double buffer mode preference.
virtual SbBool isGraphicsConfigSupported(SoGraphicConfig &graphicConfig) const
Indicates if the graphics configuration graphicConfig fits this template.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
Preference
Priority requirement.