794 lines
32 KiB
HTML
794 lines
32 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="nl">
|
|
<head>
|
|
<!-- Generated by javadoc (version 1.7.0_40) on Tue Oct 15 12:26:56 CEST 2013 -->
|
|
<title>GraphicsDeviceManager</title>
|
|
<meta name="date" content="2013-10-15">
|
|
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="GraphicsDeviceManager";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar_top">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/GraphicsDeviceManager.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../index-files/index-1.html">Index</a></li>
|
|
<li><a href="../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceInformation.html" title="class in Microsoft.Xna.Framework"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../Microsoft/Xna/Framework/IDrawable.html" title="interface in Microsoft.Xna.Framework"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../index.html?Microsoft/Xna/Framework/GraphicsDeviceManager.html" target="_top">Frames</a></li>
|
|
<li><a href="GraphicsDeviceManager.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li><a href="#field_summary">Field</a> | </li>
|
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
|
<li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field_detail">Field</a> | </li>
|
|
<li><a href="#constructor_detail">Constr</a> | </li>
|
|
<li><a href="#method_detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip-navbar_top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
<div class="subTitle">Microsoft.Xna.Framework</div>
|
|
<h2 title="Class GraphicsDeviceManager" class="title">Class GraphicsDeviceManager</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li>java.lang.Object</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>Microsoft.Xna.Framework.GraphicsDeviceManager</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>All Implemented Interfaces:</dt>
|
|
<dd><a href="../../../Microsoft/Xna/Framework/IGraphicsDeviceManager.html" title="interface in Microsoft.Xna.Framework">IGraphicsDeviceManager</a>, <a href="../../../Microsoft/Xna/Framework/IGraphicsDeviceService.html" title="interface in Microsoft.Xna.Framework">IGraphicsDeviceService</a>, System.IDisposable</dd>
|
|
</dl>
|
|
<hr>
|
|
<br>
|
|
<pre>public class <span class="strong">GraphicsDeviceManager</span>
|
|
extends java.lang.Object
|
|
implements <a href="../../../Microsoft/Xna/Framework/IGraphicsDeviceService.html" title="interface in Microsoft.Xna.Framework">IGraphicsDeviceService</a>, System.IDisposable, <a href="../../../Microsoft/Xna/Framework/IGraphicsDeviceManager.html" title="interface in Microsoft.Xna.Framework">IGraphicsDeviceManager</a></pre>
|
|
<div class="block">Handles the configuration and management of the graphics device.</div>
|
|
<dl><dt><span class="strong">Author:</span></dt>
|
|
<dd>Halofreak1990</dd></dl>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="field_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Field Summary</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
|
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Field and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#BackBufferHeight">BackBufferHeight</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#BackBufferWidth">BackBufferWidth</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#DefaultBackBufferHeight">DefaultBackBufferHeight</a></strong></code>
|
|
<div class="block">Specifies the default minimum back-buffer height.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#DefaultBackBufferWidth">DefaultBackBufferWidth</a></strong></code>
|
|
<div class="block">Specifies the default minimum back-buffer width.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>Microsoft.Xna.Framework.Graphics.DepthFormat</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#DepthStencilFormat">DepthStencilFormat</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>System.Event<System.EventArgs></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#DeviceCreated">DeviceCreated</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>System.Event<System.EventArgs></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#DeviceDisposing">DeviceDisposing</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>System.Event<System.EventArgs></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#DeviceReset">DeviceReset</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>System.Event<System.EventArgs></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#DeviceResetting">DeviceResetting</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>System.Event<System.EventArgs></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#Disposed">Disposed</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#IsFullScreen">IsFullScreen</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>Microsoft.Xna.Framework.Graphics.ShaderProfile</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#MinimumPixelShaderProfile">MinimumPixelShaderProfile</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>Microsoft.Xna.Framework.Graphics.ShaderProfile</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#MinimumVertexShaderProfile">MinimumVertexShaderProfile</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#PreferMultiSampling">PreferMultiSampling</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>Microsoft.Xna.Framework.Graphics.SurfaceFormat</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#PreferredBackBufferFormat">PreferredBackBufferFormat</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>System.Event<<a href="../../../Microsoft/Xna/Framework/PreparingDeviceSettingsEventArgs.html" title="class in Microsoft.Xna.Framework">PreparingDeviceSettingsEventArgs</a>></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#PreparingDeviceSettings">PreparingDeviceSettings</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#SynchronizeWithVerticalRetrace">SynchronizeWithVerticalRetrace</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static Microsoft.Xna.Framework.Graphics.SurfaceFormat[]</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#ValidAdapterFormats">ValidAdapterFormats</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static Microsoft.Xna.Framework.Graphics.SurfaceFormat[]</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#ValidBackBufferFormats">ValidBackBufferFormats</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static Microsoft.Xna.Framework.Graphics.DeviceType[]</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#ValidDeviceTypes">ValidDeviceTypes</a></strong></code> </td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Summary</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colOne" scope="col">Constructor and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#GraphicsDeviceManager(Microsoft.Xna.Framework.Game)">GraphicsDeviceManager</a></strong>(<a href="../../../Microsoft/Xna/Framework/Game.html" title="class in Microsoft.Xna.Framework">Game</a> game)</code>
|
|
<div class="block">Creates a new GraphicsDeviceManager and registers it to handle the configuration and management of the graphics device for the specified Game.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
|
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#ApplyChanges()">ApplyChanges</a></strong>()</code>
|
|
<div class="block">Applies any changes to device-related properties, changing the graphics device as necessary.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#BeginDraw()">BeginDraw</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#CanResetDevice(Microsoft.Xna.Framework.GraphicsDeviceInformation)">CanResetDevice</a></strong>(<a href="../../../Microsoft/Xna/Framework/GraphicsDeviceInformation.html" title="class in Microsoft.Xna.Framework">GraphicsDeviceInformation</a> newInfo)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#CreateDevice()">CreateDevice</a></strong>()</code>
|
|
<div class="block">Called to ensure that the device manager has created a valid device.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#Dispose()">Dispose</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#Dispose(boolean)">Dispose</a></strong>(boolean disposing)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#EndDraw()">EndDraw</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="../../../Microsoft/Xna/Framework/GraphicsDeviceInformation.html" title="class in Microsoft.Xna.Framework">GraphicsDeviceInformation</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#FindBestDevice(boolean)">FindBestDevice</a></strong>(boolean anySuitableDevice)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>Microsoft.Xna.Framework.Graphics.GraphicsDevice</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#getGraphicsDevice()">getGraphicsDevice</a></strong>()</code>
|
|
<div class="block">Retrieves a GraphicsDevice.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>Microsoft.Xna.Framework.Graphics.GraphicsProfile</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#getGraphicsProfile()">getGraphicsProfile</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#OnDeviceCreated(java.lang.Object, System.EventArgs)">OnDeviceCreated</a></strong>(java.lang.Object sender,
|
|
System.EventArgs e)</code>
|
|
<div class="block">Raises the DeviceCreated event.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#OnPreparingDeviceSettings(java.lang.Object, Microsoft.Xna.Framework.PreparingDeviceSettingsEventArgs)">OnPreparingDeviceSettings</a></strong>(java.lang.Object sender,
|
|
<a href="../../../Microsoft/Xna/Framework/PreparingDeviceSettingsEventArgs.html" title="class in Microsoft.Xna.Framework">PreparingDeviceSettingsEventArgs</a> args)</code>
|
|
<div class="block">Raises the PreparingDeviceSettings event.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#RankDevices(java.util.List)">RankDevices</a></strong>(java.util.List<<a href="../../../Microsoft/Xna/Framework/GraphicsDeviceInformation.html" title="class in Microsoft.Xna.Framework">GraphicsDeviceInformation</a>> foundDevices)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#setGraphicsProfile(Microsoft.Xna.Framework.Graphics.GraphicsProfile)">setGraphicsProfile</a></strong>(Microsoft.Xna.Framework.Graphics.GraphicsProfile value)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceManager.html#ToggleFullScreen()">ToggleFullScreen</a></strong>()</code>
|
|
<div class="block">Toggles between full screen and windowed mode.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.lang.Object</h3>
|
|
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="field_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Field Detail</h3>
|
|
<a name="DefaultBackBufferWidth">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DefaultBackBufferWidth</h4>
|
|
<pre>public static final int DefaultBackBufferWidth</pre>
|
|
<div class="block">Specifies the default minimum back-buffer width.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#Microsoft.Xna.Framework.GraphicsDeviceManager.DefaultBackBufferWidth">Constant Field Values</a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="DefaultBackBufferHeight">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DefaultBackBufferHeight</h4>
|
|
<pre>public static final int DefaultBackBufferHeight</pre>
|
|
<div class="block">Specifies the default minimum back-buffer height.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#Microsoft.Xna.Framework.GraphicsDeviceManager.DefaultBackBufferHeight">Constant Field Values</a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="ValidAdapterFormats">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>ValidAdapterFormats</h4>
|
|
<pre>public static final Microsoft.Xna.Framework.Graphics.SurfaceFormat[] ValidAdapterFormats</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="ValidBackBufferFormats">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>ValidBackBufferFormats</h4>
|
|
<pre>public static final Microsoft.Xna.Framework.Graphics.SurfaceFormat[] ValidBackBufferFormats</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="ValidDeviceTypes">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>ValidDeviceTypes</h4>
|
|
<pre>public static final Microsoft.Xna.Framework.Graphics.DeviceType[] ValidDeviceTypes</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="MinimumPixelShaderProfile">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>MinimumPixelShaderProfile</h4>
|
|
<pre>public Microsoft.Xna.Framework.Graphics.ShaderProfile MinimumPixelShaderProfile</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="MinimumVertexShaderProfile">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>MinimumVertexShaderProfile</h4>
|
|
<pre>public Microsoft.Xna.Framework.Graphics.ShaderProfile MinimumVertexShaderProfile</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="PreferMultiSampling">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>PreferMultiSampling</h4>
|
|
<pre>public boolean PreferMultiSampling</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="PreferredBackBufferFormat">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>PreferredBackBufferFormat</h4>
|
|
<pre>public Microsoft.Xna.Framework.Graphics.SurfaceFormat PreferredBackBufferFormat</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="BackBufferHeight">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>BackBufferHeight</h4>
|
|
<pre>public int BackBufferHeight</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="BackBufferWidth">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>BackBufferWidth</h4>
|
|
<pre>public int BackBufferWidth</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="SynchronizeWithVerticalRetrace">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>SynchronizeWithVerticalRetrace</h4>
|
|
<pre>public boolean SynchronizeWithVerticalRetrace</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="IsFullScreen">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>IsFullScreen</h4>
|
|
<pre>public boolean IsFullScreen</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="DepthStencilFormat">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DepthStencilFormat</h4>
|
|
<pre>public Microsoft.Xna.Framework.Graphics.DepthFormat DepthStencilFormat</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="DeviceCreated">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DeviceCreated</h4>
|
|
<pre>public final System.Event<System.EventArgs> DeviceCreated</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="DeviceDisposing">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DeviceDisposing</h4>
|
|
<pre>public final System.Event<System.EventArgs> DeviceDisposing</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="DeviceReset">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DeviceReset</h4>
|
|
<pre>public final System.Event<System.EventArgs> DeviceReset</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="DeviceResetting">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DeviceResetting</h4>
|
|
<pre>public final System.Event<System.EventArgs> DeviceResetting</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="Disposed">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Disposed</h4>
|
|
<pre>public final System.Event<System.EventArgs> Disposed</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="PreparingDeviceSettings">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>PreparingDeviceSettings</h4>
|
|
<pre>public final System.Event<<a href="../../../Microsoft/Xna/Framework/PreparingDeviceSettingsEventArgs.html" title="class in Microsoft.Xna.Framework">PreparingDeviceSettingsEventArgs</a>> PreparingDeviceSettings</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a name="GraphicsDeviceManager(Microsoft.Xna.Framework.Game)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>GraphicsDeviceManager</h4>
|
|
<pre>public GraphicsDeviceManager(<a href="../../../Microsoft/Xna/Framework/Game.html" title="class in Microsoft.Xna.Framework">Game</a> game)</pre>
|
|
<div class="block">Creates a new GraphicsDeviceManager and registers it to handle the configuration and management of the graphics device for the specified Game.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>game</code> - Game the GraphicsDeviceManager should be associated with.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a name="getGraphicsDevice()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getGraphicsDevice</h4>
|
|
<pre>public Microsoft.Xna.Framework.Graphics.GraphicsDevice getGraphicsDevice()</pre>
|
|
<div class="block"><strong>Description copied from interface: <code><a href="../../../Microsoft/Xna/Framework/IGraphicsDeviceService.html#getGraphicsDevice()">IGraphicsDeviceService</a></code></strong></div>
|
|
<div class="block">Retrieves a GraphicsDevice.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../Microsoft/Xna/Framework/IGraphicsDeviceService.html#getGraphicsDevice()">getGraphicsDevice</a></code> in interface <code><a href="../../../Microsoft/Xna/Framework/IGraphicsDeviceService.html" title="interface in Microsoft.Xna.Framework">IGraphicsDeviceService</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getGraphicsProfile()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getGraphicsProfile</h4>
|
|
<pre>public Microsoft.Xna.Framework.Graphics.GraphicsProfile getGraphicsProfile()</pre>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setGraphicsProfile(Microsoft.Xna.Framework.Graphics.GraphicsProfile)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setGraphicsProfile</h4>
|
|
<pre>public void setGraphicsProfile(Microsoft.Xna.Framework.Graphics.GraphicsProfile value)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="ApplyChanges()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>ApplyChanges</h4>
|
|
<pre>public void ApplyChanges()</pre>
|
|
<div class="block">Applies any changes to device-related properties, changing the graphics device as necessary.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="BeginDraw()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>BeginDraw</h4>
|
|
<pre>public boolean BeginDraw()</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../Microsoft/Xna/Framework/IGraphicsDeviceManager.html#BeginDraw()">BeginDraw</a></code> in interface <code><a href="../../../Microsoft/Xna/Framework/IGraphicsDeviceManager.html" title="interface in Microsoft.Xna.Framework">IGraphicsDeviceManager</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="CanResetDevice(Microsoft.Xna.Framework.GraphicsDeviceInformation)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>CanResetDevice</h4>
|
|
<pre>protected boolean CanResetDevice(<a href="../../../Microsoft/Xna/Framework/GraphicsDeviceInformation.html" title="class in Microsoft.Xna.Framework">GraphicsDeviceInformation</a> newInfo)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>newInfo</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="CreateDevice()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>CreateDevice</h4>
|
|
<pre>public void CreateDevice()</pre>
|
|
<div class="block">Called to ensure that the device manager has created a valid device.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../Microsoft/Xna/Framework/IGraphicsDeviceManager.html#CreateDevice()">CreateDevice</a></code> in interface <code><a href="../../../Microsoft/Xna/Framework/IGraphicsDeviceManager.html" title="interface in Microsoft.Xna.Framework">IGraphicsDeviceManager</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Dispose()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Dispose</h4>
|
|
<pre>public void Dispose()</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code>Dispose</code> in interface <code>System.IDisposable</code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Dispose(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Dispose</h4>
|
|
<pre>protected void Dispose(boolean disposing)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>disposing</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="EndDraw()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>EndDraw</h4>
|
|
<pre>public void EndDraw()</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../Microsoft/Xna/Framework/IGraphicsDeviceManager.html#EndDraw()">EndDraw</a></code> in interface <code><a href="../../../Microsoft/Xna/Framework/IGraphicsDeviceManager.html" title="interface in Microsoft.Xna.Framework">IGraphicsDeviceManager</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="FindBestDevice(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>FindBestDevice</h4>
|
|
<pre>protected <a href="../../../Microsoft/Xna/Framework/GraphicsDeviceInformation.html" title="class in Microsoft.Xna.Framework">GraphicsDeviceInformation</a> FindBestDevice(boolean anySuitableDevice)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>anySuitableDevice</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="OnDeviceCreated(java.lang.Object, System.EventArgs)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>OnDeviceCreated</h4>
|
|
<pre>protected void OnDeviceCreated(java.lang.Object sender,
|
|
System.EventArgs e)</pre>
|
|
<div class="block">Raises the DeviceCreated event.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>sender</code> - </dd><dd><code>e</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="OnPreparingDeviceSettings(java.lang.Object, Microsoft.Xna.Framework.PreparingDeviceSettingsEventArgs)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>OnPreparingDeviceSettings</h4>
|
|
<pre>protected void OnPreparingDeviceSettings(java.lang.Object sender,
|
|
<a href="../../../Microsoft/Xna/Framework/PreparingDeviceSettingsEventArgs.html" title="class in Microsoft.Xna.Framework">PreparingDeviceSettingsEventArgs</a> args)</pre>
|
|
<div class="block">Raises the PreparingDeviceSettings event.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>sender</code> - </dd><dd><code>args</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="RankDevices(java.util.List)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>RankDevices</h4>
|
|
<pre>protected void RankDevices(java.util.List<<a href="../../../Microsoft/Xna/Framework/GraphicsDeviceInformation.html" title="class in Microsoft.Xna.Framework">GraphicsDeviceInformation</a>> foundDevices)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="ToggleFullScreen()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>ToggleFullScreen</h4>
|
|
<pre>public void ToggleFullScreen()</pre>
|
|
<div class="block">Toggles between full screen and windowed mode.</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar_bottom">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/GraphicsDeviceManager.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../index-files/index-1.html">Index</a></li>
|
|
<li><a href="../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../Microsoft/Xna/Framework/GraphicsDeviceInformation.html" title="class in Microsoft.Xna.Framework"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../Microsoft/Xna/Framework/IDrawable.html" title="interface in Microsoft.Xna.Framework"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../index.html?Microsoft/Xna/Framework/GraphicsDeviceManager.html" target="_top">Frames</a></li>
|
|
<li><a href="GraphicsDeviceManager.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li><a href="#field_summary">Field</a> | </li>
|
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
|
<li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field_detail">Field</a> | </li>
|
|
<li><a href="#constructor_detail">Constr</a> | </li>
|
|
<li><a href="#method_detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip-navbar_bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</body>
|
|
</html>
|