Sophie

Sophie

distrib > Mandriva > 10.0 > i586 > media > contrib > by-pkgid > 06719cf03808e17ae6f0852ca1052dc2 > files > 677

libogre1-devel-0.13.0-1mdk.i586.rpm

<html>
<head>
<title>OgreGLGpuProgramManager.h Source File - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<link type="text/css" rel="stylesheet" href="style.css">
</head>

<body>
<!-- Generated by Doxygen 1.2.16 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; </center>
<hr><h1>OgreGLGpuProgramManager.h</h1><a href="OgreGLGpuProgramManager_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="comment">/*</font>
00002 <font class="comment">-----------------------------------------------------------------------------</font>
00003 <font class="comment">This source file is part of OGRE</font>
00004 <font class="comment">    (Object-oriented Graphics Rendering Engine)</font>
00005 <font class="comment">For the latest info, see http://www.stevestreeting.com/ogre/</font>
00006 <font class="comment"></font>
00007 <font class="comment">Copyright © 2000-2003 The OGRE Teameeting</font>
00008 <font class="comment">Also see acknowledgements in Readme.html</font>
00009 <font class="comment"></font>
00010 <font class="comment">This program is free software; you can redistribute it and/or modify it under</font>
00011 <font class="comment">the terms of the GNU General Public License as published by the Free Software</font>
00012 <font class="comment">Foundation; either version 2 of the License, or (at your option) any later</font>
00013 <font class="comment">version.</font>
00014 <font class="comment"></font>
00015 <font class="comment">This program is distributed in the hope that it will be useful, but WITHOUT</font>
00016 <font class="comment">ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS</font>
00017 <font class="comment">FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</font>
00018 <font class="comment"></font>
00019 <font class="comment">You should have received a copy of the GNU General Public License along with</font>
00020 <font class="comment">this program; if not, write to the Free Software Foundation, Inc., 59 Temple</font>
00021 <font class="comment">Place - Suite 330, Boston, MA 02111-1307, USA, or go to</font>
00022 <font class="comment">http://www.gnu.org/copyleft/gpl.html.</font>
00023 <font class="comment">-----------------------------------------------------------------------------</font>
00024 <font class="comment">*/</font>
00025 
00026 <font class="preprocessor">#ifndef __GLGpuProgramManager_H__</font>
00027 <font class="preprocessor"></font><font class="preprocessor">#define __GLGpuProgramManager_H__</font>
00028 <font class="preprocessor"></font>
00029 <font class="preprocessor">#include "<a class="code" href="OgreGpuProgramManager_8h.html">OgreGpuProgramManager.h</a>"</font>
00030 
00031 <font class="keyword">namespace </font>Ogre {
00032 
<a name="l00033"></a><a class="code" href="classOgre_1_1GLGpuProgramManager.html">00033</a> <font class="keyword">class </font><a class="code" href="classOgre_1_1GLGpuProgramManager.html">GLGpuProgramManager</a> : <font class="keyword">public</font> <a class="code" href="classOgre_1_1GpuProgramManager.html">GpuProgramManager</a>
00034 {
00035 <font class="keyword">public</font>:
<a name="l00036"></a><a class="code" href="classOgre_1_1GLGpuProgramManager.html#Ogre_1_1GLGpuProgramManagers0">00036</a>     <font class="keyword">typedef</font> <a class="code" href="classOgre_1_1GpuProgram.html">GpuProgram</a>* (*CreateGpuProgramCallback)(<font class="keyword">const</font> <a class="code" href="classOgre_1_1String.html">String</a>&amp;, <a class="code" href="namespaceOgre.html#a626">GpuProgramType</a>, <font class="keyword">const</font> <a class="code" href="classOgre_1_1String.html">String</a>&amp;);
00037 
00038 <font class="keyword">private</font>:
<a name="l00039"></a><a class="code" href="classOgre_1_1GLGpuProgramManager.html#Ogre_1_1GLGpuProgramManageru0">00039</a>     <font class="keyword">typedef</font> std::map&lt;String, CreateGpuProgramCallback&gt; <a class="code" href="classOgre_1_1GLGpuProgramManager.html#Ogre_1_1GLGpuProgramManageru0">ProgramMap</a>;
<a name="l00040"></a><a class="code" href="classOgre_1_1GLGpuProgramManager.html#Ogre_1_1GLGpuProgramManagero0">00040</a>     <a class="code" href="classOgre_1_1GLGpuProgramManager.html#Ogre_1_1GLGpuProgramManageru0">ProgramMap</a> <a class="code" href="classOgre_1_1GLGpuProgramManager.html#Ogre_1_1GLGpuProgramManagero0">mProgramMap</a>;
00041 
00042 <font class="keyword">public</font>:
<a name="l00043"></a><a class="code" href="classOgre_1_1GLGpuProgramManager.html#Ogre_1_1GLGpuProgramManagera0">00043</a>     <a class="code" href="classOgre_1_1GLGpuProgramManager.html#Ogre_1_1GLGpuProgramManagera0">GLGpuProgramManager</a>() {}
<a name="l00044"></a><a class="code" href="classOgre_1_1GLGpuProgramManager.html#Ogre_1_1GLGpuProgramManagera1">00044</a>     <a class="code" href="classOgre_1_1GLGpuProgramManager.html#Ogre_1_1GLGpuProgramManagera1">~GLGpuProgramManager</a>() {}
00045     <a class="code" href="namespaceOgre.html#a132">GpuProgramParametersSharedPtr</a> <a class="code" href="classOgre_1_1GLGpuProgramManager.html#Ogre_1_1GLGpuProgramManagera2">createParameters</a>(<font class="keywordtype">void</font>);
00046     <font class="keywordtype">bool</font> <a class="code" href="classOgre_1_1GLGpuProgramManager.html#Ogre_1_1GLGpuProgramManagera3">registerProgramFactory</a>(<font class="keyword">const</font> String&amp; syntaxCode, <a class="code" href="classOgre_1_1GLGpuProgramManager.html#Ogre_1_1GLGpuProgramManagers0">CreateGpuProgramCallback</a> createFn);
00047     <font class="keywordtype">bool</font> <a class="code" href="classOgre_1_1GLGpuProgramManager.html#Ogre_1_1GLGpuProgramManagera4">unregisterProgramFactory</a>(<font class="keyword">const</font> String&amp; syntaxCode);
00048     GpuProgram* <a class="code" href="classOgre_1_1GLGpuProgramManager.html#Ogre_1_1GLGpuProgramManagera5">create</a>(<font class="keyword">const</font> String&amp; name, <a class="code" href="namespaceOgre.html#a626">GpuProgramType</a> gptype, <font class="keyword">const</font> String&amp; syntaxCode);
00049 };
00050 
00051 }; <font class="comment">//namespace Ogre</font>
00052 
00053 <font class="preprocessor">#endif //__GLGpuProgramManager_H__</font>
</pre></div><p>
Copyright &copy; 2002-2003 by The OGRE Team<br />
Last modified Wed Jan 21 00:10:11 2004
</p>
</body>
</html>