123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649 |
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
- <title>PowerVR SDK</title>
- <link href="doxygen.css" rel="stylesheet" type="text/css">
- <link href="tabs.css" rel="stylesheet" type="text/css">
- <table width="100%">
- <tr>
- <td width="33%">
- <p align="left"> <a href="http://www.imgtec.com"><img border="0" src="IMGLogo.jpg" width="200" height="30"></a></p>
- </td>
- <td width="33%">
- <p align="center"><font color="#808080" face="Arial" size="2">PowerVR Software Development Kit</a></font></p>
- </td>
- <td width="34%">
- <p align="right"><a href="http://www.powervr.com"><img border="0" src="PVRlogo.jpg" width="200" height="27"></a></p>
- </td>
- </tr>
- </table>
- <hr>
- </head><body>
- <!-- Generated by Doxygen 1.3.6 -->
- <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div>
- <h1>PVRShell.h File Reference</h1><code>#include <stdlib.h></code><br>
- <p>
- Include dependency graph for PVRShell.h:<p><center><img src="PVRShell_8h__incl.png" border="0" usemap="#PVRShell.h_map" alt="Include dependency graph"></center>
- <p>
- This graph shows which files directly or indirectly include this file:<p><center><img src="PVRShell_8h__dep__incl.png" border="0" usemap="#PVRShell.hdep_map" alt="Included by dependency graph"></center>
- <map name="PVRShell.hdep_map">
- <area href="PVRShellAPI_8cpp.html" shape="rect" coords="7,7,132,34" alt="">
- <area href="PVRShellOS_8cpp.html" shape="rect" coords="156,7,279,34" alt="">
- <area href="PVRShell_8cpp.html" shape="rect" coords="303,7,407,34" alt="">
- </map>
- <p>
- <a href="PVRShell_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="structSCmdLineOpt.html">SCmdLineOpt</a></td></tr>
- <tr><td class="mdescLeft"> </td><td class="mdescRight">Stores a variable name/value pair for an individual command-line option. </em> <a href="structSCmdLineOpt.html#_details">More...</a><em><br><br></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="classPVRShell.html">PVRShell</a></td></tr>
- <tr><td class="mdescLeft"> </td><td class="mdescRight">Inherited by the application; responsible for abstracting the OS and API. </em> <a href="classPVRShell.html#_details">More...</a><em><br><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="PVRShell_8h.html#a0">EXIT_NOERR_CODE</a> 0</td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="PVRShell_8h.html#a1">EXIT_ERR_CODE</a> (!EXIT_NOERR_CODE)</td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="PVRShell_8h.html#a2">PVRSHELL_UNREFERENCED_PARAMETER</a>(x) ((void) x)</td></tr>
- <tr><td colspan=2><br><h2>Enumerations</h2></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="PVRShell_8h.html#a72">PVRShellKeyName</a> { <br>
- <a class="el" href="PVRShell_8h.html#a72a3">PVRShellKeyNameNull</a>,
- <a class="el" href="PVRShell_8h.html#a72a4">PVRShellKeyNameQUIT</a>,
- <a class="el" href="PVRShell_8h.html#a72a5">PVRShellKeyNameSELECT</a>,
- <a class="el" href="PVRShell_8h.html#a72a6">PVRShellKeyNameACTION1</a>,
- <br>
- <a class="el" href="PVRShell_8h.html#a72a7">PVRShellKeyNameACTION2</a>,
- <a class="el" href="PVRShell_8h.html#a72a8">PVRShellKeyNameUP</a>,
- <a class="el" href="PVRShell_8h.html#a72a9">PVRShellKeyNameDOWN</a>,
- <a class="el" href="PVRShell_8h.html#a72a10">PVRShellKeyNameLEFT</a>,
- <br>
- <a class="el" href="PVRShell_8h.html#a72a11">PVRShellKeyNameRIGHT</a>,
- <a class="el" href="PVRShell_8h.html#a72a12">PVRShellKeyNameScreenshot</a>
- <br>
- }</td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="PVRShell_8h.html#a73">PVRShellKeyRotate</a> { <a class="el" href="PVRShell_8h.html#a73a13">PVRShellKeyRotateNone</a> = 0,
- <a class="el" href="PVRShell_8h.html#a73a14">PVRShellKeyRotate90</a>,
- <a class="el" href="PVRShell_8h.html#a73a15">PVRShellKeyRotate180</a>,
- <a class="el" href="PVRShell_8h.html#a73a16">PVRShellKeyRotate270</a>
- }</td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="PVRShell_8h.html#a74">EPVRShellButtonState</a> { <a class="el" href="PVRShell_8h.html#a74a17">ePVRShellButtonLeft</a> = 0x1,
- <a class="el" href="PVRShell_8h.html#a74a18">ePVRShellButtonRight</a> = 0x2,
- <a class="el" href="PVRShell_8h.html#a74a19">ePVRShellButtonMiddle</a> = 0x4
- }</td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="PVRShell_8h.html#a75">prefNameBoolEnum</a> { <br>
- <a class="el" href="PVRShell_8h.html#a75a20">prefFullScreen</a>,
- <a class="el" href="PVRShell_8h.html#a75a21">prefIsRotated</a>,
- <a class="el" href="PVRShell_8h.html#a75a22">prefPBufferContext</a>,
- <a class="el" href="PVRShell_8h.html#a75a23">prefPixmapContext</a>,
- <br>
- <a class="el" href="PVRShell_8h.html#a75a24">prefPixmapDisableCopy</a>,
- <a class="el" href="PVRShell_8h.html#a75a25">prefZbufferContext</a>,
- <a class="el" href="PVRShell_8h.html#a75a26">prefLockableBackBuffer</a>,
- <a class="el" href="PVRShell_8h.html#a75a27">prefSoftwareRendering</a>,
- <br>
- <a class="el" href="PVRShell_8h.html#a75a28">prefStencilBufferContext</a>,
- <a class="el" href="PVRShell_8h.html#a75a29">prefOpenVGContext</a>,
- <a class="el" href="PVRShell_8h.html#a75a30">prefAlphaFormatPre</a>,
- <a class="el" href="PVRShell_8h.html#a75a31">prefPowerSaving</a>,
- <br>
- <a class="el" href="PVRShell_8h.html#a75a32">prefOutputInfo</a>,
- <a class="el" href="PVRShell_8h.html#a75a33">prefNoShellSwapBuffer</a>
- <br>
- }</td></tr>
- <tr><td class="mdescLeft"> </td><td class="mdescRight">Boolean Shell preferences. <a href="#a75">More...</a><br><br></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="PVRShell_8h.html#a76">prefNameFloatEnum</a> { <a class="el" href="PVRShell_8h.html#a76a34">prefQuitAfterTime</a>
- }</td></tr>
- <tr><td class="mdescLeft"> </td><td class="mdescRight">Float Shell preferences. <a href="#a76">More...</a><br><br></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="PVRShell_8h.html#a77">prefNameIntEnum</a> { <br>
- <a class="el" href="PVRShell_8h.html#a77a35">prefEGLMajorVersion</a>,
- <a class="el" href="PVRShell_8h.html#a77a36">prefEGLMinorVersion</a>,
- <a class="el" href="PVRShell_8h.html#a77a37">prefWidth</a>,
- <a class="el" href="PVRShell_8h.html#a77a38">prefHeight</a>,
- <br>
- <a class="el" href="PVRShell_8h.html#a77a39">prefPositionX</a>,
- <a class="el" href="PVRShell_8h.html#a77a40">prefPositionY</a>,
- <a class="el" href="PVRShell_8h.html#a77a41">prefQuitAfterFrame</a>,
- <a class="el" href="PVRShell_8h.html#a77a42">prefSwapInterval</a>,
- <br>
- <a class="el" href="PVRShell_8h.html#a77a43">prefInitRepeats</a>,
- <a class="el" href="PVRShell_8h.html#a77a44">prefFSAAMode</a>,
- <a class="el" href="PVRShell_8h.html#a77a45">prefCommandLineOptNum</a>,
- <a class="el" href="PVRShell_8h.html#a77a46">prefColorBPP</a>,
- <br>
- <a class="el" href="PVRShell_8h.html#a77a47">prefDepthBPP</a>,
- <a class="el" href="PVRShell_8h.html#a77a48">prefRotateKeys</a>,
- <a class="el" href="PVRShell_8h.html#a77a49">prefButtonState</a>,
- <a class="el" href="PVRShell_8h.html#a77a50">prefCaptureFrameStart</a>,
- <br>
- <a class="el" href="PVRShell_8h.html#a77a51">prefCaptureFrameStop</a>,
- <a class="el" href="PVRShell_8h.html#a77a52">prefPriority</a>,
- <a class="el" href="PVRShell_8h.html#a77a53">prefConfig</a>,
- <a class="el" href="PVRShell_8h.html#a77a54">prefRequestedConfig</a>,
- <br>
- <a class="el" href="PVRShell_8h.html#a77a55">prefNativeDisplay</a>
- <br>
- }</td></tr>
- <tr><td class="mdescLeft"> </td><td class="mdescRight">Integer Shell preferences. <a href="#a77">More...</a><br><br></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="PVRShell_8h.html#a78">prefNamePtrEnum</a> { <br>
- <a class="el" href="PVRShell_8h.html#a78a56">prefD3DDevice</a>,
- <a class="el" href="PVRShell_8h.html#a78a57">prefEGLDisplay</a>,
- <a class="el" href="PVRShell_8h.html#a78a58">prefEGLSurface</a>,
- <a class="el" href="PVRShell_8h.html#a78a59">prefHINSTANCE</a>,
- <br>
- <a class="el" href="PVRShell_8h.html#a78a60">prefNativeWindowType</a>,
- <a class="el" href="PVRShell_8h.html#a78a61">prefAccelerometer</a>,
- <a class="el" href="PVRShell_8h.html#a78a62">prefPointerLocation</a>,
- <a class="el" href="PVRShell_8h.html#a78a63">prefPVR2DContext</a>
- <br>
- }</td></tr>
- <tr><td class="mdescLeft"> </td><td class="mdescRight">Pointers/Handlers Shell preferences. <a href="#a78">More...</a><br><br></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="PVRShell_8h.html#a79">prefNameConstPtrEnum</a> { <br>
- <a class="el" href="PVRShell_8h.html#a79a64">prefAppName</a>,
- <a class="el" href="PVRShell_8h.html#a79a65">prefReadPath</a>,
- <a class="el" href="PVRShell_8h.html#a79a66">prefWritePath</a>,
- <a class="el" href="PVRShell_8h.html#a79a67">prefCommandLine</a>,
- <br>
- <a class="el" href="PVRShell_8h.html#a79a68">prefCommandLineOpts</a>,
- <a class="el" href="PVRShell_8h.html#a79a69">prefExitMessage</a>,
- <a class="el" href="PVRShell_8h.html#a79a70">prefVersion</a>
- <br>
- }</td></tr>
- <tr><td class="mdescLeft"> </td><td class="mdescRight">Constant pointers Shell preferences. <a href="#a79">More...</a><br><br></td></tr>
- <tr><td colspan=2><br><h2>Functions</h2></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classPVRShell.html">PVRShell</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="PVRShell_8h.html#a71">NewDemo</a> ()</td></tr>
- </table>
- <hr><h2>Define Documentation</h2>
- <a class="anchor" name="a1" doxytag="PVRShell.h::EXIT_ERR_CODE" ></a><p>
- <br><br><h3>EXIT_ERR_CODE</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> #define EXIT_ERR_CODE (!EXIT_NOERR_CODE)
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- </td>
- </tr>
- </table>
- <a class="anchor" name="a0" doxytag="PVRShell.h::EXIT_NOERR_CODE" ></a><p>
- <br><br><h3>EXIT_NOERR_CODE</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> #define EXIT_NOERR_CODE 0
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- </td>
- </tr>
- </table>
- <a class="anchor" name="a2" doxytag="PVRShell.h::PVRSHELL_UNREFERENCED_PARAMETER" ></a><p>
- <br><br><h3>PVRSHELL_UNREFERENCED_PARAMETER</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> #define PVRSHELL_UNREFERENCED_PARAMETER</td>
- <td class="md" valign="top">( </td>
- <td class="md" nowrap valign="top">x </td>
- <td class="mdname1" valign="top" nowrap> </td>
- <td class="md" valign="top"> ) </td>
- <td class="md" nowrap> ((void) x)
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- </td>
- </tr>
- </table>
- <hr><h2>Enumeration Type Documentation</h2>
- <a class="anchor" name="a74" doxytag="PVRShell.h::EPVRShellButtonState" ></a><p>
- <br><br><h3>EPVRShellButtonState</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> enum <a class="el" href="PVRShell_8h.html#a74">EPVRShellButtonState</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- Pointer button mapping. <dl compact><dt><b>Enumeration values: </b></dt><dd>
- <table border=0 cellspacing=2 cellpadding=0>
- <tr><td valign=top><em><a class="anchor" name="a74a17" doxytag="ePVRShellButtonLeft" ></a>ePVRShellButtonLeft</em> </td><td>
- </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a74a18" doxytag="ePVRShellButtonRight" ></a>ePVRShellButtonRight</em> </td><td>
- </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a74a19" doxytag="ePVRShellButtonMiddle" ></a>ePVRShellButtonMiddle</em> </td><td>
- </td></tr>
- </table>
- </dl>
- </td>
- </tr>
- </table>
- <a class="anchor" name="a75" doxytag="PVRShell.h::prefNameBoolEnum" ></a><p>
- <br><br><h3>prefNameBoolEnum</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> enum <a class="el" href="PVRShell_8h.html#a75">prefNameBoolEnum</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- Boolean Shell preferences.
- <p>
- <dl compact><dt><b>Enumeration values: </b></dt><dd>
- <table border=0 cellspacing=2 cellpadding=0>
- <tr><td valign=top><em><a class="anchor" name="a75a20" doxytag="prefFullScreen" ></a>prefFullScreen</em> </td><td>
- Set to: 1 for full-screen rendering; 0 for windowed </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a75a21" doxytag="prefIsRotated" ></a>prefIsRotated</em> </td><td>
- Query this to learn whether screen is rotated </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a75a22" doxytag="prefPBufferContext" ></a>prefPBufferContext</em> </td><td>
- 1 if you need pbuffer support (default is pbuffer not needed) </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a75a23" doxytag="prefPixmapContext" ></a>prefPixmapContext</em> </td><td>
- 1 to use a pixmap as a render-target (default off) </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a75a24" doxytag="prefPixmapDisableCopy" ></a>prefPixmapDisableCopy</em> </td><td>
- 1 to disable the copy if pixmaps are used </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a75a25" doxytag="prefZbufferContext" ></a>prefZbufferContext</em> </td><td>
- 1 if you wish to have zbuffer support (default to on) </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a75a26" doxytag="prefLockableBackBuffer" ></a>prefLockableBackBuffer</em> </td><td>
- DX9 only: true to use D3DPRESENTFLAG_LOCKABLE_BACKBUFFER (default: false) </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a75a27" doxytag="prefSoftwareRendering" ></a>prefSoftwareRendering</em> </td><td>
- 1 to select software rendering (default: off, i.e. use hardware) </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a75a28" doxytag="prefStencilBufferContext" ></a>prefStencilBufferContext</em> </td><td>
- 1 if you wish to have stencil support (default: off) </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a75a29" doxytag="prefOpenVGContext" ></a>prefOpenVGContext</em> </td><td>
- EGL only: 1 to initialize OpenVG instead of OpenGL ES (default: off) </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a75a30" doxytag="prefAlphaFormatPre" ></a>prefAlphaFormatPre</em> </td><td>
- EGL only: 1 to create the EGL surface with EGL_ALPHA_FORMAT_PRE (default: 0) </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a75a31" doxytag="prefPowerSaving" ></a>prefPowerSaving</em> </td><td>
- If true then the app will go into powersaving mode (if available) when not in use. </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a75a32" doxytag="prefOutputInfo" ></a>prefOutputInfo</em> </td><td>
- If true then the app will output helpful information such as colour buffer format via PVRShellOutputDebug. </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a75a33" doxytag="prefNoShellSwapBuffer" ></a>prefNoShellSwapBuffer</em> </td><td>
- EGL: If true then the shell won't call eglswapbuffers at the end of each frame. </td></tr>
- </table>
- </dl>
- </td>
- </tr>
- </table>
- <a class="anchor" name="a79" doxytag="PVRShell.h::prefNameConstPtrEnum" ></a><p>
- <br><br><h3>prefNameConstPtrEnum</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> enum <a class="el" href="PVRShell_8h.html#a79">prefNameConstPtrEnum</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- Constant pointers Shell preferences.
- <p>
- <dl compact><dt><b>Enumeration values: </b></dt><dd>
- <table border=0 cellspacing=2 cellpadding=0>
- <tr><td valign=top><em><a class="anchor" name="a79a64" doxytag="prefAppName" ></a>prefAppName</em> </td><td>
- ptrValue is char* </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a79a65" doxytag="prefReadPath" ></a>prefReadPath</em> </td><td>
- ptrValue is char*; will include a trailing slash </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a79a66" doxytag="prefWritePath" ></a>prefWritePath</em> </td><td>
- ptrValue is char*; will include a trailing slash </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a79a67" doxytag="prefCommandLine" ></a>prefCommandLine</em> </td><td>
- used to retrieve the entire application command line </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a79a68" doxytag="prefCommandLineOpts" ></a>prefCommandLineOpts</em> </td><td>
- ptrValue is SCmdLineOpt*; retrieves an array of arg/value pairs (parsed from the command line) </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a79a69" doxytag="prefExitMessage" ></a>prefExitMessage</em> </td><td>
- ptrValue is char*; gives the shell a message to show on exit, typically an error </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a79a70" doxytag="prefVersion" ></a>prefVersion</em> </td><td>
- ptrValue is char* </td></tr>
- </table>
- </dl>
- </td>
- </tr>
- </table>
- <a class="anchor" name="a76" doxytag="PVRShell.h::prefNameFloatEnum" ></a><p>
- <br><br><h3>prefNameFloatEnum</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> enum <a class="el" href="PVRShell_8h.html#a76">prefNameFloatEnum</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- Float Shell preferences.
- <p>
- <dl compact><dt><b>Enumeration values: </b></dt><dd>
- <table border=0 cellspacing=2 cellpadding=0>
- <tr><td valign=top><em><a class="anchor" name="a76a34" doxytag="prefQuitAfterTime" ></a>prefQuitAfterTime</em> </td><td>
- Shell will quit after this number of seconds (-1 to disable) </td></tr>
- </table>
- </dl>
- </td>
- </tr>
- </table>
- <a class="anchor" name="a77" doxytag="PVRShell.h::prefNameIntEnum" ></a><p>
- <br><br><h3>prefNameIntEnum</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> enum <a class="el" href="PVRShell_8h.html#a77">prefNameIntEnum</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- Integer Shell preferences.
- <p>
- <dl compact><dt><b>Enumeration values: </b></dt><dd>
- <table border=0 cellspacing=2 cellpadding=0>
- <tr><td valign=top><em><a class="anchor" name="a77a35" doxytag="prefEGLMajorVersion" ></a>prefEGLMajorVersion</em> </td><td>
- EGL: returns the major version as returned by eglInitialize() </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a77a36" doxytag="prefEGLMinorVersion" ></a>prefEGLMinorVersion</em> </td><td>
- EGL: returns the minor version as returned by eglInitialize() </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a77a37" doxytag="prefWidth" ></a>prefWidth</em> </td><td>
- Width of render target </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a77a38" doxytag="prefHeight" ></a>prefHeight</em> </td><td>
- Height of render target </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a77a39" doxytag="prefPositionX" ></a>prefPositionX</em> </td><td>
- X position of the window </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a77a40" doxytag="prefPositionY" ></a>prefPositionY</em> </td><td>
- Y position of the window </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a77a41" doxytag="prefQuitAfterFrame" ></a>prefQuitAfterFrame</em> </td><td>
- Shell will quit after this number of frames (-1 to disable) </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a77a42" doxytag="prefSwapInterval" ></a>prefSwapInterval</em> </td><td>
- 0 to preventing waiting for monitor vertical syncs </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a77a43" doxytag="prefInitRepeats" ></a>prefInitRepeats</em> </td><td>
- Number of times to reinitialise (if >0 when app returns false from RenderScene(), shell will ReleaseView(), InitView() then re-enter RenderScene() loop). Decrements on each initialisation. </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a77a44" doxytag="prefFSAAMode" ></a>prefFSAAMode</em> </td><td>
- Set to: 0 to disable full-screen anti-aliasing; 1 for 2x; 2 for 4x. </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a77a45" doxytag="prefCommandLineOptNum" ></a>prefCommandLineOptNum</em> </td><td>
- Returns the length of the array returned by prefCommandLineOpts </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a77a46" doxytag="prefColorBPP" ></a>prefColorBPP</em> </td><td>
- Allows you to specify a desired color buffer size e.g. 16, 32. </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a77a47" doxytag="prefDepthBPP" ></a>prefDepthBPP</em> </td><td>
- Allows you to specify a desired depth buffer size e.g. 16, 24. </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a77a48" doxytag="prefRotateKeys" ></a>prefRotateKeys</em> </td><td>
- Allows you to specify and retrieve how the keyboard input is transformed </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a77a49" doxytag="prefButtonState" ></a>prefButtonState</em> </td><td>
- pointer button state </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a77a50" doxytag="prefCaptureFrameStart" ></a>prefCaptureFrameStart</em> </td><td>
- The frame to start capturing screenshots from </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a77a51" doxytag="prefCaptureFrameStop" ></a>prefCaptureFrameStop</em> </td><td>
- The frame to stop capturing screenshots at </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a77a52" doxytag="prefPriority" ></a>prefPriority</em> </td><td>
- EGL: If supported will set the egl context priority; 0 for low, 1 for med and 2 for high. </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a77a53" doxytag="prefConfig" ></a>prefConfig</em> </td><td>
- EGL: Get the chosen EGL config. </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a77a54" doxytag="prefRequestedConfig" ></a>prefRequestedConfig</em> </td><td>
- EGL: Force the shell to use a particular EGL config. </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a77a55" doxytag="prefNativeDisplay" ></a>prefNativeDisplay</em> </td><td>
- EGL: Allows you to specify the native display to use if the device has more that one. </td></tr>
- </table>
- </dl>
- </td>
- </tr>
- </table>
- <a class="anchor" name="a78" doxytag="PVRShell.h::prefNamePtrEnum" ></a><p>
- <br><br><h3>prefNamePtrEnum</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> enum <a class="el" href="PVRShell_8h.html#a78">prefNamePtrEnum</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- Pointers/Handlers Shell preferences.
- <p>
- <dl compact><dt><b>Enumeration values: </b></dt><dd>
- <table border=0 cellspacing=2 cellpadding=0>
- <tr><td valign=top><em><a class="anchor" name="a78a56" doxytag="prefD3DDevice" ></a>prefD3DDevice</em> </td><td>
- D3D: returns the device pointer </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a78a57" doxytag="prefEGLDisplay" ></a>prefEGLDisplay</em> </td><td>
- EGL: returns the EGLDisplay </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a78a58" doxytag="prefEGLSurface" ></a>prefEGLSurface</em> </td><td>
- EGL: returns the EGLSurface </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a78a59" doxytag="prefHINSTANCE" ></a>prefHINSTANCE</em> </td><td>
- Windows: returns the application instance handle </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a78a60" doxytag="prefNativeWindowType" ></a>prefNativeWindowType</em> </td><td>
- Returns the window handle </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a78a61" doxytag="prefAccelerometer" ></a>prefAccelerometer</em> </td><td>
- Accelerometer values </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a78a62" doxytag="prefPointerLocation" ></a>prefPointerLocation</em> </td><td>
- Mouse pointer/touch location values </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a78a63" doxytag="prefPVR2DContext" ></a>prefPVR2DContext</em> </td><td>
- PVR2D: returns the PVR2D context </td></tr>
- </table>
- </dl>
- </td>
- </tr>
- </table>
- <a class="anchor" name="a72" doxytag="PVRShell.h::PVRShellKeyName" ></a><p>
- <br><br><h3>PVRShellKeyName</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> enum <a class="el" href="PVRShell_8h.html#a72">PVRShellKeyName</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- Keyboard mapping. <dl compact><dt><b>Enumeration values: </b></dt><dd>
- <table border=0 cellspacing=2 cellpadding=0>
- <tr><td valign=top><em><a class="anchor" name="a72a3" doxytag="PVRShellKeyNameNull" ></a>PVRShellKeyNameNull</em> </td><td>
- </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a72a4" doxytag="PVRShellKeyNameQUIT" ></a>PVRShellKeyNameQUIT</em> </td><td>
- </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a72a5" doxytag="PVRShellKeyNameSELECT" ></a>PVRShellKeyNameSELECT</em> </td><td>
- </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a72a6" doxytag="PVRShellKeyNameACTION1" ></a>PVRShellKeyNameACTION1</em> </td><td>
- </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a72a7" doxytag="PVRShellKeyNameACTION2" ></a>PVRShellKeyNameACTION2</em> </td><td>
- </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a72a8" doxytag="PVRShellKeyNameUP" ></a>PVRShellKeyNameUP</em> </td><td>
- </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a72a9" doxytag="PVRShellKeyNameDOWN" ></a>PVRShellKeyNameDOWN</em> </td><td>
- </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a72a10" doxytag="PVRShellKeyNameLEFT" ></a>PVRShellKeyNameLEFT</em> </td><td>
- </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a72a11" doxytag="PVRShellKeyNameRIGHT" ></a>PVRShellKeyNameRIGHT</em> </td><td>
- </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a72a12" doxytag="PVRShellKeyNameScreenshot" ></a>PVRShellKeyNameScreenshot</em> </td><td>
- </td></tr>
- </table>
- </dl>
- </td>
- </tr>
- </table>
- <a class="anchor" name="a73" doxytag="PVRShell.h::PVRShellKeyRotate" ></a><p>
- <br><br><h3>PVRShellKeyRotate</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> enum <a class="el" href="PVRShell_8h.html#a73">PVRShellKeyRotate</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- <dl compact><dt><b>Enumeration values: </b></dt><dd>
- <table border=0 cellspacing=2 cellpadding=0>
- <tr><td valign=top><em><a class="anchor" name="a73a13" doxytag="PVRShellKeyRotateNone" ></a>PVRShellKeyRotateNone</em> </td><td>
- </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a73a14" doxytag="PVRShellKeyRotate90" ></a>PVRShellKeyRotate90</em> </td><td>
- </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a73a15" doxytag="PVRShellKeyRotate180" ></a>PVRShellKeyRotate180</em> </td><td>
- </td></tr>
- <tr><td valign=top><em><a class="anchor" name="a73a16" doxytag="PVRShellKeyRotate270" ></a>PVRShellKeyRotate270</em> </td><td>
- </td></tr>
- </table>
- </dl>
- </td>
- </tr>
- </table>
- <hr><h2>Function Documentation</h2>
- <a class="anchor" name="a71" doxytag="PVRShell.h::NewDemo" ></a><p>
- <br><br><h3>NewDemo</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> <a class="el" href="classPVRShell.html">PVRShell</a>* NewDemo </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>
- <dl compact><dt><b>Returns:</b></dt><dd>The demo supplied by the user </dd></dl>
- <dl compact><dt><b>Description:</b></dt><dd>This function must be implemented by the user of the shell. The user should return its <a class="el" href="classPVRShell.html">PVRShell</a> object defining the behaviour of the application </dd></dl>
- </td>
- </tr>
- </table>
- <br>
- <br>
- <P align=left><FONT size=2><STRONG><A
- href="http://www.imgtec.com/powervr/insider/legal/index.asp">Copyright</A> ©
- 1999-2008, Imagination Technologies Ltd.</STRONG></FONT></P>
- <hr>
- <address style="align: left;"><small><FONT color=f0f>
- Generated by <a href="http://www.doxygen.org/index.html">DOXYGEN</a> 1.3.6</small></address>
- </body>
- </html>
|