<html> <head> <title>Ogre::GpuProgramParameters::RealConstantEntry struct Reference - 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> <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">Compound 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">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> </center> <hr><h1>Ogre::GpuProgramParameters::RealConstantEntry Struct Reference</h1>Real parameter entry; contains both a group of 4 values and an indicator to say if it's been set or not. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="OgreGpuProgram_8h-source.html">OgreGpuProgram.h</a>></code> <p> <a href="structOgre_1_1GpuProgramParameters_1_1RealConstantEntry-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="structOgre_1_1GpuProgramParameters_1_1RealConstantEntry.html#Ogre_1_1GpuProgramParameters_1_1RealConstantEntrya0">RealConstantEntry</a> ()</td></tr> <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a349">Real</a> </td><td valign=bottom><a class="el" href="structOgre_1_1GpuProgramParameters_1_1RealConstantEntry.html#Ogre_1_1GpuProgramParameters_1_1RealConstantEntrym0">val</a> [4]</td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="structOgre_1_1GpuProgramParameters_1_1RealConstantEntry.html#Ogre_1_1GpuProgramParameters_1_1RealConstantEntrym1">isSet</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Real parameter entry; contains both a group of 4 values and an indicator to say if it's been set or not. <p> This allows us to filter out constant entries which have not been set by the renderer and may actually be being used internally by the program. <p> <p> Definition at line <a class="el" href="OgreGpuProgram_8h-source.html#l00111">111</a> of file <a class="el" href="OgreGpuProgram_8h-source.html">OgreGpuProgram.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="Ogre_1_1GpuProgramParameters_1_1RealConstantEntrya0" doxytag="Ogre::GpuProgramParameters::RealConstantEntry::RealConstantEntry"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Ogre::GpuProgramParameters::RealConstantEntry::RealConstantEntry </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGpuProgram_8h-source.html#l00115">115</a> of file <a class="el" href="OgreGpuProgram_8h-source.html">OgreGpuProgram.h</a>. </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a name="Ogre_1_1GpuProgramParameters_1_1RealConstantEntrym1" doxytag="Ogre::GpuProgramParameters::RealConstantEntry::isSet"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool Ogre::GpuProgramParameters::RealConstantEntry::isSet </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGpuProgram_8h-source.html#l00114">114</a> of file <a class="el" href="OgreGpuProgram_8h-source.html">OgreGpuProgram.h</a>. <p> Referenced by <a class="el" href="OgreD3D9RenderSystem_8cpp-source.html#l01987">Ogre::D3D9RenderSystem::bindGpuProgramParameters</a>(), <a class="el" href="OgreGLGpuProgram_8cpp-source.html#l00055">Ogre::GLArbGpuProgram::bindProgramParameters</a>(), <a class="el" href="OgreGLGpuNvparseProgram_8cpp-source.html#l00058">Ogre::GLGpuNvparseProgram::bindProgramParameters</a>(), and <a class="el" href="OgreGpuProgram_8cpp-source.html#l00130">Ogre::GpuProgramParameters::setConstant</a>(). </td> </tr> </table> <a name="Ogre_1_1GpuProgramParameters_1_1RealConstantEntrym0" doxytag="Ogre::GpuProgramParameters::RealConstantEntry::val"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a349">Real</a> Ogre::GpuProgramParameters::RealConstantEntry::val[4] </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGpuProgram_8h-source.html#l00113">113</a> of file <a class="el" href="OgreGpuProgram_8h-source.html">OgreGpuProgram.h</a>. <p> Referenced by <a class="el" href="OgreD3D9RenderSystem_8cpp-source.html#l01987">Ogre::D3D9RenderSystem::bindGpuProgramParameters</a>(), <a class="el" href="OgreGLGpuProgram_8cpp-source.html#l00055">Ogre::GLArbGpuProgram::bindProgramParameters</a>(), <a class="el" href="OgreGLGpuNvparseProgram_8cpp-source.html#l00058">Ogre::GLGpuNvparseProgram::bindProgramParameters</a>(), and <a class="el" href="OgreGpuProgram_8cpp-source.html#l00130">Ogre::GpuProgramParameters::setConstant</a>(). </td> </tr> </table> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="OgreGpuProgram_8h-source.html">OgreGpuProgram.h</a></ul> <p> Copyright © 2002-2003 by The OGRE Team<br /> Last modified Wed Jan 21 00:18:38 2004 </p> </body> </html>