143 lines
6.0 KiB
HTML
143 lines
6.0 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>class osgGL2::ShaderObject::PerContextShaderObj</TITLE>
|
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.6">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
|
|
<H2>class <A HREF="#DOC.DOCU">osgGL2::ShaderObject::PerContextShaderObj</A></H2></H2><BLOCKQUOTE>PCSO is an OSG-internal encapsulation of glShaderObjects per-GL context.</BLOCKQUOTE>
|
|
<HR>
|
|
|
|
<H2>Inheritance:</H2>
|
|
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=65>
|
|
<param name=classes value="Mosg::Referenced,M,CPerContextShaderObj,MPerContextShaderObj.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>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.67.5.16.1">PerContextShaderObj</A></B>(const <!1><A HREF="ShaderObject.html">ShaderObject</A>* shadObj, unsigned int contextID)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.67.5.16.2">PerContextShaderObj</A></B>(const <!1><A HREF="PerContextShaderObj.html#DOC.67.5.16.2">PerContextShaderObj</A>& rhs)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>GLhandleARB& <B><A HREF="#DOC.67.5.16.3">getHandle</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.67.5.16.4">isDirty</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.67.5.16.5">markAsDirty</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.67.5.16.6">build</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.67.5.16.7">attach</A></B>(GLhandleARB progObj) const
|
|
<DD><I>Attach our glShaderObject to a glProgramObject </I>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="ShaderObject.html">ShaderObject</A>* <B><A HREF="#DOC.67.5.16.10">_shadObj</A></B>
|
|
<DD><I>Pointer to our parent ShaderObject </I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr<<!1><A HREF="Extensions.html">Extensions</A>> <B><A HREF="#DOC.67.5.16.11">_extensions</A></B>
|
|
<DD><I>Pointer to this context's extension functions.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>GLhandleARB <B><A HREF="#DOC.67.5.16.12">_glShaderObjHandle</A></B>
|
|
<DD><I>Handle to the actual glShaderObject.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.67.5.16.13">_dirty</A></B>
|
|
<DD><I>Do we need to be recompiled?</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const unsigned int <B><A HREF="#DOC.67.5.16.14">_contextID</A></B>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Methods</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.67.5.16.8">PerContextShaderObj</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.67.5.16.9">~PerContextShaderObj</A></B>()
|
|
</DL></P>
|
|
|
|
</DL>
|
|
|
|
<A NAME="DOC.DOCU"></A>
|
|
<HR>
|
|
<H2>Documentation</H2>
|
|
<BLOCKQUOTE>PCSO is an OSG-internal encapsulation of glShaderObjects per-GL context. </BLOCKQUOTE>
|
|
<DL>
|
|
|
|
<A NAME="PerContextShaderObj"></A>
|
|
<A NAME="DOC.67.5.16.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> PerContextShaderObj(const <!1><A HREF="ShaderObject.html">ShaderObject</A>* shadObj, unsigned int contextID)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="PerContextShaderObj"></A>
|
|
<A NAME="DOC.67.5.16.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> PerContextShaderObj(const <!1><A HREF="PerContextShaderObj.html#DOC.67.5.16.2">PerContextShaderObj</A>& rhs)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getHandle"></A>
|
|
<A NAME="DOC.67.5.16.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>GLhandleARB& getHandle()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="isDirty"></A>
|
|
<A NAME="DOC.67.5.16.4"></A>
|
|
<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>
|
|
<A NAME="DOC.67.5.16.5"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void markAsDirty()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="build"></A>
|
|
<A NAME="DOC.67.5.16.6"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void build()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="attach"></A>
|
|
<A NAME="DOC.67.5.16.7"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void attach(GLhandleARB progObj) const </B></TT>
|
|
<DD>Attach our glShaderObject to a glProgramObject
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="PerContextShaderObj"></A>
|
|
<A NAME="DOC.67.5.16.8"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> PerContextShaderObj()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="~PerContextShaderObj"></A>
|
|
<A NAME="DOC.67.5.16.9"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ~PerContextShaderObj()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_shadObj"></A>
|
|
<A NAME="DOC.67.5.16.10"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="ShaderObject.html">ShaderObject</A>* _shadObj</B></TT>
|
|
<DD>Pointer to our parent ShaderObject
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_extensions"></A>
|
|
<A NAME="DOC.67.5.16.11"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr<<!1><A HREF="Extensions.html">Extensions</A>> _extensions</B></TT>
|
|
<DD>Pointer to this context's extension functions.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_glShaderObjHandle"></A>
|
|
<A NAME="DOC.67.5.16.12"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>GLhandleARB _glShaderObjHandle</B></TT>
|
|
<DD>Handle to the actual glShaderObject.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_dirty"></A>
|
|
<A NAME="DOC.67.5.16.13"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _dirty</B></TT>
|
|
<DD>Do we need to be recompiled?
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_contextID"></A>
|
|
<A NAME="DOC.67.5.16.14"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const unsigned int _contextID</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://www.linuxsupportline.com/~doc++">DOC++</A>.
|
|
</BODY>
|
|
</HTML>
|