wut/group__gx2r__buffer.html

448 lines
21 KiB
HTML
Raw Normal View History

2016-10-09 21:18:25 +01:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>WUT: Buffer</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">WUT
&#160;<span id="projectnumber">0.1</span>
</div>
<div id="projectbrief">Wii U Toolchain</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Buffer<div class="ingroups"><a class="el" href="group__gx2r.html">gx2r</a></div></div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_g_x2_r_buffer.html">GX2RBuffer</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga808cb84d50a1c505d181f494f6a48b82"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct_g_x2_r_buffer.html">GX2RBuffer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2r__buffer.html#ga808cb84d50a1c505d181f494f6a48b82">GX2RBuffer</a></td></tr>
<tr class="separator:ga808cb84d50a1c505d181f494f6a48b82"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga8b8919046549b1ca21354c847fc9c354"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2r__buffer.html#ga8b8919046549b1ca21354c847fc9c354">GX2RBufferExists</a> (<a class="el" href="struct_g_x2_r_buffer.html">GX2RBuffer</a> *buffer)</td></tr>
<tr class="separator:ga8b8919046549b1ca21354c847fc9c354"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab19e7088d60125af1584f693d5802925"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2r__buffer.html#gab19e7088d60125af1584f693d5802925">GX2RCreateBuffer</a> (<a class="el" href="struct_g_x2_r_buffer.html">GX2RBuffer</a> *buffer)</td></tr>
<tr class="separator:gab19e7088d60125af1584f693d5802925"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga787db449281c58d088968c65139c173f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2r__buffer.html#ga787db449281c58d088968c65139c173f">GX2RCreateBufferUserMemory</a> (<a class="el" href="struct_g_x2_r_buffer.html">GX2RBuffer</a> *buffer, void *memory, uint32_t size)</td></tr>
<tr class="separator:ga787db449281c58d088968c65139c173f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga726781c4174e718ca5c79f7562b77f5a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2r__buffer.html#ga726781c4174e718ca5c79f7562b77f5a">GX2RDestroyBufferEx</a> (<a class="el" href="struct_g_x2_r_buffer.html">GX2RBuffer</a> *buffer, <a class="el" href="group__gx2r__resource.html#ga5038cc0d0ddfb9c5997bc24c25374985">GX2RResourceFlags</a> flags)</td></tr>
<tr class="separator:ga726781c4174e718ca5c79f7562b77f5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4485438c08317df919ca4e53e90410f7"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2r__buffer.html#ga4485438c08317df919ca4e53e90410f7">GX2RGetBufferAlignment</a> (<a class="el" href="group__gx2r__resource.html#ga5038cc0d0ddfb9c5997bc24c25374985">GX2RResourceFlags</a> flags)</td></tr>
<tr class="separator:ga4485438c08317df919ca4e53e90410f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafc7e9cd97db3a19ab5e1a0784ef70a9b"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2r__buffer.html#gafc7e9cd97db3a19ab5e1a0784ef70a9b">GX2RGetBufferAllocationSize</a> (<a class="el" href="struct_g_x2_r_buffer.html">GX2RBuffer</a> *buffer)</td></tr>
<tr class="separator:gafc7e9cd97db3a19ab5e1a0784ef70a9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2cbec5a298f17a33debe37b7b53f2a85"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2r__buffer.html#ga2cbec5a298f17a33debe37b7b53f2a85">GX2RInvalidateBuffer</a> (<a class="el" href="struct_g_x2_r_buffer.html">GX2RBuffer</a> *buffer, <a class="el" href="group__gx2r__resource.html#ga5038cc0d0ddfb9c5997bc24c25374985">GX2RResourceFlags</a> flags)</td></tr>
<tr class="separator:ga2cbec5a298f17a33debe37b7b53f2a85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga611b101d775cbca3faa125af73e26497"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2r__buffer.html#ga611b101d775cbca3faa125af73e26497">GX2RLockBufferEx</a> (<a class="el" href="struct_g_x2_r_buffer.html">GX2RBuffer</a> *buffer, <a class="el" href="group__gx2r__resource.html#ga5038cc0d0ddfb9c5997bc24c25374985">GX2RResourceFlags</a> flags)</td></tr>
<tr class="separator:ga611b101d775cbca3faa125af73e26497"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa2e9a3efd68367aa6674496981b64c83"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2r__buffer.html#gaa2e9a3efd68367aa6674496981b64c83">GX2RUnlockBufferEx</a> (<a class="el" href="struct_g_x2_r_buffer.html">GX2RBuffer</a> *buffer, <a class="el" href="group__gx2r__resource.html#ga5038cc0d0ddfb9c5997bc24c25374985">GX2RResourceFlags</a> flags)</td></tr>
<tr class="separator:gaa2e9a3efd68367aa6674496981b64c83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1d668854027a0d802997b43262b29168"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2r__buffer.html#ga1d668854027a0d802997b43262b29168">GX2RSetVertexUniformBlock</a> (<a class="el" href="struct_g_x2_r_buffer.html">GX2RBuffer</a> *buffer, uint32_t location, uint32_t offset)</td></tr>
<tr class="separator:ga1d668854027a0d802997b43262b29168"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1d7d637cce8c1bb865069f4f5db7accb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2r__buffer.html#ga1d7d637cce8c1bb865069f4f5db7accb">GX2RSetPixelUniformBlock</a> (<a class="el" href="struct_g_x2_r_buffer.html">GX2RBuffer</a> *buffer, uint32_t location, uint32_t offset)</td></tr>
<tr class="separator:ga1d7d637cce8c1bb865069f4f5db7accb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga729720a853a9b9be7bb2d84044ff2b97"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2r__buffer.html#ga729720a853a9b9be7bb2d84044ff2b97">GX2RSetGeometryUniformBlock</a> (<a class="el" href="struct_g_x2_r_buffer.html">GX2RBuffer</a> *buffer, uint32_t location, uint32_t offset)</td></tr>
<tr class="separator:ga729720a853a9b9be7bb2d84044ff2b97"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="ga808cb84d50a1c505d181f494f6a48b82"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="struct_g_x2_r_buffer.html">GX2RBuffer</a> <a class="el" href="struct_g_x2_r_buffer.html">GX2RBuffer</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="buffer_8h_source.html#l00015">15</a> of file <a class="el" href="buffer_8h_source.html">buffer.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga8b8919046549b1ca21354c847fc9c354"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a> GX2RBufferExists </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_g_x2_r_buffer.html">GX2RBuffer</a> *&#160;</td>
<td class="paramname"><em>buffer</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="gab19e7088d60125af1584f693d5802925"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a> GX2RCreateBuffer </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_g_x2_r_buffer.html">GX2RBuffer</a> *&#160;</td>
<td class="paramname"><em>buffer</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga787db449281c58d088968c65139c173f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a> GX2RCreateBufferUserMemory </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_g_x2_r_buffer.html">GX2RBuffer</a> *&#160;</td>
<td class="paramname"><em>buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>memory</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>size</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga726781c4174e718ca5c79f7562b77f5a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GX2RDestroyBufferEx </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_g_x2_r_buffer.html">GX2RBuffer</a> *&#160;</td>
<td class="paramname"><em>buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__gx2r__resource.html#ga5038cc0d0ddfb9c5997bc24c25374985">GX2RResourceFlags</a>&#160;</td>
<td class="paramname"><em>flags</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga4485438c08317df919ca4e53e90410f7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t GX2RGetBufferAlignment </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__gx2r__resource.html#ga5038cc0d0ddfb9c5997bc24c25374985">GX2RResourceFlags</a>&#160;</td>
<td class="paramname"><em>flags</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="gafc7e9cd97db3a19ab5e1a0784ef70a9b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t GX2RGetBufferAllocationSize </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_g_x2_r_buffer.html">GX2RBuffer</a> *&#160;</td>
<td class="paramname"><em>buffer</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga2cbec5a298f17a33debe37b7b53f2a85"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GX2RInvalidateBuffer </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_g_x2_r_buffer.html">GX2RBuffer</a> *&#160;</td>
<td class="paramname"><em>buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__gx2r__resource.html#ga5038cc0d0ddfb9c5997bc24c25374985">GX2RResourceFlags</a>&#160;</td>
<td class="paramname"><em>flags</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga611b101d775cbca3faa125af73e26497"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* GX2RLockBufferEx </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_g_x2_r_buffer.html">GX2RBuffer</a> *&#160;</td>
<td class="paramname"><em>buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__gx2r__resource.html#ga5038cc0d0ddfb9c5997bc24c25374985">GX2RResourceFlags</a>&#160;</td>
<td class="paramname"><em>flags</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="gaa2e9a3efd68367aa6674496981b64c83"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GX2RUnlockBufferEx </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_g_x2_r_buffer.html">GX2RBuffer</a> *&#160;</td>
<td class="paramname"><em>buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__gx2r__resource.html#ga5038cc0d0ddfb9c5997bc24c25374985">GX2RResourceFlags</a>&#160;</td>
<td class="paramname"><em>flags</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga1d668854027a0d802997b43262b29168"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GX2RSetVertexUniformBlock </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_g_x2_r_buffer.html">GX2RBuffer</a> *&#160;</td>
<td class="paramname"><em>buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>location</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>offset</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga1d7d637cce8c1bb865069f4f5db7accb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GX2RSetPixelUniformBlock </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_g_x2_r_buffer.html">GX2RBuffer</a> *&#160;</td>
<td class="paramname"><em>buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>location</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>offset</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga729720a853a9b9be7bb2d84044ff2b97"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GX2RSetGeometryUniformBlock </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_g_x2_r_buffer.html">GX2RBuffer</a> *&#160;</td>
<td class="paramname"><em>buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>location</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>offset</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.10
</small></address>
</body>
</html>