<!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: iengine/portal.h File 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><a href="classes.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul> </div> <h1>iengine/portal.h File Reference</h1>Portal interfaces. <a href="#_details">More...</a> <p> <code>#include "<a class="el" href="scf_8h-source.html">csutil/scf.h</a>"</code><br> <p> <a href="portal_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Classes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structiPortal.html">iPortal</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This is the interface to the Portal objects. <a href="structiPortal.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structiPortalCallback.html">iPortalCallback</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">When a sector is missing this callback will be called. <a href="structiPortalCallback.html#_details">More...</a><br></td></tr> <tr><td colspan="2"><br><h2>Defines</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__engine3d.html#gfacb80191793249f722c848fbf5bbcd6">CS_PORTAL_CLIPDEST</a> 0x00000001</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">If this flag is set then this portal will clip all geometry in the destination sector. <a href="group__engine3d.html#gfacb80191793249f722c848fbf5bbcd6"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__engine3d.html#g5323aad74965bab3e57203b6d7721ea4">CS_PORTAL_CLIPSTRADDLING</a> 0x00000002</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">If this flag is set then this portal will clip geometry of an object that is straddling this portal (i.e. <a href="group__engine3d.html#g5323aad74965bab3e57203b6d7721ea4"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__engine3d.html#ge379b0eb6346a3359c021bb62988f05c">CS_PORTAL_COLLDET</a> 0x00000080</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">If this flag is set then this portal is used for collision detection. <a href="group__engine3d.html#ge379b0eb6346a3359c021bb62988f05c"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__engine3d.html#g93d4a25d9d89f2ab9b5a82c4cb24d5db">CS_PORTAL_FLOAT</a> 0x00000040</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">If this flag is used then the portal will use possible available stencil buffer on the hardware to do good clipping. <a href="group__engine3d.html#g93d4a25d9d89f2ab9b5a82c4cb24d5db"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__engine3d.html#g11463d20e132b537b175172c438cd301">CS_PORTAL_MIRROR</a> 0x00000010</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">If this flag is set then this portal mirrors space (changes order of the vertices of polygons). <a href="group__engine3d.html#g11463d20e132b537b175172c438cd301"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__engine3d.html#g6a16a6eb0b5ac25411faa176e601dfd4">CS_PORTAL_STATICDEST</a> 0x00000020</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A flag which indicates if the destination of this portal should not be transformed from object to world space. <a href="group__engine3d.html#g6a16a6eb0b5ac25411faa176e601dfd4"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__engine3d.html#g38d7e4bf3cf370e0c11a8f004c25dcaa">CS_PORTAL_VISCULL</a> 0x00000100</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">If this flag is set then this portal is used for visibility culling. <a href="group__engine3d.html#g38d7e4bf3cf370e0c11a8f004c25dcaa"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__engine3d.html#g16382a380d44a959ac11b3825b1664ec">CS_PORTAL_WARP</a> 0x00000008</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">If this flag is set then this portal will do space warping. <a href="group__engine3d.html#g16382a380d44a959ac11b3825b1664ec"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__engine3d.html#ge7443e0b68ff8e90ac2ae49a79482e44">CS_PORTAL_ZFILL</a> 0x00000004</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">If this flag is set then this portal will do a Z-fill after rendering the contents. <a href="group__engine3d.html#ge7443e0b68ff8e90ac2ae49a79482e44"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Portal interfaces. <p> <p>Definition in file <a class="el" href="portal_8h-source.html">portal.h</a>.</p> <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>