<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Crystal Space 1.2.1: iShaderVariableAccessor Struct Reference (Crystal Space 1.2.1 Public API Reference)</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <table border="0" cellpadding="0" cellspacing="0" width="100%" class="head"> <tr height="59"> <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td> <td class="head"><h2>Public API Reference</h2></td> </tr> <tr height="11"> <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td> </tr> </table> <div class="content"> <!-- Generated by Doxygen 1.5.3 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <h1>iShaderVariableAccessor Struct Reference<br> <small> [<a class="el" href="group__gfx3d.html">3D</a>]</small> </h1><!-- doxytag: class="iShaderVariableAccessor" --><!-- doxytag: inherits="iBase" -->Interface to an accessorcallback for shadervariables. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="shadervar_8h-source.html">csgfx/shadervar.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for iShaderVariableAccessor:</div> <div class="dynsection"> <p><center><img src="structiShaderVariableAccessor__inherit__graph.png" border="0" usemap="#iShaderVariableAccessor__inherit__map" alt="Inheritance graph"></center> <map name="iShaderVariableAccessor__inherit__map"> <area shape="rect" href="classscfImplementation1.html" title="scfImplementation1\< csNormalizationCubeAccessor, iShaderVariableAccessor \>" alt="" coords="423,5,961,32"><area shape="rect" href="classscfImplementationExt2.html" title="scfImplementationExt2\< csShaderExpressionAccessor, csObject, iShaderVariableAccessor, iSelfDestruct \>" alt="" coords="337,56,1047,83"><area shape="rect" href="structiBase.html" title="This is the basic interface: all other interfaces should be derived from this one..." alt="" coords="5,31,61,57"><area shape="rect" href="classcsNormalizationCubeAccessor.html" title="Shader variable accessor for a normalization cubemap." alt="" coords="1096,5,1312,32"><area shape="rect" href="classcsShaderExpressionAccessor.html" title="Shader variable accessor that evaluates a shader expression when the SV value is..." alt="" coords="1100,56,1308,83"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="structiShaderVariableAccessor-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="structiShaderVariableAccessor.html#16924424479a6c2fd5645b3defd31d3a">PreGetValue</a> (<a class="el" href="classcsShaderVariable.html">csShaderVariable</a> *variable)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Called before the value of the attached SV is returned. <a href="#16924424479a6c2fd5645b3defd31d3a"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Interface to an accessorcallback for shadervariables. <p> This is used when we know the object providing the value of a single variable, but the exact value cannot be predetermined. <p>Definition at line <a class="el" href="shadervar_8h-source.html#l00060">60</a> of file <a class="el" href="shadervar_8h-source.html">shadervar.h</a>.</p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="16924424479a6c2fd5645b3defd31d3a"></a><!-- doxytag: member="iShaderVariableAccessor::PreGetValue" ref="16924424479a6c2fd5645b3defd31d3a" args="(csShaderVariable *variable)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void iShaderVariableAccessor::PreGetValue </td> <td>(</td> <td class="paramtype"><a class="el" href="classcsShaderVariable.html">csShaderVariable</a> * </td> <td class="paramname"> <em>variable</em> </td> <td> ) </td> <td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Called before the value of the attached SV is returned. <p> <p>Implemented in <a class="el" href="classcsShaderExpressionAccessor.html#64d05ae9bbf6ca3bd38efb4176766be7">csShaderExpressionAccessor</a>, and <a class="el" href="classcsNormalizationCubeAccessor.html#04f4e2dcbad38bc52489d59ba3cfaec7">csNormalizationCubeAccessor</a>.</p> </div> </div><p> <hr>The documentation for this struct was generated from the following file:<ul> <li>csgfx/<a class="el" href="shadervar_8h-source.html">shadervar.h</a></ul> <hr size="1"><address><small>Generated for Crystal Space 1.2.1 by <a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 </small></address> </div></body> </html>