2019-04-22 10:21:17 +10:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2016-01-08 17:00:17 +00:00
< 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" / >
2020-03-26 16:49:18 +11:00
< meta name = "generator" content = "Doxygen 1.8.17" / >
2018-07-26 20:52:03 +10:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2020-03-26 16:49:18 +11:00
< title > wut: /home/ash/Code/wut2/include/gx2/swap.h Source File< / title >
2016-01-08 17:00:17 +00:00
< 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 >
< 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;" >
2018-07-26 20:52:03 +10:00
< div id = "projectname" > wut
2020-03-26 16:49:18 +11:00
  < span id = "projectnumber" > 1.0.0-beta9< / span >
2016-01-08 17:00:17 +00:00
< / div >
< div id = "projectbrief" > Wii U Toolchain< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2020-03-26 16:49:18 +11:00
<!-- Generated by Doxygen 1.8.17 -->
2016-01-08 17:00:17 +00:00
< script type = "text/javascript" >
2018-07-26 20:52:03 +10:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2016-01-08 17:00:17 +00:00
var searchBox = new SearchBox("searchBox", "search",false,'Search');
2018-07-26 20:52:03 +10:00
/* @license-end */
2016-01-08 17:00:17 +00:00
< / script >
2018-07-26 20:52:03 +10:00
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */< / script >
< div id = "main-nav" > < / div >
2016-01-08 17:00:17 +00:00
<!-- 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 id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < a class = "el" href = "dir_d44c64559bbebec7f509842c48db8b23.html" > include< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_64fe89c4a61f5742775721f1d8222d0c.html" > gx2< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "headertitle" >
< div class = "title" > swap.h< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
2020-03-26 16:49:18 +11:00
< a href = "swap_8h.html" > Go to the documentation of this file.< / a > < div class = "fragment" > < div class = "line" > < a name = "l00001" > < / a > < span class = "lineno" > 1< / span >   < span class = "preprocessor" > #pragma once< / span > < / div >
< div class = "line" > < a name = "l00002" > < / a > < span class = "lineno" > 2< / span >   < span class = "preprocessor" > #include < < a class = "code" href = "wut_8h.html" > wut.h< / a > > < / span > < / div >
< div class = "line" > < a name = "l00003" > < / a > < span class = "lineno" > 3< / span >   < span class = "preprocessor" > #include " < a class = "code" href = "enum_8h.html" > enum.h< / a > " < / span > < / div >
< div class = "line" > < a name = "l00004" > < / a > < span class = "lineno" > 4< / span >   < / div >
< div class = "line" > < a name = "l00011" > < / a > < span class = "lineno" > 11< / span >   < span class = "preprocessor" > #ifdef __cplusplus< / span > < / div >
< div class = "line" > < a name = "l00012" > < / a > < span class = "lineno" > 12< / span >   < span class = "keyword" > extern< / span > < span class = "stringliteral" > " C" < / span > {< / div >
< div class = "line" > < a name = "l00013" > < / a > < span class = "lineno" > 13< / span >   < span class = "preprocessor" > #endif< / span > < / div >
< div class = "line" > < a name = "l00014" > < / a > < span class = "lineno" > 14< / span >   < / div >
< div class = "line" > < a name = "l00015" > < / a > < span class = "lineno" > < a class = "line" href = "group__gx2__swap.html#ga92a99fded66d9af61379faa83de1ee94" > 15< / a > < / span >   < span class = "keyword" > typedef< / span > < span class = "keyword" > struct < / span > < a class = "code" href = "group__gx2__surface.html#structGX2ColorBuffer" > GX2ColorBuffer< / a > < a class = "code" href = "group__gx2__surface.html#structGX2ColorBuffer" > GX2ColorBuffer< / a > ;< / div >
< div class = "line" > < a name = "l00016" > < / a > < span class = "lineno" > < a class = "line" href = "group__gx2__swap.html#ga22759f2ea4e4ba71b3746e08a2aca280" > 16< / a > < / span >   < span class = "keyword" > typedef< / span > < span class = "keyword" > struct < / span > < a class = "code" href = "group__gx2__texture.html#structGX2Texture" > GX2Texture< / a > < a class = "code" href = "group__gx2__texture.html#structGX2Texture" > GX2Texture< / a > ;< / div >
< div class = "line" > < a name = "l00017" > < / a > < span class = "lineno" > 17< / span >   < / div >
< div class = "line" > < a name = "l00018" > < / a > < span class = "lineno" > 18< / span >   < span class = "keywordtype" > void< / span > < / div >
< div class = "line" > < a name = "l00019" > < / a > < span class = "lineno" > 19< / span >   < a class = "code" href = "group__gx2__swap.html#ga091d6fd3970d920ea55dd8cadf0fd565" > GX2CopyColorBufferToScanBuffer< / a > (< a class = "code" href = "group__gx2__surface.html#structGX2ColorBuffer" > GX2ColorBuffer< / a > *buffer,< / div >
< div class = "line" > < a name = "l00020" > < / a > < span class = "lineno" > 20< / span >   < a class = "code" href = "group__gx2__enum.html#ga45fba64a8e78e02b653ecc02a0d7c575" > GX2ScanTarget< / a > scanTarget);< / div >
< div class = "line" > < a name = "l00021" > < / a > < span class = "lineno" > 21< / span >   < / div >
< div class = "line" > < a name = "l00022" > < / a > < span class = "lineno" > 22< / span >   < span class = "keywordtype" > void< / span > < / div >
< div class = "line" > < a name = "l00023" > < / a > < span class = "lineno" > 23< / span >   < a class = "code" href = "group__gx2__swap.html#ga64bf252be0ff8d8ecc2c0e9282f20124" > GX2SwapScanBuffers< / a > ();< / div >
< div class = "line" > < a name = "l00024" > < / a > < span class = "lineno" > 24< / span >   < / div >
< div class = "line" > < a name = "l00025" > < / a > < span class = "lineno" > 25< / span >   < a class = "code" href = "wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372" > BOOL< / a > < / div >
< div class = "line" > < a name = "l00026" > < / a > < span class = "lineno" > 26< / span >   < a class = "code" href = "group__gx2__swap.html#ga4395562d851183078ecec07bb7449be4" > GX2GetLastFrame< / a > (< a class = "code" href = "group__gx2__enum.html#ga45fba64a8e78e02b653ecc02a0d7c575" > GX2ScanTarget< / a > scanTarget,< / div >
< div class = "line" > < a name = "l00027" > < / a > < span class = "lineno" > 27< / span >   < a class = "code" href = "group__gx2__texture.html#structGX2Texture" > GX2Texture< / a > *texture);< / div >
< div class = "line" > < a name = "l00028" > < / a > < span class = "lineno" > 28< / span >   < / div >
< div class = "line" > < a name = "l00029" > < / a > < span class = "lineno" > 29< / span >   < a class = "code" href = "wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372" > BOOL< / a > < / div >
< div class = "line" > < a name = "l00030" > < / a > < span class = "lineno" > 30< / span >   < a class = "code" href = "group__gx2__swap.html#ga86238e68f0a482a171ca3a4b29721058" > GX2GetLastFrameGamma< / a > (< a class = "code" href = "group__gx2__enum.html#ga45fba64a8e78e02b653ecc02a0d7c575" > GX2ScanTarget< / a > scanTarget,< / div >
< div class = "line" > < a name = "l00031" > < / a > < span class = "lineno" > 31< / span >   < span class = "keywordtype" > float< / span > *gammaOut);< / div >
< div class = "line" > < a name = "l00032" > < / a > < span class = "lineno" > 32< / span >   < / div >
< div class = "line" > < a name = "l00033" > < / a > < span class = "lineno" > 33< / span >   uint32_t< / div >
< div class = "line" > < a name = "l00034" > < / a > < span class = "lineno" > 34< / span >   < a class = "code" href = "group__gx2__swap.html#ga7473e2bfac1dda64cfde58c9d714a29b" > GX2GetSwapInterval< / a > ();< / div >
< div class = "line" > < a name = "l00035" > < / a > < span class = "lineno" > 35< / span >   < / div >
< div class = "line" > < a name = "l00036" > < / a > < span class = "lineno" > 36< / span >   < span class = "keywordtype" > void< / span > < / div >
< div class = "line" > < a name = "l00037" > < / a > < span class = "lineno" > 37< / span >   < a class = "code" href = "group__gx2__swap.html#gab5c03679a806e92f4d04a3133e81821f" > GX2SetSwapInterval< / a > (uint32_t interval);< / div >
< div class = "line" > < a name = "l00038" > < / a > < span class = "lineno" > 38< / span >   < / div >
< div class = "line" > < a name = "l00039" > < / a > < span class = "lineno" > 39< / span >   < span class = "preprocessor" > #ifdef __cplusplus< / span > < / div >
< div class = "line" > < a name = "l00040" > < / a > < span class = "lineno" > 40< / span >   }< / div >
< div class = "line" > < a name = "l00041" > < / a > < span class = "lineno" > 41< / span >   < span class = "preprocessor" > #endif< / span > < / div >
< div class = "line" > < a name = "l00042" > < / a > < span class = "lineno" > 42< / span >   < / div >
2016-01-08 17:00:17 +00:00
< / div > <!-- fragment --> < / div > <!-- contents -->
2020-03-26 16:49:18 +11:00
< div class = "ttc" id = "agroup__gx2__swap_html_ga4395562d851183078ecec07bb7449be4" > < div class = "ttname" > < a href = "group__gx2__swap.html#ga4395562d851183078ecec07bb7449be4" > GX2GetLastFrame< / a > < / div > < div class = "ttdeci" > BOOL GX2GetLastFrame(GX2ScanTarget scanTarget, GX2Texture *texture)< / div > < / div >
< div class = "ttc" id = "agroup__gx2__swap_html_ga091d6fd3970d920ea55dd8cadf0fd565" > < div class = "ttname" > < a href = "group__gx2__swap.html#ga091d6fd3970d920ea55dd8cadf0fd565" > GX2CopyColorBufferToScanBuffer< / a > < / div > < div class = "ttdeci" > void GX2CopyColorBufferToScanBuffer(GX2ColorBuffer *buffer, GX2ScanTarget scanTarget)< / div > < / div >
< div class = "ttc" id = "agroup__gx2__swap_html_ga7473e2bfac1dda64cfde58c9d714a29b" > < div class = "ttname" > < a href = "group__gx2__swap.html#ga7473e2bfac1dda64cfde58c9d714a29b" > GX2GetSwapInterval< / a > < / div > < div class = "ttdeci" > uint32_t GX2GetSwapInterval()< / div > < / div >
< div class = "ttc" id = "awut_8h_html" > < div class = "ttname" > < a href = "wut_8h.html" > wut.h< / a > < / div > < / div >
< div class = "ttc" id = "agroup__gx2__surface_html_structGX2ColorBuffer" > < div class = "ttname" > < a href = "group__gx2__surface.html#structGX2ColorBuffer" > GX2ColorBuffer< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "surface_8h_source.html#l00087" > surface.h:87< / a > < / div > < / div >
< div class = "ttc" id = "agroup__gx2__swap_html_gab5c03679a806e92f4d04a3133e81821f" > < div class = "ttname" > < a href = "group__gx2__swap.html#gab5c03679a806e92f4d04a3133e81821f" > GX2SetSwapInterval< / a > < / div > < div class = "ttdeci" > void GX2SetSwapInterval(uint32_t interval)< / div > < / div >
< div class = "ttc" id = "agroup__gx2__swap_html_ga86238e68f0a482a171ca3a4b29721058" > < div class = "ttname" > < a href = "group__gx2__swap.html#ga86238e68f0a482a171ca3a4b29721058" > GX2GetLastFrameGamma< / a > < / div > < div class = "ttdeci" > BOOL GX2GetLastFrameGamma(GX2ScanTarget scanTarget, float *gammaOut)< / div > < / div >
< div class = "ttc" id = "agroup__gx2__swap_html_ga64bf252be0ff8d8ecc2c0e9282f20124" > < div class = "ttname" > < a href = "group__gx2__swap.html#ga64bf252be0ff8d8ecc2c0e9282f20124" > GX2SwapScanBuffers< / a > < / div > < div class = "ttdeci" > void GX2SwapScanBuffers()< / div > < / div >
< div class = "ttc" id = "awut__types_8h_html_a975dbe9e4396bf9e0064ce01827fa372" > < div class = "ttname" > < a href = "wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372" > BOOL< / a > < / div > < div class = "ttdeci" > int32_t BOOL< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "wut__types_8h_source.html#l00004" > wut_types.h:4< / a > < / div > < / div >
< div class = "ttc" id = "agroup__gx2__enum_html_ga45fba64a8e78e02b653ecc02a0d7c575" > < div class = "ttname" > < a href = "group__gx2__enum.html#ga45fba64a8e78e02b653ecc02a0d7c575" > GX2ScanTarget< / a > < / div > < div class = "ttdeci" > GX2ScanTarget< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "enum_8h_source.html#l00283" > enum.h:283< / a > < / div > < / div >
< div class = "ttc" id = "agroup__gx2__texture_html_structGX2Texture" > < div class = "ttname" > < a href = "group__gx2__texture.html#structGX2Texture" > GX2Texture< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "texture_8h_source.html#l00017" > texture.h:17< / a > < / div > < / div >
< div class = "ttc" id = "aenum_8h_html" > < div class = "ttname" > < a href = "enum_8h.html" > enum.h< / a > < / div > < / div >
2016-01-08 17:00:17 +00:00
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
Generated by   < a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
2020-03-26 16:49:18 +11:00
< / a > 1.8.17
2016-01-08 17:00:17 +00:00
< / small > < / address >
< / body >
< / html >