Files
OpenSceneGraph/doc/doc++/osg/StateSet.html
2003-04-17 16:22:51 +00:00

729 lines
44 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>class SG_EXPORT osg::StateSet</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>class SG_EXPORT <A HREF="#DOC.DOCU">osg::StateSet</A></H2></H2><BLOCKQUOTE> Encapsulates OpenGL state modes and attributes.</BLOCKQUOTE>
<HR>
<H2>Inheritance:</H2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=95>
<param name=classes value="CReferenced,MReferenced.html,CObject,MObject.html,CStateSet,MStateSet.html">
<param name=before value="M,M,M">
<param name=after value="Md_SP,Md_,M">
<param name=indent value="0,1,2">
<param name=arrowdir value="down">
</APPLET>
<HR>
<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.176.1">StateSet</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.176.2">StateSet</A></B>(const <!1><A HREF="StateSet.html#DOC.2.176.2">StateSet</A>&amp;, const <!1><A HREF="CopyOp.html">CopyOp</A>&amp; copyop=CopyOp::SHALLOW_COPY)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <!1><A HREF="Object.html">Object</A>* <B><A HREF="#DOC.2.176.3">cloneType</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <!1><A HREF="Object.html">Object</A>* <B><A HREF="#DOC.2.176.4">clone</A></B>(const <!1><A HREF="CopyOp.html">CopyOp</A>&amp; copyop) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.176.5">isSameKindAs</A></B>(const <!1><A HREF="Object.html">Object</A>* obj) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.2.176.6">libraryName</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.2.176.7">className</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.176.8">compare</A></B>(const <!1><A HREF="StateSet.html">StateSet</A>&amp; rhs, bool <!1><A HREF="StateSet.html#DOC.2.176.69">compareAttributeContents</A>=false) const
<DD><I>return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.176.9">operator < </A></B>(const <!1><A HREF="StateSet.html">StateSet</A>&amp; rhs) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.176.10">operator == </A></B>(const <!1><A HREF="StateSet.html">StateSet</A>&amp; rhs) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.176.11">operator != </A></B>(const <!1><A HREF="StateSet.html">StateSet</A>&amp; rhs) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.176.12">setGlobalDefaults</A></B>()
<DD><I>set all the modes to on or off so that it defines a complete state, typically used for a default global state</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.176.13">setAllToInherit</A></B>()
<DD><I>set all the modes to inherit, typically used to signify nodes which inherit all of their modes for the global state</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.176.14">merge</A></B>(const <!1><A HREF="StateSet.html">StateSet</A>&amp; rhs)
<DD><I>merge this stateset with stateset rhs, this overrides the rhs if OVERRIDE is specified, otherwise rhs takes precedence</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.176.16">setMode</A></B>(StateAttribute::GLMode mode, StateAttribute::GLModeValue value)
<DD><I>set this StateSet to contain specified GLMode and value</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.176.17">setModeToInherit</A></B>(StateAttribute::GLMode mode)
<DD><I>set this StateSet to inherit specified GLMode type from parents.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>StateAttribute::GLModeValue <B><A HREF="#DOC.2.176.18">getMode</A></B>(StateAttribute::GLMode mode) const
<DD><I>get specified GLModeValue for specified GLMode.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="StateSet.html#DOC.2.176.15">ModeList</A>&amp; <B><A HREF="#DOC.2.176.19">getModeList</A></B>()
<DD><I>return the list of all GLModes contained in this StateSet</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="StateSet.html#DOC.2.176.15">ModeList</A>&amp; <B><A HREF="#DOC.2.176.20">getModeList</A></B>() const
<DD><I>return the const list of all GLModes contained in this const StateSet</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.176.23">setAttribute</A></B>(<!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, StateAttribute::OverrideValue value=StateAttribute::OFF)
<DD><I>set this StateSet to contain specified attribute and override flag</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.176.24">setAttributeAndModes</A></B>(<!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, StateAttribute::GLModeValue value=StateAttribute::ON)
<DD><I>set this StateSet to contain specified attribute and set the associated GLMode's to specified value</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.176.25">setAttributeToInherit</A></B>(StateAttribute::Type type)
<DD><I>set this StateSet to inherit specified attribute type from parents.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="StateAttribute.html">StateAttribute</A>* <B><A HREF="#DOC.2.176.26">getAttribute</A></B>(StateAttribute::Type type)
<DD><I>get specified StateAttribute for specified type.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="StateAttribute.html">StateAttribute</A>* <B><A HREF="#DOC.2.176.27">getAttribute</A></B>(StateAttribute::Type type) const
<DD><I>get specified const StateAttribute for specified type.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="StateSet.html#DOC.2.176.21">RefAttributePair</A>* <B><A HREF="#DOC.2.176.28">getAttributePair</A></B>(StateAttribute::Type type) const
<DD><I>get specified RefAttributePair for specified type.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="StateSet.html#DOC.2.176.22">AttributeList</A>&amp; <B><A HREF="#DOC.2.176.29">getAttributeList</A></B>()
<DD><I>return the list of all StateAttributes contained in this StateSet</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="StateSet.html#DOC.2.176.22">AttributeList</A>&amp; <B><A HREF="#DOC.2.176.30">getAttributeList</A></B>() const
<DD><I>return the const list of all StateAttributes contained in this const StateSet</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.176.32">setTextureMode</A></B>(unsigned int unit, StateAttribute::GLMode mode, StateAttribute::GLModeValue value)
<DD><I>set this StateSet to contain specified GLMode and value</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.176.33">setTextureModeToInherit</A></B>(unsigned int unit, StateAttribute::GLMode mode)
<DD><I>set this StateSet to inherit specified GLMode type from parents.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>StateAttribute::GLModeValue <B><A HREF="#DOC.2.176.34">getTextureMode</A></B>(unsigned int unit, StateAttribute::GLMode mode) const
<DD><I>get specified GLModeValue for specified GLMode.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="StateSet.html#DOC.2.176.31">TextureModeList</A>&amp; <B><A HREF="#DOC.2.176.35">getTextureModeList</A></B>()
<DD><I>return the list of all Texture related GLModes contained in this StateSet</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="StateSet.html#DOC.2.176.31">TextureModeList</A>&amp; <B><A HREF="#DOC.2.176.36">getTextureModeList</A></B>() const
<DD><I>return the const list of all Texture related GLModes contained in this const StateSet</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.176.38">setTextureAttribute</A></B>(unsigned int unit, <!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, StateAttribute::OverrideValue value=StateAttribute::OFF)
<DD><I>set this StateSet to contain specified attribute and override flag</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.176.39">setTextureAttributeAndModes</A></B>(unsigned int unit, <!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, StateAttribute::GLModeValue value=StateAttribute::ON)
<DD><I>set this StateSet to contain specified attribute and set the associated GLMode's to specified value</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.176.40">setTextureAttributeToInherit</A></B>(unsigned int unit, StateAttribute::Type type)
<DD><I>set this StateSet to inherit specified attribute type from parents.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="StateAttribute.html">StateAttribute</A>* <B><A HREF="#DOC.2.176.41">getTextureAttribute</A></B>(unsigned int unit, StateAttribute::Type type)
<DD><I>get specified Texture related StateAttribute for specified type.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="StateAttribute.html">StateAttribute</A>* <B><A HREF="#DOC.2.176.42">getTextureAttribute</A></B>(unsigned int unit, StateAttribute::Type type) const
<DD><I>get specified Texture related const StateAttribute for specified type.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="StateSet.html#DOC.2.176.21">RefAttributePair</A>* <B><A HREF="#DOC.2.176.43">getTextureAttributePair</A></B>(unsigned int unit, StateAttribute::Type type) const
<DD><I>get specified Texture related RefAttributePair for specified type.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="StateSet.html#DOC.2.176.37">TextureAttributeList</A>&amp; <B><A HREF="#DOC.2.176.44">getTextureAttributeList</A></B>()
<DD><I>return the list of all Texture related StateAttributes contained in this StateSet</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="StateSet.html#DOC.2.176.37">TextureAttributeList</A>&amp; <B><A HREF="#DOC.2.176.45">getTextureAttributeList</A></B>() const
<DD><I>return the const list of all Texture related StateAttributes contained in this const StateSet</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.176.46">setAssociatedModes</A></B>(const <!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, StateAttribute::GLModeValue value)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.176.47">setAssociatedTextureModes</A></B>(unsigned int unit, const <!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, StateAttribute::GLModeValue value)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.176.49">setRenderingHint</A></B>(int hint)
<DD><I>set the RenderingHint of the StateSet.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline int <B><A HREF="#DOC.2.176.50">getRenderingHint</A></B>() const
<DD><I>get the RenderingHint of the StateSet</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.176.52">setRenderBinDetails</A></B>(int binNum, const std::string&amp; binName, <!1><A HREF="StateSet.html#DOC.2.176.51">RenderBinMode</A> mode=<!1><A HREF="StateSet.html#DOC.2.176.51.2">USE_RENDERBIN_DETAILS</A>)
<DD><I>set the render bin details</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.176.53">setRenderBinToInherit</A></B>()
<DD><I>set the render bin details to inherit</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="StateSet.html#DOC.2.176.51">RenderBinMode</A> <B><A HREF="#DOC.2.176.54">getRenderBinMode</A></B>() const
<DD><I>get the render bin mode</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline bool <B><A HREF="#DOC.2.176.55">useRenderBinDetails</A></B>() const
<DD><I>get whether the render bin details are set and should be used</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline int <B><A HREF="#DOC.2.176.56">getBinNumber</A></B>() const
<DD><I>get the render bin number</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const std::string&amp; <B><A HREF="#DOC.2.176.57">getBinName</A></B>() const
<DD><I>get the render bin name</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.176.58">compile</A></B>(<!1><A HREF="State.html">State</A>&amp; state) const
<DD><I>call compile on all StateAttributes contained within this StateSet</I>
</DL></P>
<P><DL>
<DT><H3>Public Members</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::map&lt;StateAttribute::GLMode,StateAttribute::GLModeValue&gt; <B><A HREF="#DOC.2.176.15">ModeList</A></B>
<DD><I>a container to map GLModes to their respective GLModeValues</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::pair&lt;<!1><A HREF="ref_ptr.html">ref_ptr</A>&lt;<!1><A HREF="StateAttribute.html">StateAttribute</A>&gt;,StateAttribute::OverrideValue&gt; <B><A HREF="#DOC.2.176.21">RefAttributePair</A></B>
<DD><I>simple pairing between an attribute and its override flag</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::map&lt;StateAttribute::Type,<!1><A HREF="StateSet.html#DOC.2.176.21">RefAttributePair</A>&gt; <B><A HREF="#DOC.2.176.22">AttributeList</A></B>
<DD><I>a container to map StateAttribyte::Types to their respective RefAttributePair</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::vector&lt;<!1><A HREF="StateSet.html#DOC.2.176.15">ModeList</A>&gt; <B><A HREF="#DOC.2.176.31">TextureModeList</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::vector&lt;<!1><A HREF="StateSet.html#DOC.2.176.22">AttributeList</A>&gt; <B><A HREF="#DOC.2.176.37">TextureAttributeList</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.2.176.48">RenderingHint</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.2.176.51">RenderBinMode</A></B>
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="StateSet.html#DOC.2.176.15">ModeList</A> <B><A HREF="#DOC.2.176.61">_modeList</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="StateSet.html#DOC.2.176.22">AttributeList</A> <B><A HREF="#DOC.2.176.62">_attributeList</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="StateSet.html#DOC.2.176.31">TextureModeList</A> <B><A HREF="#DOC.2.176.63">_textureModeList</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="StateSet.html#DOC.2.176.37">TextureAttributeList</A> <B><A HREF="#DOC.2.176.64">_textureAttributeList</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.176.78">_renderingHint</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="StateSet.html#DOC.2.176.51">RenderBinMode</A> <B><A HREF="#DOC.2.176.79">_binMode</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.176.80">_binNum</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>std::string <B><A HREF="#DOC.2.176.81">_binName</A></B>
</DL></P>
<P><DL>
<DT><H3>Protected Methods</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.2.176.59">~StateSet</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="StateSet.html">StateSet</A>&amp; <B><A HREF="#DOC.2.176.60">operator = </A></B>(const <!1><A HREF="StateSet.html">StateSet</A>&amp;)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="StateSet.html#DOC.2.176.15">ModeList</A>&amp; <B><A HREF="#DOC.2.176.65">getOrCreateTextureModeList</A></B>(unsigned int unit)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="StateSet.html#DOC.2.176.22">AttributeList</A>&amp; <B><A HREF="#DOC.2.176.66">getOrCreateTextureAttributeList</A></B>(unsigned int unit)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.176.67">compareModes</A></B>(const <!1><A HREF="StateSet.html#DOC.2.176.15">ModeList</A>&amp; lhs, const <!1><A HREF="StateSet.html#DOC.2.176.15">ModeList</A>&amp; rhs)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.176.68">compareAttributePtrs</A></B>(const <!1><A HREF="StateSet.html#DOC.2.176.22">AttributeList</A>&amp; lhs, const <!1><A HREF="StateSet.html#DOC.2.176.22">AttributeList</A>&amp; rhs)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.176.69">compareAttributeContents</A></B>(const <!1><A HREF="StateSet.html#DOC.2.176.22">AttributeList</A>&amp; lhs, const <!1><A HREF="StateSet.html#DOC.2.176.22">AttributeList</A>&amp; rhs)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.176.70">setMode</A></B>(<!1><A HREF="StateSet.html#DOC.2.176.15">ModeList</A>&amp; modeList, StateAttribute::GLMode mode, StateAttribute::GLModeValue value)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.176.71">setModeToInherit</A></B>(<!1><A HREF="StateSet.html#DOC.2.176.15">ModeList</A>&amp; modeList, StateAttribute::GLMode mode)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>StateAttribute::GLModeValue <B><A HREF="#DOC.2.176.72">getMode</A></B>(const <!1><A HREF="StateSet.html#DOC.2.176.15">ModeList</A>&amp; modeList, StateAttribute::GLMode mode) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.176.73">setAssociatedModes</A></B>(<!1><A HREF="StateSet.html#DOC.2.176.15">ModeList</A>&amp; modeList, const <!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, StateAttribute::GLModeValue value)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.176.74">setAttribute</A></B>(<!1><A HREF="StateSet.html#DOC.2.176.22">AttributeList</A>&amp; attributeList, <!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="StateAttribute.html">StateAttribute</A>* <B><A HREF="#DOC.2.176.75">getAttribute</A></B>(<!1><A HREF="StateSet.html#DOC.2.176.22">AttributeList</A>&amp; attributeList, const StateAttribute::Type type)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="StateAttribute.html">StateAttribute</A>* <B><A HREF="#DOC.2.176.76">getAttribute</A></B>(const <!1><A HREF="StateSet.html#DOC.2.176.22">AttributeList</A>&amp; attributeList, const StateAttribute::Type type) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="StateSet.html#DOC.2.176.21">RefAttributePair</A>* <B><A HREF="#DOC.2.176.77">getAttributePair</A></B>(const <!1><A HREF="StateSet.html#DOC.2.176.22">AttributeList</A>&amp; attributeList, const StateAttribute::Type type) const
</DL></P>
</DL>
<HR><H3>Inherited from <A HREF="Object.html">Object</A>:</H3>
<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>inline void <B>setDataVariance</B>(<!1><A HREF="Object.html#DOC.2.117.8">DataVariance</A> dv)
<DT>
<IMG ALT="o" SRC=icon2.gif>inline <!1><A HREF="Object.html#DOC.2.117.8">DataVariance</A> <B>getDataVariance</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>inline void <B>setUserData</B>(<!1><A HREF="Referenced.html">Referenced</A>* obj)
<DT>
<IMG ALT="o" SRC=icon2.gif>inline <!1><A HREF="Referenced.html">Referenced</A>* <B>getUserData</B>()
<DT>
<IMG ALT="o" SRC=icon2.gif>inline const <!1><A HREF="Referenced.html">Referenced</A>* <B>getUserData</B>() const
</DL></P>
<P><DL>
<DT><H3>Public Members</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>enum <B>DataVariance</B>
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Object.html#DOC.2.117.8">DataVariance</A> <B>_dataVariance</B>
<DT>
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="ref_ptr.html">ref_ptr</A>&lt;<!1><A HREF="Referenced.html">Referenced</A>&gt; <B>_userData</B>
</DL></P>
</DL>
<HR><H3>Inherited from <A HREF="Referenced.html">Referenced</A>:</H3>
<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>static void <B>setDeleteHandler</B>(<!1><A HREF="DeleteHandler.html">DeleteHandler</A>* handler)
<DT>
<IMG ALT="o" SRC=icon2.gif>static <!1><A HREF="DeleteHandler.html">DeleteHandler</A>* <B>getDeleteHandler</B>()
<DT>
<IMG ALT="o" SRC=icon2.gif>inline void <B>ref</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>inline void <B>unref_nodelete</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>inline int <B>referenceCount</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>inline void <B>unref</B>() const
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>mutable int <B>_refCount</B>
</DL></P>
</DL>
<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE>
Encapsulates OpenGL state modes and attributes.
Used to specific textures etc of osg::Drawable's which hold references
to a single osg::StateSet. StateSet can be shared between Drawable's
and is recommend if possible as it minimize expensive state changes
in the graphics pipeline.</BLOCKQUOTE>
<DL>
<A NAME="StateSet"></A>
<A NAME="DOC.2.176.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> StateSet()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="StateSet"></A>
<A NAME="DOC.2.176.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> StateSet(const <!1><A HREF="StateSet.html#DOC.2.176.2">StateSet</A>&amp;, const <!1><A HREF="CopyOp.html">CopyOp</A>&amp; copyop=CopyOp::SHALLOW_COPY)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="cloneType"></A>
<A NAME="DOC.2.176.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual <!1><A HREF="Object.html">Object</A>* cloneType() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="clone"></A>
<A NAME="DOC.2.176.4"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual <!1><A HREF="Object.html">Object</A>* clone(const <!1><A HREF="CopyOp.html">CopyOp</A>&amp; copyop) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="isSameKindAs"></A>
<A NAME="DOC.2.176.5"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool isSameKindAs(const <!1><A HREF="Object.html">Object</A>* obj) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="libraryName"></A>
<A NAME="DOC.2.176.6"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual const char* libraryName() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="className"></A>
<A NAME="DOC.2.176.7"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual const char* className() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="compare"></A>
<A NAME="DOC.2.176.8"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int compare(const <!1><A HREF="StateSet.html">StateSet</A>&amp; rhs, bool <!1><A HREF="StateSet.html#DOC.2.176.69">compareAttributeContents</A>=false) const </B></TT>
<DD>return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
<DL><DT><DD></DL><P>
<A NAME="operator < "></A>
<A NAME="DOC.2.176.9"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool operator < (const <!1><A HREF="StateSet.html">StateSet</A>&amp; rhs) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="operator == "></A>
<A NAME="DOC.2.176.10"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool operator == (const <!1><A HREF="StateSet.html">StateSet</A>&amp; rhs) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="operator != "></A>
<A NAME="DOC.2.176.11"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool operator != (const <!1><A HREF="StateSet.html">StateSet</A>&amp; rhs) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="setGlobalDefaults"></A>
<A NAME="DOC.2.176.12"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setGlobalDefaults()</B></TT>
<DD>set all the modes to on or off so that it defines a
complete state, typically used for a default global state
<DL><DT><DD></DL><P>
<A NAME="setAllToInherit"></A>
<A NAME="DOC.2.176.13"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setAllToInherit()</B></TT>
<DD>set all the modes to inherit, typically used to signify
nodes which inherit all of their modes for the global state
<DL><DT><DD></DL><P>
<A NAME="merge"></A>
<A NAME="DOC.2.176.14"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void merge(const <!1><A HREF="StateSet.html">StateSet</A>&amp; rhs)</B></TT>
<DD>merge this stateset with stateset rhs, this overrides
the rhs if OVERRIDE is specified, otherwise rhs takes precedence
<DL><DT><DD></DL><P>
<A NAME="ModeList"></A>
<A NAME="DOC.2.176.15"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::map&lt;StateAttribute::GLMode,StateAttribute::GLModeValue&gt; ModeList</B></TT>
<DD>a container to map GLModes to their respective GLModeValues
<DL><DT><DD></DL><P>
<A NAME="setMode"></A>
<A NAME="DOC.2.176.16"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setMode(StateAttribute::GLMode mode, StateAttribute::GLModeValue value)</B></TT>
<DD>set this StateSet to contain specified GLMode and value
<DL><DT><DD></DL><P>
<A NAME="setModeToInherit"></A>
<A NAME="DOC.2.176.17"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setModeToInherit(StateAttribute::GLMode mode)</B></TT>
<DD>set this StateSet to inherit specified GLMode type from parents.
has the effect of deleting any GlMode of specified type from StateSet.
<DL><DT><DD></DL><P>
<A NAME="getMode"></A>
<A NAME="DOC.2.176.18"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>StateAttribute::GLModeValue getMode(StateAttribute::GLMode mode) const </B></TT>
<DD>get specified GLModeValue for specified GLMode.
returns INHERIT if no GLModeValue is contained within StateSet.
<DL><DT><DD></DL><P>
<A NAME="getModeList"></A>
<A NAME="DOC.2.176.19"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="StateSet.html#DOC.2.176.15">ModeList</A>&amp; getModeList()</B></TT>
<DD>return the list of all GLModes contained in this StateSet
<DL><DT><DD></DL><P>
<A NAME="getModeList"></A>
<A NAME="DOC.2.176.20"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="StateSet.html#DOC.2.176.15">ModeList</A>&amp; getModeList() const </B></TT>
<DD>return the const list of all GLModes contained in this const StateSet
<DL><DT><DD></DL><P>
<A NAME="RefAttributePair"></A>
<A NAME="DOC.2.176.21"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::pair&lt;<!1><A HREF="ref_ptr.html">ref_ptr</A>&lt;<!1><A HREF="StateAttribute.html">StateAttribute</A>&gt;,StateAttribute::OverrideValue&gt; RefAttributePair</B></TT>
<DD>simple pairing between an attribute and its override flag
<DL><DT><DD></DL><P>
<A NAME="AttributeList"></A>
<A NAME="DOC.2.176.22"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::map&lt;StateAttribute::Type,<!1><A HREF="StateSet.html#DOC.2.176.21">RefAttributePair</A>&gt; AttributeList</B></TT>
<DD>a container to map StateAttribyte::Types to their respective RefAttributePair
<DL><DT><DD></DL><P>
<A NAME="setAttribute"></A>
<A NAME="DOC.2.176.23"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setAttribute(<!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, StateAttribute::OverrideValue value=StateAttribute::OFF)</B></TT>
<DD>set this StateSet to contain specified attribute and override flag
<DL><DT><DD></DL><P>
<A NAME="setAttributeAndModes"></A>
<A NAME="DOC.2.176.24"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setAttributeAndModes(<!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, StateAttribute::GLModeValue value=StateAttribute::ON)</B></TT>
<DD>set this StateSet to contain specified attribute and set the associated GLMode's to specified value
<DL><DT><DD></DL><P>
<A NAME="setAttributeToInherit"></A>
<A NAME="DOC.2.176.25"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setAttributeToInherit(StateAttribute::Type type)</B></TT>
<DD>set this StateSet to inherit specified attribute type from parents.
has the effect of deleting any state attributes of specified type from StateSet.
<DL><DT><DD></DL><P>
<A NAME="getAttribute"></A>
<A NAME="DOC.2.176.26"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="StateAttribute.html">StateAttribute</A>* getAttribute(StateAttribute::Type type)</B></TT>
<DD>get specified StateAttribute for specified type.
returns NULL if no type is contained within StateSet.
<DL><DT><DD></DL><P>
<A NAME="getAttribute"></A>
<A NAME="DOC.2.176.27"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="StateAttribute.html">StateAttribute</A>* getAttribute(StateAttribute::Type type) const </B></TT>
<DD>get specified const StateAttribute for specified type.
returns NULL if no type is contained within const StateSet.
<DL><DT><DD></DL><P>
<A NAME="getAttributePair"></A>
<A NAME="DOC.2.176.28"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="StateSet.html#DOC.2.176.21">RefAttributePair</A>* getAttributePair(StateAttribute::Type type) const </B></TT>
<DD>get specified RefAttributePair for specified type.
returns NULL if no type is contained within StateSet.
<DL><DT><DD></DL><P>
<A NAME="getAttributeList"></A>
<A NAME="DOC.2.176.29"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="StateSet.html#DOC.2.176.22">AttributeList</A>&amp; getAttributeList()</B></TT>
<DD>return the list of all StateAttributes contained in this StateSet
<DL><DT><DD></DL><P>
<A NAME="getAttributeList"></A>
<A NAME="DOC.2.176.30"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="StateSet.html#DOC.2.176.22">AttributeList</A>&amp; getAttributeList() const </B></TT>
<DD>return the const list of all StateAttributes contained in this const StateSet
<DL><DT><DD></DL><P>
<A NAME="TextureModeList"></A>
<A NAME="DOC.2.176.31"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector&lt;<!1><A HREF="StateSet.html#DOC.2.176.15">ModeList</A>&gt; TextureModeList</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setTextureMode"></A>
<A NAME="DOC.2.176.32"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setTextureMode(unsigned int unit, StateAttribute::GLMode mode, StateAttribute::GLModeValue value)</B></TT>
<DD>set this StateSet to contain specified GLMode and value
<DL><DT><DD></DL><P>
<A NAME="setTextureModeToInherit"></A>
<A NAME="DOC.2.176.33"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setTextureModeToInherit(unsigned int unit, StateAttribute::GLMode mode)</B></TT>
<DD>set this StateSet to inherit specified GLMode type from parents.
has the effect of deleting any GlMode of specified type from StateSet.
<DL><DT><DD></DL><P>
<A NAME="getTextureMode"></A>
<A NAME="DOC.2.176.34"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>StateAttribute::GLModeValue getTextureMode(unsigned int unit, StateAttribute::GLMode mode) const </B></TT>
<DD>get specified GLModeValue for specified GLMode.
returns INHERIT if no GLModeValue is contained within StateSet.
<DL><DT><DD></DL><P>
<A NAME="getTextureModeList"></A>
<A NAME="DOC.2.176.35"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="StateSet.html#DOC.2.176.31">TextureModeList</A>&amp; getTextureModeList()</B></TT>
<DD>return the list of all Texture related GLModes contained in this StateSet
<DL><DT><DD></DL><P>
<A NAME="getTextureModeList"></A>
<A NAME="DOC.2.176.36"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="StateSet.html#DOC.2.176.31">TextureModeList</A>&amp; getTextureModeList() const </B></TT>
<DD>return the const list of all Texture related GLModes contained in this const StateSet
<DL><DT><DD></DL><P>
<A NAME="TextureAttributeList"></A>
<A NAME="DOC.2.176.37"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector&lt;<!1><A HREF="StateSet.html#DOC.2.176.22">AttributeList</A>&gt; TextureAttributeList</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setTextureAttribute"></A>
<A NAME="DOC.2.176.38"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setTextureAttribute(unsigned int unit, <!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, StateAttribute::OverrideValue value=StateAttribute::OFF)</B></TT>
<DD>set this StateSet to contain specified attribute and override flag
<DL><DT><DD></DL><P>
<A NAME="setTextureAttributeAndModes"></A>
<A NAME="DOC.2.176.39"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setTextureAttributeAndModes(unsigned int unit, <!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, StateAttribute::GLModeValue value=StateAttribute::ON)</B></TT>
<DD>set this StateSet to contain specified attribute and set the associated GLMode's to specified value
<DL><DT><DD></DL><P>
<A NAME="setTextureAttributeToInherit"></A>
<A NAME="DOC.2.176.40"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setTextureAttributeToInherit(unsigned int unit, StateAttribute::Type type)</B></TT>
<DD>set this StateSet to inherit specified attribute type from parents.
has the effect of deleting any state attributes of specified type from StateSet.
<DL><DT><DD></DL><P>
<A NAME="getTextureAttribute"></A>
<A NAME="DOC.2.176.41"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="StateAttribute.html">StateAttribute</A>* getTextureAttribute(unsigned int unit, StateAttribute::Type type)</B></TT>
<DD>get specified Texture related StateAttribute for specified type.
returns NULL if no type is contained within StateSet.
<DL><DT><DD></DL><P>
<A NAME="getTextureAttribute"></A>
<A NAME="DOC.2.176.42"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="StateAttribute.html">StateAttribute</A>* getTextureAttribute(unsigned int unit, StateAttribute::Type type) const </B></TT>
<DD>get specified Texture related const StateAttribute for specified type.
returns NULL if no type is contained within const StateSet.
<DL><DT><DD></DL><P>
<A NAME="getTextureAttributePair"></A>
<A NAME="DOC.2.176.43"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="StateSet.html#DOC.2.176.21">RefAttributePair</A>* getTextureAttributePair(unsigned int unit, StateAttribute::Type type) const </B></TT>
<DD>get specified Texture related RefAttributePair for specified type.
returns NULL if no type is contained within StateSet.
<DL><DT><DD></DL><P>
<A NAME="getTextureAttributeList"></A>
<A NAME="DOC.2.176.44"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="StateSet.html#DOC.2.176.37">TextureAttributeList</A>&amp; getTextureAttributeList()</B></TT>
<DD>return the list of all Texture related StateAttributes contained in this StateSet
<DL><DT><DD></DL><P>
<A NAME="getTextureAttributeList"></A>
<A NAME="DOC.2.176.45"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="StateSet.html#DOC.2.176.37">TextureAttributeList</A>&amp; getTextureAttributeList() const </B></TT>
<DD>return the const list of all Texture related StateAttributes contained in this const StateSet
<DL><DT><DD></DL><P>
<A NAME="setAssociatedModes"></A>
<A NAME="DOC.2.176.46"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setAssociatedModes(const <!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, StateAttribute::GLModeValue value)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setAssociatedTextureModes"></A>
<A NAME="DOC.2.176.47"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setAssociatedTextureModes(unsigned int unit, const <!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, StateAttribute::GLModeValue value)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="RenderingHint"></A>
<A NAME="DOC.2.176.48"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum RenderingHint</B></TT>
<DL><DT><DD></DL><P><DL>
<A NAME="DEFAULT_BIN"></A>
<A NAME="DOC.2.176.48.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> DEFAULT_BIN</B></TT>
<DL><DT><DD></DL><P>
<A NAME="OPAQUE_BIN"></A>
<A NAME="DOC.2.176.48.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> OPAQUE_BIN</B></TT>
<DL><DT><DD></DL><P>
<A NAME="TRANSPARENT_BIN"></A>
<A NAME="DOC.2.176.48.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TRANSPARENT_BIN</B></TT>
<DL><DT><DD></DL><P></DL>
<A NAME="setRenderingHint"></A>
<A NAME="DOC.2.176.49"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setRenderingHint(int hint)</B></TT>
<DD>set the RenderingHint of the StateSet.
RenderingHint is used by osgUtil::Renderer to determine which
draw bin to drop associated osg::Drawables in. For opaque
objects OPAQUE_BIN would typical used, which TRANSPARENT_BIN
should be used for objects which need to be depth sorted.
<DL><DT><DD></DL><P>
<A NAME="getRenderingHint"></A>
<A NAME="DOC.2.176.50"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline int getRenderingHint() const </B></TT>
<DD>get the RenderingHint of the StateSet
<DL><DT><DD></DL><P>
<A NAME="RenderBinMode"></A>
<A NAME="DOC.2.176.51"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum RenderBinMode</B></TT>
<DL><DT><DD></DL><P><DL>
<A NAME="INHERIT_RENDERBIN_DETAILS"></A>
<A NAME="DOC.2.176.51.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> INHERIT_RENDERBIN_DETAILS</B></TT>
<DL><DT><DD></DL><P>
<A NAME="USE_RENDERBIN_DETAILS"></A>
<A NAME="DOC.2.176.51.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> USE_RENDERBIN_DETAILS</B></TT>
<DL><DT><DD></DL><P>
<A NAME="OVERRIDE_RENDERBIN_DETAILS"></A>
<A NAME="DOC.2.176.51.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> OVERRIDE_RENDERBIN_DETAILS</B></TT>
<DL><DT><DD></DL><P>
<A NAME="ENCLOSE_RENDERBIN_DETAILS"></A>
<A NAME="DOC.2.176.51.4"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ENCLOSE_RENDERBIN_DETAILS</B></TT>
<DL><DT><DD></DL><P></DL>
<A NAME="setRenderBinDetails"></A>
<A NAME="DOC.2.176.52"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setRenderBinDetails(int binNum, const std::string&amp; binName, <!1><A HREF="StateSet.html#DOC.2.176.51">RenderBinMode</A> mode=<!1><A HREF="StateSet.html#DOC.2.176.51.2">USE_RENDERBIN_DETAILS</A>)</B></TT>
<DD>set the render bin details
<DL><DT><DD></DL><P>
<A NAME="setRenderBinToInherit"></A>
<A NAME="DOC.2.176.53"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setRenderBinToInherit()</B></TT>
<DD>set the render bin details to inherit
<DL><DT><DD></DL><P>
<A NAME="getRenderBinMode"></A>
<A NAME="DOC.2.176.54"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="StateSet.html#DOC.2.176.51">RenderBinMode</A> getRenderBinMode() const </B></TT>
<DD>get the render bin mode
<DL><DT><DD></DL><P>
<A NAME="useRenderBinDetails"></A>
<A NAME="DOC.2.176.55"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline bool useRenderBinDetails() const </B></TT>
<DD>get whether the render bin details are set and should be used
<DL><DT><DD></DL><P>
<A NAME="getBinNumber"></A>
<A NAME="DOC.2.176.56"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline int getBinNumber() const </B></TT>
<DD>get the render bin number
<DL><DT><DD></DL><P>
<A NAME="getBinName"></A>
<A NAME="DOC.2.176.57"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const std::string&amp; getBinName() const </B></TT>
<DD>get the render bin name
<DL><DT><DD></DL><P>
<A NAME="compile"></A>
<A NAME="DOC.2.176.58"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void compile(<!1><A HREF="State.html">State</A>&amp; state) const </B></TT>
<DD>call compile on all StateAttributes contained within this StateSet
<DL><DT><DD></DL><P>
<A NAME="~StateSet"></A>
<A NAME="DOC.2.176.59"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~StateSet()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="operator = "></A>
<A NAME="DOC.2.176.60"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="StateSet.html">StateSet</A>&amp; operator = (const <!1><A HREF="StateSet.html">StateSet</A>&amp;)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_modeList"></A>
<A NAME="DOC.2.176.61"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="StateSet.html#DOC.2.176.15">ModeList</A> _modeList</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_attributeList"></A>
<A NAME="DOC.2.176.62"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="StateSet.html#DOC.2.176.22">AttributeList</A> _attributeList</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_textureModeList"></A>
<A NAME="DOC.2.176.63"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="StateSet.html#DOC.2.176.31">TextureModeList</A> _textureModeList</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_textureAttributeList"></A>
<A NAME="DOC.2.176.64"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="StateSet.html#DOC.2.176.37">TextureAttributeList</A> _textureAttributeList</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getOrCreateTextureModeList"></A>
<A NAME="DOC.2.176.65"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="StateSet.html#DOC.2.176.15">ModeList</A>&amp; getOrCreateTextureModeList(unsigned int unit)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getOrCreateTextureAttributeList"></A>
<A NAME="DOC.2.176.66"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="StateSet.html#DOC.2.176.22">AttributeList</A>&amp; getOrCreateTextureAttributeList(unsigned int unit)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="compareModes"></A>
<A NAME="DOC.2.176.67"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int compareModes(const <!1><A HREF="StateSet.html#DOC.2.176.15">ModeList</A>&amp; lhs, const <!1><A HREF="StateSet.html#DOC.2.176.15">ModeList</A>&amp; rhs)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="compareAttributePtrs"></A>
<A NAME="DOC.2.176.68"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int compareAttributePtrs(const <!1><A HREF="StateSet.html#DOC.2.176.22">AttributeList</A>&amp; lhs, const <!1><A HREF="StateSet.html#DOC.2.176.22">AttributeList</A>&amp; rhs)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="compareAttributeContents"></A>
<A NAME="DOC.2.176.69"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int compareAttributeContents(const <!1><A HREF="StateSet.html#DOC.2.176.22">AttributeList</A>&amp; lhs, const <!1><A HREF="StateSet.html#DOC.2.176.22">AttributeList</A>&amp; rhs)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setMode"></A>
<A NAME="DOC.2.176.70"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setMode(<!1><A HREF="StateSet.html#DOC.2.176.15">ModeList</A>&amp; modeList, StateAttribute::GLMode mode, StateAttribute::GLModeValue value)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setModeToInherit"></A>
<A NAME="DOC.2.176.71"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setModeToInherit(<!1><A HREF="StateSet.html#DOC.2.176.15">ModeList</A>&amp; modeList, StateAttribute::GLMode mode)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getMode"></A>
<A NAME="DOC.2.176.72"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>StateAttribute::GLModeValue getMode(const <!1><A HREF="StateSet.html#DOC.2.176.15">ModeList</A>&amp; modeList, StateAttribute::GLMode mode) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="setAssociatedModes"></A>
<A NAME="DOC.2.176.73"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setAssociatedModes(<!1><A HREF="StateSet.html#DOC.2.176.15">ModeList</A>&amp; modeList, const <!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, StateAttribute::GLModeValue value)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setAttribute"></A>
<A NAME="DOC.2.176.74"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setAttribute(<!1><A HREF="StateSet.html#DOC.2.176.22">AttributeList</A>&amp; attributeList, <!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getAttribute"></A>
<A NAME="DOC.2.176.75"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="StateAttribute.html">StateAttribute</A>* getAttribute(<!1><A HREF="StateSet.html#DOC.2.176.22">AttributeList</A>&amp; attributeList, const StateAttribute::Type type)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getAttribute"></A>
<A NAME="DOC.2.176.76"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="StateAttribute.html">StateAttribute</A>* getAttribute(const <!1><A HREF="StateSet.html#DOC.2.176.22">AttributeList</A>&amp; attributeList, const StateAttribute::Type type) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getAttributePair"></A>
<A NAME="DOC.2.176.77"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="StateSet.html#DOC.2.176.21">RefAttributePair</A>* getAttributePair(const <!1><A HREF="StateSet.html#DOC.2.176.22">AttributeList</A>&amp; attributeList, const StateAttribute::Type type) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="_renderingHint"></A>
<A NAME="DOC.2.176.78"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _renderingHint</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_binMode"></A>
<A NAME="DOC.2.176.79"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="StateSet.html#DOC.2.176.51">RenderBinMode</A> _binMode</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_binNum"></A>
<A NAME="DOC.2.176.80"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _binNum</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_binName"></A>
<A NAME="DOC.2.176.81"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>std::string _binName</B></TT>
<DL><DT><DD></DL><P></DL>
<HR><DL><DT><B>This class has no child classes.</B></DL>
<DL><DT><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I> <I><A HREF="HIER.html">HTML hierarchy of classes</A> or <A HREF="HIERjava.html">Java</A></I></P><HR>
<BR>
This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.
</BODY>
</HTML>