<html> <head> <title>Ogre::GpuProgramParameters::IntConstantEntry 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::IntConstantEntry Struct Reference</h1>Int 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_1IntConstantEntry-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_1IntConstantEntry.html#Ogre_1_1GpuProgramParameters_1_1IntConstantEntrya0">IntConstantEntry</a> ()</td></tr> <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="structOgre_1_1GpuProgramParameters_1_1IntConstantEntry.html#Ogre_1_1GpuProgramParameters_1_1IntConstantEntrym0">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_1IntConstantEntry.html#Ogre_1_1GpuProgramParameters_1_1IntConstantEntrym1">isSet</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Int 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#l00121">121</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_1IntConstantEntrya0" doxytag="Ogre::GpuProgramParameters::IntConstantEntry::IntConstantEntry"></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::IntConstantEntry::IntConstantEntry </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#l00125">125</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_1IntConstantEntrym1" doxytag="Ogre::GpuProgramParameters::IntConstantEntry::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::IntConstantEntry::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#l00124">124</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>(), and <a class="el" href="OgreGpuProgram_8cpp-source.html#l00147">Ogre::GpuProgramParameters::setConstant</a>(). </td> </tr> </table> <a name="Ogre_1_1GpuProgramParameters_1_1IntConstantEntrym0" doxytag="Ogre::GpuProgramParameters::IntConstantEntry::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"> int Ogre::GpuProgramParameters::IntConstantEntry::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#l00123">123</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>(), and <a class="el" href="OgreGpuProgram_8cpp-source.html#l00147">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:17:26 2004 </p> </body> </html>