OpenSceneGraph/doc/doc++/osgGL2/PerContextProgObj.html

165 lines
7.2 KiB
HTML
Raw Normal View History

2003-07-23 19:27:31 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
2004-08-06 14:53:36 +08:00
<TITLE>class osgGL2::ProgramObject::PerContextProgObj</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.6">
2003-07-23 19:27:31 +08:00
</HEAD>
<BODY BGCOLOR="#ffffff">
2004-08-06 14:53:36 +08:00
<H2>class <A HREF="#DOC.DOCU">osgGL2::ProgramObject::PerContextProgObj</A></H2></H2><BLOCKQUOTE>PCPO is an OSG-internal encapsulation of glProgramObjects per-GL context.</BLOCKQUOTE>
<HR>
2003-07-23 19:27:31 +08:00
<H2>Inheritance:</H2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=65>
<param name=classes value="Mosg::Referenced,M,CPerContextProgObj,MPerContextProgObj.html">
<param name=before value="M,M">
<param name=after value="Md_,M">
<param name=indent value="0,1">
<param name=arrowdir value="down">
</APPLET>
<HR>
<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.67.4.20.1">PerContextProgObj</A></B>(const <!1><A HREF="ProgramObject.html">ProgramObject</A>* progObj, unsigned int contextID)
2003-07-23 19:27:31 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.67.4.20.2">PerContextProgObj</A></B>(const <!1><A HREF="PerContextProgObj.html#DOC.67.4.20.2">PerContextProgObj</A>&amp; rhs)
2003-07-23 19:27:31 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>GLhandleARB&amp; <B><A HREF="#DOC.67.4.20.3">getHandle</A></B>()
2003-07-23 19:27:31 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.67.4.20.4">isDirty</A></B>() const
2003-07-23 19:27:31 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.67.4.20.5">markAsDirty</A></B>()
2003-07-23 19:27:31 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.67.4.20.6">build</A></B>()
2003-07-23 19:27:31 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.67.4.20.7">use</A></B>() const
2003-07-23 19:27:31 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.67.4.20.8">updateUniforms</A></B>( const <!1><A HREF="osgGL2.html#DOC.67.7">UniformValueList</A>&amp; univalList )
<DD><I>Add a list of UniformValues to our per-context queue </I>
2003-07-23 19:27:31 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.67.4.20.9">applyUniformValues</A></B>()
<DD><I>Apply our queue of pending UniformValue updates to the glProgramObjects </I>
2003-07-23 19:27:31 +08:00
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="ProgramObject.html">ProgramObject</A>* <B><A HREF="#DOC.67.4.20.12">_progObj</A></B>
<DD><I>Pointer to our parent ProgramObject </I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr&lt;<!1><A HREF="Extensions.html">Extensions</A>&gt; <B><A HREF="#DOC.67.4.20.13">_extensions</A></B>
<DD><I>Pointer to this context's extension functions </I>
2003-07-23 19:27:31 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>GLhandleARB <B><A HREF="#DOC.67.4.20.14">_glProgObjHandle</A></B>
<DD><I>Handle to the actual glProgramObject </I>
2003-07-23 19:27:31 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.67.4.20.15">_dirty</A></B>
<DD><I>Do we need to be linked?</I>
2003-07-23 19:27:31 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="osgGL2.html#DOC.67.7">UniformValueList</A> <B><A HREF="#DOC.67.4.20.16">_univalList</A></B>
<DD><I>Queue of UniformValues awaiting assignment </I>
2003-07-23 19:27:31 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const unsigned int <B><A HREF="#DOC.67.4.20.17">_contextID</A></B>
2003-07-23 19:27:31 +08:00
</DL></P>
<P><DL>
<DT><H3>Protected Methods</H3><DD><DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.67.4.20.10">PerContextProgObj</A></B>()
2003-07-23 19:27:31 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.67.4.20.11">~PerContextProgObj</A></B>()
2003-07-23 19:27:31 +08:00
</DL></P>
</DL>
<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
2004-08-06 14:53:36 +08:00
<BLOCKQUOTE>PCPO is an OSG-internal encapsulation of glProgramObjects per-GL context. </BLOCKQUOTE>
2003-07-23 19:27:31 +08:00
<DL>
<A NAME="PerContextProgObj"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.67.4.20.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> PerContextProgObj(const <!1><A HREF="ProgramObject.html">ProgramObject</A>* progObj, unsigned int contextID)</B></TT>
2003-07-23 19:27:31 +08:00
<DL><DT><DD></DL><P>
<A NAME="PerContextProgObj"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.67.4.20.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> PerContextProgObj(const <!1><A HREF="PerContextProgObj.html#DOC.67.4.20.2">PerContextProgObj</A>&amp; rhs)</B></TT>
2003-07-23 19:27:31 +08:00
<DL><DT><DD></DL><P>
<A NAME="getHandle"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.67.4.20.3"></A>
2003-07-23 19:27:31 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>GLhandleARB&amp; getHandle()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="isDirty"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.67.4.20.4"></A>
2003-07-23 19:27:31 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool isDirty() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="markAsDirty"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.67.4.20.5"></A>
2003-07-23 19:27:31 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void markAsDirty()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="build"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.67.4.20.6"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void build()</B></TT>
2003-07-23 19:27:31 +08:00
<DL><DT><DD></DL><P>
<A NAME="use"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.67.4.20.7"></A>
2003-07-23 19:27:31 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void use() const </B></TT>
<DL><DT><DD></DL><P>
2004-08-06 14:53:36 +08:00
<A NAME="updateUniforms"></A>
<A NAME="DOC.67.4.20.8"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void updateUniforms( const <!1><A HREF="osgGL2.html#DOC.67.7">UniformValueList</A>&amp; univalList )</B></TT>
<DD>Add a list of UniformValues to our per-context queue
2003-07-23 19:27:31 +08:00
<DL><DT><DD></DL><P>
2004-08-06 14:53:36 +08:00
<A NAME="applyUniformValues"></A>
<A NAME="DOC.67.4.20.9"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void applyUniformValues()</B></TT>
<DD>Apply our queue of pending UniformValue updates to the glProgramObjects
2003-07-23 19:27:31 +08:00
<DL><DT><DD></DL><P>
<A NAME="PerContextProgObj"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.67.4.20.10"></A>
2003-07-23 19:27:31 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> PerContextProgObj()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="~PerContextProgObj"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.67.4.20.11"></A>
2003-07-23 19:27:31 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ~PerContextProgObj()</B></TT>
<DL><DT><DD></DL><P>
2004-08-06 14:53:36 +08:00
<A NAME="_progObj"></A>
<A NAME="DOC.67.4.20.12"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="ProgramObject.html">ProgramObject</A>* _progObj</B></TT>
<DD>Pointer to our parent ProgramObject
2003-07-23 19:27:31 +08:00
<DL><DT><DD></DL><P>
<A NAME="_extensions"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.67.4.20.13"></A>
2003-07-23 19:27:31 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr&lt;<!1><A HREF="Extensions.html">Extensions</A>&gt; _extensions</B></TT>
2004-08-06 14:53:36 +08:00
<DD>Pointer to this context's extension functions
2003-07-23 19:27:31 +08:00
<DL><DT><DD></DL><P>
2004-08-06 14:53:36 +08:00
<A NAME="_glProgObjHandle"></A>
<A NAME="DOC.67.4.20.14"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>GLhandleARB _glProgObjHandle</B></TT>
<DD>Handle to the actual glProgramObject
2003-07-23 19:27:31 +08:00
<DL><DT><DD></DL><P>
<A NAME="_dirty"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.67.4.20.15"></A>
2003-07-23 19:27:31 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _dirty</B></TT>
2004-08-06 14:53:36 +08:00
<DD>Do we need to be linked?
<DL><DT><DD></DL><P>
<A NAME="_univalList"></A>
<A NAME="DOC.67.4.20.16"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="osgGL2.html#DOC.67.7">UniformValueList</A> _univalList</B></TT>
<DD>Queue of UniformValues awaiting assignment
2003-07-23 19:27:31 +08:00
<DL><DT><DD></DL><P>
2004-08-06 14:53:36 +08:00
<A NAME="_contextID"></A>
<A NAME="DOC.67.4.20.17"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const unsigned int _contextID</B></TT>
2003-07-23 19:27:31 +08:00
<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>
2004-08-06 14:53:36 +08:00
This page was generated with the help of <A HREF="http://www.linuxsupportline.com/~doc++">DOC++</A>.
2003-07-23 19:27:31 +08:00
</BODY>
</HTML>