diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/classNL3D_1_1IVertexBufferHard.html | 739 |
1 files changed, 739 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1IVertexBufferHard.html b/docs/doxygen/nel/classNL3D_1_1IVertexBufferHard.html new file mode 100644 index 00000000..4d29b76d --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1IVertexBufferHard.html @@ -0,0 +1,739 @@ +<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<HTML> +<HEAD> + <TITLE>nevrax.org : docs</TITLE> + <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css"> + <link href="doxygen.css" rel="stylesheet" type="text/css"> +</HEAD> +<BODY MARGINHEIGHT="0" MARGINWIDTH="0"> + +<!-- uplinks --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> +</TABLE> + +<!-- main table --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + + <!------ Begin Box ------> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> + <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> + <TABLE cellspacing=0 cellpadding=1 border=0> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Documentation</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.14 --> +<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> <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> </center> +<hr><h1>NL3D::IVertexBufferHard Class Reference</h1>This a vertex buffer created by Driver. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="vertex__buffer__hard_8h-source.html">vertex_buffer_hard.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::IVertexBufferHard: +<p><center><img src="classNL3D_1_1IVertexBufferHard.gif" usemap="#NL3D::IVertexBufferHard_map" border="0"></center> +<map name="NL3D::IVertexBufferHard_map"> +<area href="classNLMISC_1_1CRefCount.html" alt="NLMISC::CRefCount" shape="rect" coords="111,0,324,24"> +<area href="classNL3D_1_1IVertexBufferHardGL.html" alt="NL3D::IVertexBufferHardGL" shape="rect" coords="111,112,324,136"> +<area href="classNL3D_1_1CVertexBufferHardGLATI.html" alt="NL3D::CVertexBufferHardGLATI" shape="rect" coords="0,168,213,192"> +<area href="classNL3D_1_1CVertexBufferHardGLNVidia.html" alt="NL3D::CVertexBufferHardGLNVidia" shape="rect" coords="223,168,436,192"> +</map> +<a href="classNL3D_1_1IVertexBufferHard-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 colspan="2"><div class="groupHeader">Misc Get.</div></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a9">uint16</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1IVertexBufferHard.html#z902_0">getVertexFormat</a> (void) const</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a9">uint16</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1IVertexBufferHard.html#z902_1">getVertexSize</a> (void) const</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1IVertexBufferHard.html#z902_2">getNumVertices</a> (void) const</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CVertexBuffer.html#s54">CVertexBuffer::TType</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1IVertexBufferHard.html#z902_3">getValueType</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a415">value</a>) const</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a7">uint8</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1IVertexBufferHard.html#z902_4">getNumWeight</a> () const</td></tr> +<tr><td colspan="2"><div class="groupHeader">Get component offsets.</div></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a14">sint</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1IVertexBufferHard.html#z903_0">getValueOff</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a415">value</a>) const</td></tr> +<tr><td colspan="2"><div class="groupHeader">Vertex access.</div></td></tr> +<tr><td nowrap align=right valign=top>virtual void * </td><td valign=bottom><a class="el" href="classNL3D_1_1IVertexBufferHard.html#z904_0">lock</a> ()=0</td></tr> +<tr><td> </td><td><font size=-1><em>Lock the entire VertexBuffer.</em> <a href="#z904_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1IVertexBufferHard.html#z904_1">unlock</a> ()=0</td></tr> +<tr><td> </td><td><font size=-1><em>UnLock the VertexBuffer so the Gfx card can now use it.</em> <a href="#z904_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1IVertexBufferHard.html#z904_2">unlock</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> startVert, <a class="el" href="memory__common_8h.html#a15">uint</a> endVert)=0</td></tr> +<tr><td> </td><td><font size=-1><em>Same as <a class="el" href="classNL3D_1_1IVertexBufferHard.html#z904_1">unlock</a>() but give hints to driver on vertices that have changed.</em> <a href="#z904_2">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNL3D_1_1IVertexBufferHard.html#b0">IVertexBufferHard</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Constructor: build good offfsets / size.</em> <a href="#b0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classNL3D_1_1IVertexBufferHard.html#b1">~IVertexBufferHard</a> ()</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1IVertexBufferHard.html#b2">initFormat</a> (<a class="el" href="memory__common_8h.html#a9">uint16</a> vertexFormat, const <a class="el" href="memory__common_8h.html#a7">uint8</a> *typeArray, <a class="el" href="memory__common_8h.html#a11">uint32</a> numVertices)</td></tr> +<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a7">uint8</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1IVertexBufferHard.html#n0">_Type</a> [CVertexBuffer::NumValue]</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a7">uint8</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1IVertexBufferHard.html#n1">_Pad</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a9">uint16</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1IVertexBufferHard.html#n2">_VertexSize</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a9">uint16</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1IVertexBufferHard.html#n3">_Flags</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a9">uint16</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1IVertexBufferHard.html#n4">_InternalFlags</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1IVertexBufferHard.html#n5">_NbVerts</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a9">uint16</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1IVertexBufferHard.html#n6">_Offset</a> [CVertexBuffer::NumValue]</td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +This a vertex buffer created by Driver. +<p> +His pointer may be allocated on AGP Ram or VRAM. see <a class="el" href="classNL3D_1_1CVertexBuffer.html">CVertexBuffer</a>, because it use the same flags for vertex format. <a class="el" href="classNL3D_1_1IVertexBufferHard.html">IVertexBufferHard</a> are created / deleted by <a class="el" href="classNL3D_1_1IDriver.html">IDriver</a>. <dl compact><dt><b> +Author: </b><dd> +Lionel Berenguier , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2001 </dl> +<p> + +<p> +Definition at line <a class="el" href="vertex__buffer__hard_8h-source.html#l00046">46</a> of file <a class="el" href="vertex__buffer__hard_8h-source.html">vertex_buffer_hard.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="b0" doxytag="NL3D::IVertexBufferHard::IVertexBufferHard"></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"> NL3D::IVertexBufferHard::IVertexBufferHard </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, protected]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor: build good offfsets / size. +<p> + +<p> +Definition at line <a class="el" href="vertex__buffer__hard_8h-source.html#l00130">130</a> of file <a class="el" href="vertex__buffer__hard_8h-source.html">vertex_buffer_hard.h</a>. </td> + </tr> +</table> +<a name="b1" doxytag="NL3D::IVertexBufferHard::~IVertexBufferHard"></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"> virtual NL3D::IVertexBufferHard::~IVertexBufferHard </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, protected, virtual]</code></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="vertex__buffer__hard_8h-source.html#l00131">131</a> of file <a class="el" href="vertex__buffer__hard_8h-source.html">vertex_buffer_hard.h</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="z902_2" doxytag="NL3D::IVertexBufferHard::getNumVertices"></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="memory__common_8h.html#a11">uint32</a> NL3D::IVertexBufferHard::getNumVertices </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></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="vertex__buffer__hard_8h-source.html#l00054">54</a> of file <a class="el" href="vertex__buffer__hard_8h-source.html">vertex_buffer_hard.h</a>. +<p> +Referenced by <a class="el" href="driver__opengl__vertex__buffer__hard_8cpp-source.html#l00619">NL3D::CVertexBufferHardGLATI::unlock</a>. </td> + </tr> +</table> +<a name="z902_4" doxytag="NL3D::IVertexBufferHard::getNumWeight"></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="memory__common_8h.html#a7">uint8</a> NL3D::IVertexBufferHard::getNumWeight </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const</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="vertex__buffer__hard_8cpp-source.html#l00071">71</a> of file <a class="el" href="vertex__buffer__hard_8cpp-source.html">vertex_buffer_hard.cpp</a>. +<p> +References <a class="el" href="vertex__buffer__hard_8h-source.html#l00111">_Type</a>. </td> + </tr> +</table> +<a name="z903_0" doxytag="NL3D::IVertexBufferHard::getValueOff"></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="memory__common_8h.html#a14">sint</a> NL3D::IVertexBufferHard::getValueOff </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>value</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<ul> +<li>* - * - * - * - * - * - </ul> + +<p> +Definition at line <a class="el" href="vertex__buffer__hard_8h-source.html#l00081">81</a> of file <a class="el" href="vertex__buffer__hard_8h-source.html">vertex_buffer_hard.h</a>. +<p> +References <a class="el" href="vertex__buffer__hard_8h-source.html#l00118">_Flags</a>, <a class="el" href="vertex__buffer__hard_8h-source.html#l00127">_Offset</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00828">value</a>. </td> + </tr> +</table> +<a name="z902_3" doxytag="NL3D::IVertexBufferHard::getValueType"></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="classNL3D_1_1CVertexBuffer.html#s54">CVertexBuffer::TType</a> NL3D::IVertexBufferHard::getValueType </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>value</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></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="vertex__buffer__hard_8h-source.html#l00055">55</a> of file <a class="el" href="vertex__buffer__hard_8h-source.html">vertex_buffer_hard.h</a>. +<p> +References <a class="el" href="vertex__buffer__hard_8h-source.html#l00111">_Type</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00828">value</a>. </td> + </tr> +</table> +<a name="z902_0" doxytag="NL3D::IVertexBufferHard::getVertexFormat"></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="memory__common_8h.html#a9">uint16</a> NL3D::IVertexBufferHard::getVertexFormat </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></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="vertex__buffer__hard_8h-source.html#l00052">52</a> of file <a class="el" href="vertex__buffer__hard_8h-source.html">vertex_buffer_hard.h</a>. </td> + </tr> +</table> +<a name="z902_1" doxytag="NL3D::IVertexBufferHard::getVertexSize"></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="memory__common_8h.html#a9">uint16</a> NL3D::IVertexBufferHard::getVertexSize </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></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="vertex__buffer__hard_8h-source.html#l00053">53</a> of file <a class="el" href="vertex__buffer__hard_8h-source.html">vertex_buffer_hard.h</a>. +<p> +Referenced by <a class="el" href="driver__opengl__vertex__buffer__hard_8cpp-source.html#l00619">NL3D::CVertexBufferHardGLATI::unlock</a>. </td> + </tr> +</table> +<a name="b2" doxytag="NL3D::IVertexBufferHard::initFormat"></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"> void NL3D::IVertexBufferHard::initFormat </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a9">uint16</a> </td> + <td class="mdname" nowrap> <em>vertexFormat</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="memory__common_8h.html#a7">uint8</a> * </td> + <td class="mdname" nowrap> <em>typeArray</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>numVertices</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [protected]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="classNL3D_1_1IVertexBufferHardGL.html#a4">NL3D::IVertexBufferHardGL</a>. +<p> +Definition at line <a class="el" href="vertex__buffer__hard_8cpp-source.html#l00036">36</a> of file <a class="el" href="vertex__buffer__hard_8cpp-source.html">vertex_buffer_hard.cpp</a>. +<p> +References <a class="el" href="vertex__buffer__hard_8h-source.html#l00118">_Flags</a>, <a class="el" href="vertex__buffer__hard_8h-source.html#l00124">_NbVerts</a>, <a class="el" href="vertex__buffer__hard_8h-source.html#l00127">_Offset</a>, <a class="el" href="vertex__buffer__hard_8h-source.html#l00111">_Type</a>, <a class="el" href="vertex__buffer__hard_8h-source.html#l00115">_VertexSize</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00828">value</a>. </td> + </tr> +</table> +<a name="z904_0" doxytag="NL3D::IVertexBufferHard::lock"></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"> virtual void* NL3D::IVertexBufferHard::lock </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Lock the entire VertexBuffer. +<p> +The returned buffer is a write only buffer. (undefined result if you read it). Write note:<ul> +<li>for VRAM VertexBufferHard, you should write only one time, to init.<li>for AGP VertexBufferHard, you should write sequentially to take full advantage of the write combiners. </ul> +<dl compact><dt><b> +Returns: </b><dd> +the adress of the vertex 0. Use <a class="el" href="classNL3D_1_1IVertexBufferHard.html#z902_1">getVertexSize</a>(), get*Off() ... to access any part of this VertexBuffer. </dl> +<p> +Implemented in <a class="el" href="classNL3D_1_1CVertexBufferHardGLNVidia.html#z424_0">NL3D::CVertexBufferHardGLNVidia</a>. </td> + </tr> +</table> +<a name="z904_2" doxytag="NL3D::IVertexBufferHard::unlock"></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"> virtual void NL3D::IVertexBufferHard::unlock </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>startVert</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>endVert</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Same as <a class="el" href="classNL3D_1_1IVertexBufferHard.html#z904_1">unlock</a>() but give hints to driver on vertices that have changed. +<p> +Used by ATI-OpenGL drivers. NB: driver may still ignore this information, and so take into acount all vertices <dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>startVert</em> </td><td> +the fisrt vertex to update </td></tr> +<tr><td valign=top><em>endVert</em> </td><td> +the last vertex (not included) to update => numVertices= vertEnd-vertBegin. Hence <a class="el" href="classNL3D_1_1IVertexBufferHard.html#z904_1">unlock</a>() as the same effect as unlock(0, <a class="el" href="classNL3D_1_1IVertexBufferHard.html#z902_2">getNumVertices</a>()); </td></tr> +</table> +</dl> +<p> +Implemented in <a class="el" href="classNL3D_1_1CVertexBufferHardGLNVidia.html#z424_2">NL3D::CVertexBufferHardGLNVidia</a>. </td> + </tr> +</table> +<a name="z904_1" doxytag="NL3D::IVertexBufferHard::unlock"></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"> virtual void NL3D::IVertexBufferHard::unlock </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +UnLock the VertexBuffer so the Gfx card can now use it. +<p> + +<p> +Implemented in <a class="el" href="classNL3D_1_1CVertexBufferHardGLNVidia.html#z424_1">NL3D::CVertexBufferHardGLNVidia</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="n3" doxytag="NL3D::IVertexBufferHard::_Flags"></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="memory__common_8h.html#a9">uint16</a> NL3D::IVertexBufferHard::_Flags<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vertex__buffer__hard_8h-source.html#l00118">118</a> of file <a class="el" href="vertex__buffer__hard_8h-source.html">vertex_buffer_hard.h</a>. +<p> +Referenced by <a class="el" href="vertex__buffer__hard_8h-source.html#l00081">getValueOff</a>, and <a class="el" href="vertex__buffer__hard_8cpp-source.html#l00036">initFormat</a>. </td> + </tr> +</table> +<a name="n4" doxytag="NL3D::IVertexBufferHard::_InternalFlags"></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="memory__common_8h.html#a9">uint16</a> NL3D::IVertexBufferHard::_InternalFlags<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vertex__buffer__hard_8h-source.html#l00121">121</a> of file <a class="el" href="vertex__buffer__hard_8h-source.html">vertex_buffer_hard.h</a>. </td> + </tr> +</table> +<a name="n5" doxytag="NL3D::IVertexBufferHard::_NbVerts"></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="memory__common_8h.html#a11">uint32</a> NL3D::IVertexBufferHard::_NbVerts<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vertex__buffer__hard_8h-source.html#l00124">124</a> of file <a class="el" href="vertex__buffer__hard_8h-source.html">vertex_buffer_hard.h</a>. +<p> +Referenced by <a class="el" href="vertex__buffer__hard_8cpp-source.html#l00036">initFormat</a>. </td> + </tr> +</table> +<a name="n6" doxytag="NL3D::IVertexBufferHard::_Offset"></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="memory__common_8h.html#a9">uint16</a> NL3D::IVertexBufferHard::_Offset[CVertexBuffer::NumValue]<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vertex__buffer__hard_8h-source.html#l00127">127</a> of file <a class="el" href="vertex__buffer__hard_8h-source.html">vertex_buffer_hard.h</a>. +<p> +Referenced by <a class="el" href="vertex__buffer__hard_8h-source.html#l00081">getValueOff</a>, and <a class="el" href="vertex__buffer__hard_8cpp-source.html#l00036">initFormat</a>. </td> + </tr> +</table> +<a name="n1" doxytag="NL3D::IVertexBufferHard::_Pad"></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="memory__common_8h.html#a7">uint8</a> NL3D::IVertexBufferHard::_Pad<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vertex__buffer__hard_8h-source.html#l00112">112</a> of file <a class="el" href="vertex__buffer__hard_8h-source.html">vertex_buffer_hard.h</a>. </td> + </tr> +</table> +<a name="n0" doxytag="NL3D::IVertexBufferHard::_Type"></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="memory__common_8h.html#a7">uint8</a> NL3D::IVertexBufferHard::_Type[CVertexBuffer::NumValue]<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vertex__buffer__hard_8h-source.html#l00111">111</a> of file <a class="el" href="vertex__buffer__hard_8h-source.html">vertex_buffer_hard.h</a>. +<p> +Referenced by <a class="el" href="vertex__buffer__hard_8cpp-source.html#l00071">getNumWeight</a>, <a class="el" href="vertex__buffer__hard_8h-source.html#l00055">getValueType</a>, and <a class="el" href="vertex__buffer__hard_8cpp-source.html#l00036">initFormat</a>. </td> + </tr> +</table> +<a name="n2" doxytag="NL3D::IVertexBufferHard::_VertexSize"></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="memory__common_8h.html#a9">uint16</a> NL3D::IVertexBufferHard::_VertexSize<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vertex__buffer__hard_8h-source.html#l00115">115</a> of file <a class="el" href="vertex__buffer__hard_8h-source.html">vertex_buffer_hard.h</a>. +<p> +Referenced by <a class="el" href="vertex__buffer__hard_8cpp-source.html#l00036">initFormat</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="vertex__buffer__hard_8h-source.html">vertex_buffer_hard.h</a><li><a class="el" href="vertex__buffer__hard_8cpp-source.html">vertex_buffer_hard.cpp</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML> |