<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../../docs.xsl"?>

<docs type="symbol" project="SIEGE" version="0.8.2" rpath="../..">
	<file root="siege/core" name="window.h">
		<group key="Window" name="Window">
			<symbol id="17" kind="function" internal="false" cname="sgWindowSwapBuffers">
				<index>
					<entry key="WindowSwapBuffers">sgWindowSwapBuffers</entry>
				</index>
				<section name="Name">
					<names>
						<name>sgWindowSwapBuffers</name>
						<descr>swap the window's buffers</descr>
					</names>
				</section>
				<section name="Synopsis">
					<code-block lang="C">void <ref local="true" path="." file="window" group="Window" name="sgWindowSwapBuffers" id="17">sgWindowSwapBuffers</ref>(void);</code-block>
				</section>
				<section name="Description">
					<p>
						The window's two buffers are swapped, bringing the "back" buffer to front and vice-versa.
					</p>
					<p>
						Note that OS events are *not* implicitly handled here (unlike many other frameworks). In order to handle them, run <ref local="false" path="." file="window" group="Window" name="sgWindowHandleEvents" id="16">sgWindowHandleEvents</ref>() or one of the functions which calls that internally; refer to its documentation for more info.
					</p>
				</section>
				<section name="See Also">
					<sees>
						<see><ref local="false" path="." file="window" group="Window" name="sgWindowHandleEvents" id="16">sgWindowHandleEvents</ref></see>
					</sees>
					<sees>
						<see><ref local="false" path="." file="core.DONE" group="Core" name="sgRun" id="6">sgRun</ref></see>
						<see><ref local="false" path="." file="core.DONE" group="Core" name="sgLoop" id="7">sgLoop</ref></see>
					</sees>
				</section>
			</symbol>
		</group>
	</file>
</docs>
