[657] | 1 | <html> |
---|
| 2 | <head> |
---|
| 3 | <title>Ogre::CgProgramFactory class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
| 4 | <link type="text/css" rel="stylesheet" href="style.css"> |
---|
| 5 | </head> |
---|
| 6 | |
---|
| 7 | <body> |
---|
| 8 | <!-- Generated by Doxygen 1.3.6 --> |
---|
| 9 | <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
---|
| 10 | <h1>Ogre::CgProgramFactory Class Reference</h1>Factory class for Cg programs. |
---|
| 11 | <a href="#_details">More...</a> |
---|
| 12 | <p> |
---|
| 13 | <code>#include <<a class="el" href="OgreCgProgramFactory_8h-source.html">OgreCgProgramFactory.h</a>></code> |
---|
| 14 | <p> |
---|
| 15 | <p>Inheritance diagram for Ogre::CgProgramFactory: |
---|
| 16 | <p><center><img src="classOgre_1_1CgProgramFactory.png" usemap="#Ogre::CgProgramFactory_map" border="0" alt=""></center> |
---|
| 17 | <map name="Ogre::CgProgramFactory_map"> |
---|
| 18 | <area href="classOgre_1_1HighLevelGpuProgramFactory.html" alt="Ogre::HighLevelGpuProgramFactory" shape="rect" coords="0,0,219,24"> |
---|
| 19 | </map> |
---|
| 20 | <a href="classOgre_1_1CgProgramFactory-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> |
---|
| 21 | <tr><td></td></tr> |
---|
| 22 | <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> |
---|
| 23 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1CgProgramFactory.html#Ogre_1_1CgProgramFactorya0">CgProgramFactory</a> ()</td></tr> |
---|
| 24 | |
---|
| 25 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1CgProgramFactory.html#Ogre_1_1CgProgramFactorya1">~CgProgramFactory</a> ()</td></tr> |
---|
| 26 | |
---|
| 27 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a426">String</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1CgProgramFactory.html#Ogre_1_1CgProgramFactorya2">getLanguage</a> (void) const </td></tr> |
---|
| 28 | |
---|
| 29 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the name of the language this factory creates programs for. <a href="#Ogre_1_1CgProgramFactorya2"></a><br><br></td></tr> |
---|
| 30 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1HighLevelGpuProgram.html">HighLevelGpuProgram</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1CgProgramFactory.html#Ogre_1_1CgProgramFactorya3">create</a> (<a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> *creator, const <a class="el" href="namespaceOgre.html#a426">String</a> &name, <a class="el" href="namespaceOgre.html#a485">ResourceHandle</a> handle, const <a class="el" href="namespaceOgre.html#a426">String</a> &group, bool isManual, <a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> *loader)</td></tr> |
---|
| 31 | |
---|
| 32 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1CgProgramFactory.html#Ogre_1_1CgProgramFactorya4">destroy</a> (<a class="el" href="classOgre_1_1HighLevelGpuProgram.html">HighLevelGpuProgram</a> *prog)</td></tr> |
---|
| 33 | |
---|
| 34 | <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> |
---|
| 35 | <tr><td class="memItemLeft" nowrap align=right valign=top>CGcontext </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1CgProgramFactory.html#Ogre_1_1CgProgramFactoryp0">mCgContext</a></td></tr> |
---|
| 36 | |
---|
| 37 | </table> |
---|
| 38 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 39 | Factory class for Cg programs. |
---|
| 40 | <p> |
---|
| 41 | |
---|
| 42 | <p> |
---|
| 43 | Definition at line <a class="el" href="OgreCgProgramFactory_8h-source.html#l00034">34</a> of file <a class="el" href="OgreCgProgramFactory_8h-source.html">OgreCgProgramFactory.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> |
---|
| 44 | <a class="anchor" name="Ogre_1_1CgProgramFactorya0" doxytag="Ogre::CgProgramFactory::CgProgramFactory" ></a><p> |
---|
| 45 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 46 | <tr> |
---|
| 47 | <td class="mdRow"> |
---|
| 48 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 49 | <tr> |
---|
| 50 | <td class="md" nowrap valign="top"> Ogre::CgProgramFactory::CgProgramFactory </td> |
---|
| 51 | <td class="md" valign="top">( </td> |
---|
| 52 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 53 | <td class="md" valign="top"> ) </td> |
---|
| 54 | <td class="md" nowrap></td> |
---|
| 55 | </tr> |
---|
| 56 | |
---|
| 57 | </table> |
---|
| 58 | </td> |
---|
| 59 | </tr> |
---|
| 60 | </table> |
---|
| 61 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 62 | <tr> |
---|
| 63 | <td> |
---|
| 64 | |
---|
| 65 | </td> |
---|
| 66 | <td> |
---|
| 67 | |
---|
| 68 | <p> |
---|
| 69 | </td> |
---|
| 70 | </tr> |
---|
| 71 | </table> |
---|
| 72 | <a class="anchor" name="Ogre_1_1CgProgramFactorya1" doxytag="Ogre::CgProgramFactory::~CgProgramFactory" ></a><p> |
---|
| 73 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 74 | <tr> |
---|
| 75 | <td class="mdRow"> |
---|
| 76 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 77 | <tr> |
---|
| 78 | <td class="md" nowrap valign="top"> Ogre::CgProgramFactory::~<a class="el" href="classOgre_1_1CgProgramFactory.html">CgProgramFactory</a> </td> |
---|
| 79 | <td class="md" valign="top">( </td> |
---|
| 80 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 81 | <td class="md" valign="top"> ) </td> |
---|
| 82 | <td class="md" nowrap></td> |
---|
| 83 | </tr> |
---|
| 84 | |
---|
| 85 | </table> |
---|
| 86 | </td> |
---|
| 87 | </tr> |
---|
| 88 | </table> |
---|
| 89 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 90 | <tr> |
---|
| 91 | <td> |
---|
| 92 | |
---|
| 93 | </td> |
---|
| 94 | <td> |
---|
| 95 | |
---|
| 96 | <p> |
---|
| 97 | </td> |
---|
| 98 | </tr> |
---|
| 99 | </table> |
---|
| 100 | <hr><h2>Member Function Documentation</h2> |
---|
| 101 | <a class="anchor" name="Ogre_1_1CgProgramFactorya3" doxytag="Ogre::CgProgramFactory::create" ></a><p> |
---|
| 102 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 103 | <tr> |
---|
| 104 | <td class="mdRow"> |
---|
| 105 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 106 | <tr> |
---|
| 107 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1HighLevelGpuProgram.html">HighLevelGpuProgram</a>* Ogre::CgProgramFactory::create </td> |
---|
| 108 | <td class="md" valign="top">( </td> |
---|
| 109 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> * </td> |
---|
| 110 | <td class="mdname" nowrap> <em>creator</em>, </td> |
---|
| 111 | </tr> |
---|
| 112 | <tr> |
---|
| 113 | <td class="md" nowrap align="right"></td> |
---|
| 114 | <td></td> |
---|
| 115 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> & </td> |
---|
| 116 | <td class="mdname" nowrap> <em>name</em>, </td> |
---|
| 117 | </tr> |
---|
| 118 | <tr> |
---|
| 119 | <td class="md" nowrap align="right"></td> |
---|
| 120 | <td></td> |
---|
| 121 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a485">ResourceHandle</a> </td> |
---|
| 122 | <td class="mdname" nowrap> <em>handle</em>, </td> |
---|
| 123 | </tr> |
---|
| 124 | <tr> |
---|
| 125 | <td class="md" nowrap align="right"></td> |
---|
| 126 | <td></td> |
---|
| 127 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> & </td> |
---|
| 128 | <td class="mdname" nowrap> <em>group</em>, </td> |
---|
| 129 | </tr> |
---|
| 130 | <tr> |
---|
| 131 | <td class="md" nowrap align="right"></td> |
---|
| 132 | <td></td> |
---|
| 133 | <td class="md" nowrap>bool </td> |
---|
| 134 | <td class="mdname" nowrap> <em>isManual</em>, </td> |
---|
| 135 | </tr> |
---|
| 136 | <tr> |
---|
| 137 | <td class="md" nowrap align="right"></td> |
---|
| 138 | <td></td> |
---|
| 139 | <td class="md" nowrap><a class="el" href="classOgre_1_1ManualResourceLoader.html">ManualResourceLoader</a> * </td> |
---|
| 140 | <td class="mdname" nowrap> <em>loader</em></td> |
---|
| 141 | </tr> |
---|
| 142 | <tr> |
---|
| 143 | <td></td> |
---|
| 144 | <td class="md">) </td> |
---|
| 145 | <td class="md" colspan="2"><code> [virtual]</code></td> |
---|
| 146 | </tr> |
---|
| 147 | |
---|
| 148 | </table> |
---|
| 149 | </td> |
---|
| 150 | </tr> |
---|
| 151 | </table> |
---|
| 152 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 153 | <tr> |
---|
| 154 | <td> |
---|
| 155 | |
---|
| 156 | </td> |
---|
| 157 | <td> |
---|
| 158 | |
---|
| 159 | <p> |
---|
| 160 | |
---|
| 161 | <p> |
---|
| 162 | Implements <a class="el" href="classOgre_1_1HighLevelGpuProgramFactory.html#Ogre_1_1HighLevelGpuProgramFactorya3">Ogre::HighLevelGpuProgramFactory</a>. </td> |
---|
| 163 | </tr> |
---|
| 164 | </table> |
---|
| 165 | <a class="anchor" name="Ogre_1_1CgProgramFactorya4" doxytag="Ogre::CgProgramFactory::destroy" ></a><p> |
---|
| 166 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 167 | <tr> |
---|
| 168 | <td class="mdRow"> |
---|
| 169 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 170 | <tr> |
---|
| 171 | <td class="md" nowrap valign="top"> void Ogre::CgProgramFactory::destroy </td> |
---|
| 172 | <td class="md" valign="top">( </td> |
---|
| 173 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1HighLevelGpuProgram.html">HighLevelGpuProgram</a> * </td> |
---|
| 174 | <td class="mdname1" valign="top" nowrap> <em>prog</em> </td> |
---|
| 175 | <td class="md" valign="top"> ) </td> |
---|
| 176 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
| 177 | </tr> |
---|
| 178 | |
---|
| 179 | </table> |
---|
| 180 | </td> |
---|
| 181 | </tr> |
---|
| 182 | </table> |
---|
| 183 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 184 | <tr> |
---|
| 185 | <td> |
---|
| 186 | |
---|
| 187 | </td> |
---|
| 188 | <td> |
---|
| 189 | |
---|
| 190 | <p> |
---|
| 191 | |
---|
| 192 | <p> |
---|
| 193 | Implements <a class="el" href="classOgre_1_1HighLevelGpuProgramFactory.html#Ogre_1_1HighLevelGpuProgramFactorya4">Ogre::HighLevelGpuProgramFactory</a>. </td> |
---|
| 194 | </tr> |
---|
| 195 | </table> |
---|
| 196 | <a class="anchor" name="Ogre_1_1CgProgramFactorya2" doxytag="Ogre::CgProgramFactory::getLanguage" ></a><p> |
---|
| 197 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 198 | <tr> |
---|
| 199 | <td class="mdRow"> |
---|
| 200 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 201 | <tr> |
---|
| 202 | <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a426">String</a>& Ogre::CgProgramFactory::getLanguage </td> |
---|
| 203 | <td class="md" valign="top">( </td> |
---|
| 204 | <td class="md" nowrap valign="top">void </td> |
---|
| 205 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 206 | <td class="md" valign="top"> ) </td> |
---|
| 207 | <td class="md" nowrap> const<code> [virtual]</code></td> |
---|
| 208 | </tr> |
---|
| 209 | |
---|
| 210 | </table> |
---|
| 211 | </td> |
---|
| 212 | </tr> |
---|
| 213 | </table> |
---|
| 214 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 215 | <tr> |
---|
| 216 | <td> |
---|
| 217 | |
---|
| 218 | </td> |
---|
| 219 | <td> |
---|
| 220 | |
---|
| 221 | <p> |
---|
| 222 | Get the name of the language this factory creates programs for. |
---|
| 223 | <p> |
---|
| 224 | |
---|
| 225 | <p> |
---|
| 226 | Implements <a class="el" href="classOgre_1_1HighLevelGpuProgramFactory.html#Ogre_1_1HighLevelGpuProgramFactorya2">Ogre::HighLevelGpuProgramFactory</a>. </td> |
---|
| 227 | </tr> |
---|
| 228 | </table> |
---|
| 229 | <hr><h2>Member Data Documentation</h2> |
---|
| 230 | <a class="anchor" name="Ogre_1_1CgProgramFactoryp0" doxytag="Ogre::CgProgramFactory::mCgContext" ></a><p> |
---|
| 231 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 232 | <tr> |
---|
| 233 | <td class="mdRow"> |
---|
| 234 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 235 | <tr> |
---|
| 236 | <td class="md" nowrap valign="top"> CGcontext <a class="el" href="classOgre_1_1CgProgramFactory.html#Ogre_1_1CgProgramFactoryp0">Ogre::CgProgramFactory::mCgContext</a><code> [protected]</code> |
---|
| 237 | </table> |
---|
| 238 | </td> |
---|
| 239 | </tr> |
---|
| 240 | </table> |
---|
| 241 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 242 | <tr> |
---|
| 243 | <td> |
---|
| 244 | |
---|
| 245 | </td> |
---|
| 246 | <td> |
---|
| 247 | |
---|
| 248 | <p> |
---|
| 249 | |
---|
| 250 | <p> |
---|
| 251 | Definition at line <a class="el" href="OgreCgProgramFactory_8h-source.html#l00037">37</a> of file <a class="el" href="OgreCgProgramFactory_8h-source.html">OgreCgProgramFactory.h</a>. </td> |
---|
| 252 | </tr> |
---|
| 253 | </table> |
---|
| 254 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
| 255 | <li><a class="el" href="OgreCgProgramFactory_8h-source.html">OgreCgProgramFactory.h</a></ul> |
---|
| 256 | <hr> |
---|
| 257 | <p> |
---|
| 258 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
| 259 | <!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/> |
---|
| 260 | This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/> |
---|
| 261 | <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
---|
| 262 | <Work rdf:about=""> |
---|
| 263 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
| 264 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
| 265 | </Work> |
---|
| 266 | <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> --> |
---|
| 267 | |
---|
| 268 | Last modified Sun Feb 12 13:05:45 2006 |
---|
| 269 | </p> |
---|
| 270 | </body> |
---|
| 271 | </html> |
---|