1041 lines
64 KiB
HTML
1041 lines
64 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:25:33 CEST 2013 -->
|
|
<title>GraphicsDevice</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="GraphicsDevice";
|
|
}
|
|
//-->
|
|
</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/GraphicsDevice.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/Graphics/GraphicsAdapter.html" title="class in Microsoft.Xna.Framework.Graphics"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDeviceStatus.html" title="enum in Microsoft.Xna.Framework.Graphics"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../index.html?Microsoft/Xna/Framework/Graphics/GraphicsDevice.html" target="_top">Frames</a></li>
|
|
<li><a href="GraphicsDevice.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.Graphics</div>
|
|
<h2 title="Class GraphicsDevice" class="title">Class GraphicsDevice</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li>java.lang.Object</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>Microsoft.Xna.Framework.Graphics.GraphicsDevice</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>All Implemented Interfaces:</dt>
|
|
<dd><a href="../../../../System/IDisposable.html" title="interface in System">IDisposable</a></dd>
|
|
</dl>
|
|
<hr>
|
|
<br>
|
|
<pre>public class <span class="strong">GraphicsDevice</span>
|
|
extends java.lang.Object
|
|
implements <a href="../../../../System/IDisposable.html" title="interface in System">IDisposable</a></pre>
|
|
<div class="block">Performs primitive-based rendering, creates resources, handles system-level variables, adjusts gamma ramp levels, and creates shaders.</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><a href="../../../../System/Event.html" title="class in System">Event</a><<a href="../../../../System/EventArgs.html" title="class in System">EventArgs</a>></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#DeviceLost">DeviceLost</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../System/Event.html" title="class in System">Event</a><<a href="../../../../System/EventArgs.html" title="class in System">EventArgs</a>></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#DeviceReset">DeviceReset</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../System/Event.html" title="class in System">Event</a><<a href="../../../../System/EventArgs.html" title="class in System">EventArgs</a>></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#DeviceResetting">DeviceResetting</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../System/Event.html" title="class in System">Event</a><<a href="../../../../System/EventArgs.html" title="class in System">EventArgs</a>></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#Disposing">Disposing</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../System/Event.html" title="class in System">Event</a><<a href="../../../../Microsoft/Xna/Framework/Graphics/ResourceCreatedEventArgs.html" title="class in Microsoft.Xna.Framework.Graphics">ResourceCreatedEventArgs</a>></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#ResourceCreated">ResourceCreated</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../System/Event.html" title="class in System">Event</a><<a href="../../../../Microsoft/Xna/Framework/Graphics/ResourceDestroyedEventArgs.html" title="class in Microsoft.Xna.Framework.Graphics">ResourceDestroyedEventArgs</a>></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#ResourceDestroyed">ResourceDestroyed</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/Graphics/GraphicsDevice.html#GraphicsDevice(Microsoft.Xna.Framework.Graphics.GraphicsAdapter, Microsoft.Xna.Framework.Graphics.GraphicsProfile, Microsoft.Xna.Framework.Graphics.PresentationParameters)">GraphicsDevice</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsAdapter.html" title="class in Microsoft.Xna.Framework.Graphics">GraphicsAdapter</a> adapter,
|
|
<a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsProfile.html" title="enum in Microsoft.Xna.Framework.Graphics">GraphicsProfile</a> profile,
|
|
<a href="../../../../Microsoft/Xna/Framework/Graphics/PresentationParameters.html" title="class in Microsoft.Xna.Framework.Graphics">PresentationParameters</a> presentationParameters)</code> </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/Graphics/GraphicsDevice.html#Clear(Microsoft.Xna.Framework.Color)">Clear</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Color.html" title="class in Microsoft.Xna.Framework">Color</a> color)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#Clear(java.util.EnumSet, Microsoft.Xna.Framework.Color, float, int)">Clear</a></strong>(java.util.EnumSet<<a href="../../../../Microsoft/Xna/Framework/Graphics/ClearOptions.html" title="enum in Microsoft.Xna.Framework.Graphics">ClearOptions</a>> options,
|
|
<a href="../../../../Microsoft/Xna/Framework/Color.html" title="class in Microsoft.Xna.Framework">Color</a> color,
|
|
float depth,
|
|
int stencil)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#Clear(java.util.EnumSet, Microsoft.Xna.Framework.Vector4, float, int)">Clear</a></strong>(java.util.EnumSet<<a href="../../../../Microsoft/Xna/Framework/Graphics/ClearOptions.html" title="enum in Microsoft.Xna.Framework.Graphics">ClearOptions</a>> options,
|
|
<a href="../../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> color,
|
|
float depth,
|
|
int stencil)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#Dispose()">Dispose</a></strong>()</code>
|
|
<div class="block">Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#Dispose(boolean)">Dispose</a></strong>(boolean disposing)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#DrawIndexedPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType, int, int, int, int, int)">DrawIndexedPrimitives</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/PrimitiveType.html" title="enum in Microsoft.Xna.Framework.Graphics">PrimitiveType</a> primitiveType,
|
|
int baseVertex,
|
|
int minVertexIndex,
|
|
int numVertices,
|
|
int startIndex,
|
|
int primitiveCount)</code>
|
|
<div class="block">Renders the specified geometric primitive, based on indexing into an array of vertices.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#DrawInstancedPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType, int, int, int, int, int, int)">DrawInstancedPrimitives</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/PrimitiveType.html" title="enum in Microsoft.Xna.Framework.Graphics">PrimitiveType</a> primitiveType,
|
|
int baseVertex,
|
|
int minVertexIndex,
|
|
int numVertices,
|
|
int startIndex,
|
|
int primitiveCount,
|
|
int instanceCount)</code>
|
|
<div class="block">Draws a series of instanced models.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#DrawPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType, int, int)">DrawPrimitives</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/PrimitiveType.html" title="enum in Microsoft.Xna.Framework.Graphics">PrimitiveType</a> primitiveType,
|
|
int startVertex,
|
|
int primitiveCount)</code>
|
|
<div class="block">Renders a sequence of non-indexed geometric primitives of the specified type from the current set of data input streams.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><T extends <a href="../../../../System/ValueType.html" title="class in System">ValueType</a> & <a href="../../../../Microsoft/Xna/Framework/Graphics/IVertexType.html" title="interface in Microsoft.Xna.Framework.Graphics">IVertexType</a>> <br>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#DrawUserIndexedPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType, T[], int, int, int[], int, int)">DrawUserIndexedPrimitives</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/PrimitiveType.html" title="enum in Microsoft.Xna.Framework.Graphics">PrimitiveType</a> primitiveType,
|
|
T[] vertexData,
|
|
int vertexOffset,
|
|
int numVertices,
|
|
int[] indexData,
|
|
int indexOffset,
|
|
int primitiveCount)</code>
|
|
<div class="block">Renders indexed primitives from a 32-bit index buffer and other related input parameters.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><T extends <a href="../../../../System/ValueType.html" title="class in System">ValueType</a>> <br>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#DrawUserIndexedPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType, T[], int, int, int[], int, int, Microsoft.Xna.Framework.Graphics.VertexDeclaration)">DrawUserIndexedPrimitives</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/PrimitiveType.html" title="enum in Microsoft.Xna.Framework.Graphics">PrimitiveType</a> primitiveType,
|
|
T[] vertexData,
|
|
int vertexOffset,
|
|
int numVertices,
|
|
int[] indexData,
|
|
int indexOffset,
|
|
int primitiveCount,
|
|
<a href="../../../../Microsoft/Xna/Framework/Graphics/VertexDeclaration.html" title="class in Microsoft.Xna.Framework.Graphics">VertexDeclaration</a> vertexDeclaration)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><T extends <a href="../../../../System/ValueType.html" title="class in System">ValueType</a> & <a href="../../../../Microsoft/Xna/Framework/Graphics/IVertexType.html" title="interface in Microsoft.Xna.Framework.Graphics">IVertexType</a>> <br>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#DrawUserIndexedPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType, T[], int, int, short[], int, int)">DrawUserIndexedPrimitives</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/PrimitiveType.html" title="enum in Microsoft.Xna.Framework.Graphics">PrimitiveType</a> primitiveType,
|
|
T[] vertexData,
|
|
int vertexOffset,
|
|
int numVertices,
|
|
short[] indexData,
|
|
int indexOffset,
|
|
int primitiveCount)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><T extends <a href="../../../../System/ValueType.html" title="class in System">ValueType</a>> <br>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#DrawUserIndexedPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType, T[], int, int, short[], int, int, Microsoft.Xna.Framework.Graphics.VertexDeclaration)">DrawUserIndexedPrimitives</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/PrimitiveType.html" title="enum in Microsoft.Xna.Framework.Graphics">PrimitiveType</a> primitiveType,
|
|
T[] vertexData,
|
|
int vertexOffset,
|
|
int numVertices,
|
|
short[] indexData,
|
|
int indexOffset,
|
|
int primitiveCount,
|
|
<a href="../../../../Microsoft/Xna/Framework/Graphics/VertexDeclaration.html" title="class in Microsoft.Xna.Framework.Graphics">VertexDeclaration</a> vertexDeclaration)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><T extends <a href="../../../../System/ValueType.html" title="class in System">ValueType</a> & <a href="../../../../Microsoft/Xna/Framework/Graphics/IVertexType.html" title="interface in Microsoft.Xna.Framework.Graphics">IVertexType</a>> <br>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#DrawUserPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType, T[], int, int)">DrawUserPrimitives</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/PrimitiveType.html" title="enum in Microsoft.Xna.Framework.Graphics">PrimitiveType</a> primitiveType,
|
|
T[] vertexData,
|
|
int vertexOffset,
|
|
int primitiveCount)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><T extends <a href="../../../../System/ValueType.html" title="class in System">ValueType</a>> <br>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#DrawUserPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType, T[], int, int, Microsoft.Xna.Framework.Graphics.VertexDeclaration)">DrawUserPrimitives</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/PrimitiveType.html" title="enum in Microsoft.Xna.Framework.Graphics">PrimitiveType</a> primitiveType,
|
|
T[] vertexData,
|
|
int vertexOffset,
|
|
int primitiveCount,
|
|
<a href="../../../../Microsoft/Xna/Framework/Graphics/VertexDeclaration.html" title="class in Microsoft.Xna.Framework.Graphics">VertexDeclaration</a> vertexDeclaration)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsAdapter.html" title="class in Microsoft.Xna.Framework.Graphics">GraphicsAdapter</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#getAdapter()">getAdapter</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><T extends java.lang.Number> <br>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#GetBackBufferData(Microsoft.Xna.Framework.Rectangle, T[], int, int)">GetBackBufferData</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> rect,
|
|
T[] data,
|
|
int startIndex,
|
|
int offset)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><T extends java.lang.Number> <br>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#GetBackBufferData(T[])">GetBackBufferData</a></strong>(T[] data)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><T extends java.lang.Number> <br>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#GetBackBufferData(T[], int, int)">GetBackBufferData</a></strong>(T[] data,
|
|
int startIndex,
|
|
int elementCount)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../Microsoft/Xna/Framework/Color.html" title="class in Microsoft.Xna.Framework">Color</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#getBlendFactor()">getBlendFactor</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsProfile.html" title="enum in Microsoft.Xna.Framework.Graphics">GraphicsProfile</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#getGraphicsProfile()">getGraphicsProfile</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../Microsoft/Xna/Framework/Graphics/IndexBuffer.html" title="class in Microsoft.Xna.Framework.Graphics">IndexBuffer</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#getIndices()">getIndices</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../Microsoft/Xna/Framework/Graphics/PresentationParameters.html" title="class in Microsoft.Xna.Framework.Graphics">PresentationParameters</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#getPresentationParameters()">getPresentationParameters</a></strong>()</code>
|
|
<div class="block">Gets the presentation parameters associated with this graphics device.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../Microsoft/Xna/Framework/Graphics/RenderTargetBinding.html" title="class in Microsoft.Xna.Framework.Graphics">RenderTargetBinding</a>[]</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#GetRenderTargets()">GetRenderTargets</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../Microsoft/Xna/Framework/Graphics/TextureCollection.html" title="class in Microsoft.Xna.Framework.Graphics">TextureCollection</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#getTextures()">getTextures</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../Microsoft/Xna/Framework/Graphics/Viewport.html" title="class in Microsoft.Xna.Framework.Graphics">Viewport</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#getViewport()">getViewport</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#Present()">Present</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#Reset()">Reset</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#Reset(Microsoft.Xna.Framework.Graphics.PresentationParameters)">Reset</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/PresentationParameters.html" title="class in Microsoft.Xna.Framework.Graphics">PresentationParameters</a> presentationParameters)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#Reset(Microsoft.Xna.Framework.Graphics.PresentationParameters, Microsoft.Xna.Framework.Graphics.GraphicsAdapter)">Reset</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/PresentationParameters.html" title="class in Microsoft.Xna.Framework.Graphics">PresentationParameters</a> presentationParameters,
|
|
<a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsAdapter.html" title="class in Microsoft.Xna.Framework.Graphics">GraphicsAdapter</a> adapter)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#setBlendFactor(Microsoft.Xna.Framework.Color)">setBlendFactor</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Color.html" title="class in Microsoft.Xna.Framework">Color</a> value)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#setIndices(Microsoft.Xna.Framework.Graphics.IndexBuffer)">setIndices</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/IndexBuffer.html" title="class in Microsoft.Xna.Framework.Graphics">IndexBuffer</a> value)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#SetRenderTarget(Microsoft.Xna.Framework.Graphics.RenderTarget2D)">SetRenderTarget</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/RenderTarget2D.html" title="class in Microsoft.Xna.Framework.Graphics">RenderTarget2D</a> renderTarget)</code>
|
|
<div class="block">Sets a new render target for this GraphicsDevice.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#SetRenderTarget(Microsoft.Xna.Framework.Graphics.RenderTargetCube, Microsoft.Xna.Framework.Graphics.CubeMapFace)">SetRenderTarget</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/RenderTargetCube.html" title="class in Microsoft.Xna.Framework.Graphics">RenderTargetCube</a> renderTarget,
|
|
<a href="../../../../Microsoft/Xna/Framework/Graphics/CubeMapFace.html" title="enum in Microsoft.Xna.Framework.Graphics">CubeMapFace</a> cubeMapFace)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#SetRenderTargets(Microsoft.Xna.Framework.Graphics.RenderTargetBinding...)">SetRenderTargets</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/RenderTargetBinding.html" title="class in Microsoft.Xna.Framework.Graphics">RenderTargetBinding</a>... renderTargets)</code>
|
|
<div class="block">Sets an array of RenderTargets.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#SetVertexBuffer(Microsoft.Xna.Framework.Graphics.VertexBuffer)">SetVertexBuffer</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/VertexBuffer.html" title="class in Microsoft.Xna.Framework.Graphics">VertexBuffer</a> vertexBuffer)</code>
|
|
<div class="block">Sets or binds a vertex buffer to the device.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#SetVertexBuffer(Microsoft.Xna.Framework.Graphics.VertexBuffer, int)">SetVertexBuffer</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/VertexBuffer.html" title="class in Microsoft.Xna.Framework.Graphics">VertexBuffer</a> vertexBuffer,
|
|
int vertexOffset)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#setViewport(Microsoft.Xna.Framework.Graphics.Viewport)">setViewport</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/Viewport.html" title="class in Microsoft.Xna.Framework.Graphics">Viewport</a> value)</code> </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="DeviceLost">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DeviceLost</h4>
|
|
<pre>public final <a href="../../../../System/Event.html" title="class in System">Event</a><<a href="../../../../System/EventArgs.html" title="class in System">EventArgs</a>> DeviceLost</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="DeviceReset">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DeviceReset</h4>
|
|
<pre>public final <a href="../../../../System/Event.html" title="class in System">Event</a><<a href="../../../../System/EventArgs.html" title="class in System">EventArgs</a>> DeviceReset</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="DeviceResetting">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DeviceResetting</h4>
|
|
<pre>public final <a href="../../../../System/Event.html" title="class in System">Event</a><<a href="../../../../System/EventArgs.html" title="class in System">EventArgs</a>> DeviceResetting</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="Disposing">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Disposing</h4>
|
|
<pre>public final <a href="../../../../System/Event.html" title="class in System">Event</a><<a href="../../../../System/EventArgs.html" title="class in System">EventArgs</a>> Disposing</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="ResourceCreated">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>ResourceCreated</h4>
|
|
<pre>public final <a href="../../../../System/Event.html" title="class in System">Event</a><<a href="../../../../Microsoft/Xna/Framework/Graphics/ResourceCreatedEventArgs.html" title="class in Microsoft.Xna.Framework.Graphics">ResourceCreatedEventArgs</a>> ResourceCreated</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="ResourceDestroyed">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>ResourceDestroyed</h4>
|
|
<pre>public final <a href="../../../../System/Event.html" title="class in System">Event</a><<a href="../../../../Microsoft/Xna/Framework/Graphics/ResourceDestroyedEventArgs.html" title="class in Microsoft.Xna.Framework.Graphics">ResourceDestroyedEventArgs</a>> ResourceDestroyed</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a name="GraphicsDevice(Microsoft.Xna.Framework.Graphics.GraphicsAdapter, Microsoft.Xna.Framework.Graphics.GraphicsProfile, Microsoft.Xna.Framework.Graphics.PresentationParameters)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>GraphicsDevice</h4>
|
|
<pre>public GraphicsDevice(<a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsAdapter.html" title="class in Microsoft.Xna.Framework.Graphics">GraphicsAdapter</a> adapter,
|
|
<a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsProfile.html" title="enum in Microsoft.Xna.Framework.Graphics">GraphicsProfile</a> profile,
|
|
<a href="../../../../Microsoft/Xna/Framework/Graphics/PresentationParameters.html" title="class in Microsoft.Xna.Framework.Graphics">PresentationParameters</a> presentationParameters)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>adapter</code> - </dd><dd><code>profile</code> - </dd><dd><code>presentationParameters</code> - </dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="../../../../System/ArgumentNullException.html" title="class in System">ArgumentNullException</a></code></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="getAdapter()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getAdapter</h4>
|
|
<pre>public <a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsAdapter.html" title="class in Microsoft.Xna.Framework.Graphics">GraphicsAdapter</a> getAdapter()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getBlendFactor()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBlendFactor</h4>
|
|
<pre>public <a href="../../../../Microsoft/Xna/Framework/Color.html" title="class in Microsoft.Xna.Framework">Color</a> getBlendFactor()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setBlendFactor(Microsoft.Xna.Framework.Color)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setBlendFactor</h4>
|
|
<pre>public void setBlendFactor(<a href="../../../../Microsoft/Xna/Framework/Color.html" title="class in Microsoft.Xna.Framework">Color</a> value)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getGraphicsProfile()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getGraphicsProfile</h4>
|
|
<pre>public <a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsProfile.html" title="enum in Microsoft.Xna.Framework.Graphics">GraphicsProfile</a> getGraphicsProfile()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getIndices()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getIndices</h4>
|
|
<pre>public <a href="../../../../Microsoft/Xna/Framework/Graphics/IndexBuffer.html" title="class in Microsoft.Xna.Framework.Graphics">IndexBuffer</a> getIndices()</pre>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setIndices(Microsoft.Xna.Framework.Graphics.IndexBuffer)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setIndices</h4>
|
|
<pre>public void setIndices(<a href="../../../../Microsoft/Xna/Framework/Graphics/IndexBuffer.html" title="class in Microsoft.Xna.Framework.Graphics">IndexBuffer</a> value)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPresentationParameters()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPresentationParameters</h4>
|
|
<pre>public <a href="../../../../Microsoft/Xna/Framework/Graphics/PresentationParameters.html" title="class in Microsoft.Xna.Framework.Graphics">PresentationParameters</a> getPresentationParameters()</pre>
|
|
<div class="block">Gets the presentation parameters associated with this graphics device.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getTextures()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTextures</h4>
|
|
<pre>public <a href="../../../../Microsoft/Xna/Framework/Graphics/TextureCollection.html" title="class in Microsoft.Xna.Framework.Graphics">TextureCollection</a> getTextures()</pre>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getViewport()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getViewport</h4>
|
|
<pre>public <a href="../../../../Microsoft/Xna/Framework/Graphics/Viewport.html" title="class in Microsoft.Xna.Framework.Graphics">Viewport</a> getViewport()</pre>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setViewport(Microsoft.Xna.Framework.Graphics.Viewport)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setViewport</h4>
|
|
<pre>public void setViewport(<a href="../../../../Microsoft/Xna/Framework/Graphics/Viewport.html" title="class in Microsoft.Xna.Framework.Graphics">Viewport</a> value)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Clear(Microsoft.Xna.Framework.Color)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Clear</h4>
|
|
<pre>public void Clear(<a href="../../../../Microsoft/Xna/Framework/Color.html" title="class in Microsoft.Xna.Framework">Color</a> color)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>color</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Clear(java.util.EnumSet, Microsoft.Xna.Framework.Color, float, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Clear</h4>
|
|
<pre>public void Clear(java.util.EnumSet<<a href="../../../../Microsoft/Xna/Framework/Graphics/ClearOptions.html" title="enum in Microsoft.Xna.Framework.Graphics">ClearOptions</a>> options,
|
|
<a href="../../../../Microsoft/Xna/Framework/Color.html" title="class in Microsoft.Xna.Framework">Color</a> color,
|
|
float depth,
|
|
int stencil)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>options</code> - </dd><dd><code>color</code> - </dd><dd><code>depth</code> - </dd><dd><code>stencil</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Clear(java.util.EnumSet, Microsoft.Xna.Framework.Vector4, float, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Clear</h4>
|
|
<pre>public void Clear(java.util.EnumSet<<a href="../../../../Microsoft/Xna/Framework/Graphics/ClearOptions.html" title="enum in Microsoft.Xna.Framework.Graphics">ClearOptions</a>> options,
|
|
<a href="../../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> color,
|
|
float depth,
|
|
int stencil)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>options</code> - </dd><dd><code>color</code> - </dd><dd><code>depth</code> - </dd><dd><code>stencil</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Dispose()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Dispose</h4>
|
|
<pre>public final void Dispose()</pre>
|
|
<div class="block"><strong>Description copied from interface: <code><a href="../../../../System/IDisposable.html#Dispose()">IDisposable</a></code></strong></div>
|
|
<div class="block">Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../System/IDisposable.html#Dispose()">Dispose</a></code> in interface <code><a href="../../../../System/IDisposable.html" title="interface in System">IDisposable</a></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="DrawIndexedPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType, int, int, int, int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DrawIndexedPrimitives</h4>
|
|
<pre>public void DrawIndexedPrimitives(<a href="../../../../Microsoft/Xna/Framework/Graphics/PrimitiveType.html" title="enum in Microsoft.Xna.Framework.Graphics">PrimitiveType</a> primitiveType,
|
|
int baseVertex,
|
|
int minVertexIndex,
|
|
int numVertices,
|
|
int startIndex,
|
|
int primitiveCount)</pre>
|
|
<div class="block">Renders the specified geometric primitive, based on indexing into an array of vertices.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>primitiveType</code> - Describes the type of primitive to render. PrimitiveType.PointList is not supported with this method.</dd><dd><code>baseVertex</code> - Offset to add to each vertex index in the index buffer.</dd><dd><code>minVertexIndex</code> - Minimum vertex index for vertices used during the call. The minVertexIndex parameter and all of the indices in the index stream are relative to the baseVertex parameter.</dd><dd><code>numVertices</code> - Number of vertices used during the call. The first vertex is located at index: baseVertex + minVertexIndex.</dd><dd><code>startIndex</code> - Location in the index array at which to start reading vertices.</dd><dd><code>primitiveCount</code> - Number of primitives to render. The number of vertices used is a function of primitiveCount and primitiveType.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="DrawInstancedPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType, int, int, int, int, int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DrawInstancedPrimitives</h4>
|
|
<pre>public void DrawInstancedPrimitives(<a href="../../../../Microsoft/Xna/Framework/Graphics/PrimitiveType.html" title="enum in Microsoft.Xna.Framework.Graphics">PrimitiveType</a> primitiveType,
|
|
int baseVertex,
|
|
int minVertexIndex,
|
|
int numVertices,
|
|
int startIndex,
|
|
int primitiveCount,
|
|
int instanceCount)</pre>
|
|
<div class="block">Draws a series of instanced models.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>primitiveType</code> - The primitive type.</dd><dd><code>baseVertex</code> - Offset to add to each vertex index in the index buffer.</dd><dd><code>minVertexIndex</code> - Minimum vertex index for vertices used during the call. The minVertexIndex parameter and all of the indices in the index stream are relative to the baseVertex parameter.</dd><dd><code>numVertices</code> - Number of vertices used during the call. The first vertex is located at index: baseVertex + minVertexIndex.</dd><dd><code>startIndex</code> - Location in the index array at which to start reading vertices.</dd><dd><code>primitiveCount</code> - Number of primitives to render. The number of vertices used is a function of primitiveCount and primitiveType.</dd><dd><code>instanceCount</code> - Number of primitives to render.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="DrawPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType, int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DrawPrimitives</h4>
|
|
<pre>public void DrawPrimitives(<a href="../../../../Microsoft/Xna/Framework/Graphics/PrimitiveType.html" title="enum in Microsoft.Xna.Framework.Graphics">PrimitiveType</a> primitiveType,
|
|
int startVertex,
|
|
int primitiveCount)</pre>
|
|
<div class="block">Renders a sequence of non-indexed geometric primitives of the specified type from the current set of data input streams.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>primitiveType</code> - Describes the type of primitive to render.</dd><dd><code>startVertex</code> - Index of the first vertex to load. Beginning at startVertex, the correct number of vertices is read out of the vertex buffer.</dd><dd><code>primitiveCount</code> - Number of primitives to render. The primitiveCount is the number of primitives as determined by the primitive type. If it is a line list, each primitive has two vertices. If it is a triangle list, each primitive has three vertices.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="DrawUserIndexedPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType,System.ValueType[],int,int,int[],int,int)">
|
|
<!-- -->
|
|
</a><a name="DrawUserIndexedPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType, T[], int, int, int[], int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DrawUserIndexedPrimitives</h4>
|
|
<pre>public <T extends <a href="../../../../System/ValueType.html" title="class in System">ValueType</a> & <a href="../../../../Microsoft/Xna/Framework/Graphics/IVertexType.html" title="interface in Microsoft.Xna.Framework.Graphics">IVertexType</a>> void DrawUserIndexedPrimitives(<a href="../../../../Microsoft/Xna/Framework/Graphics/PrimitiveType.html" title="enum in Microsoft.Xna.Framework.Graphics">PrimitiveType</a> primitiveType,
|
|
T[] vertexData,
|
|
int vertexOffset,
|
|
int numVertices,
|
|
int[] indexData,
|
|
int indexOffset,
|
|
int primitiveCount)</pre>
|
|
<div class="block">Renders indexed primitives from a 32-bit index buffer and other related input parameters.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>primitiveType</code> - The primitive type.</dd><dd><code>vertexData</code> - The vertex data.</dd><dd><code>vertexOffset</code> - Offset (in vertices) from the beginning of the vertex buffer to the first vertex to draw.</dd><dd><code>numVertices</code> - Number of vertices to draw.</dd><dd><code>indexData</code> - The index data.</dd><dd><code>indexOffset</code> - Offset (in indices) from the beginning of the index buffer to the first index to use.</dd><dd><code>primitiveCount</code> - Number of primitives to render.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="DrawUserIndexedPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType,System.ValueType[],int,int,int[],int,int,Microsoft.Xna.Framework.Graphics.VertexDeclaration)">
|
|
<!-- -->
|
|
</a><a name="DrawUserIndexedPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType, T[], int, int, int[], int, int, Microsoft.Xna.Framework.Graphics.VertexDeclaration)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DrawUserIndexedPrimitives</h4>
|
|
<pre>public <T extends <a href="../../../../System/ValueType.html" title="class in System">ValueType</a>> void DrawUserIndexedPrimitives(<a href="../../../../Microsoft/Xna/Framework/Graphics/PrimitiveType.html" title="enum in Microsoft.Xna.Framework.Graphics">PrimitiveType</a> primitiveType,
|
|
T[] vertexData,
|
|
int vertexOffset,
|
|
int numVertices,
|
|
int[] indexData,
|
|
int indexOffset,
|
|
int primitiveCount,
|
|
<a href="../../../../Microsoft/Xna/Framework/Graphics/VertexDeclaration.html" title="class in Microsoft.Xna.Framework.Graphics">VertexDeclaration</a> vertexDeclaration)</pre>
|
|
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - </dd><dt><span class="strong">Parameters:</span></dt><dd><code>primitiveType</code> - </dd><dd><code>vertexData</code> - </dd><dd><code>vertexOffset</code> - </dd><dd><code>numVertices</code> - </dd><dd><code>indexData</code> - </dd><dd><code>indexOffset</code> - </dd><dd><code>primitiveCount</code> - </dd><dd><code>vertexDeclaration</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="DrawUserIndexedPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType,System.ValueType[],int,int,short[],int,int)">
|
|
<!-- -->
|
|
</a><a name="DrawUserIndexedPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType, T[], int, int, short[], int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DrawUserIndexedPrimitives</h4>
|
|
<pre>public <T extends <a href="../../../../System/ValueType.html" title="class in System">ValueType</a> & <a href="../../../../Microsoft/Xna/Framework/Graphics/IVertexType.html" title="interface in Microsoft.Xna.Framework.Graphics">IVertexType</a>> void DrawUserIndexedPrimitives(<a href="../../../../Microsoft/Xna/Framework/Graphics/PrimitiveType.html" title="enum in Microsoft.Xna.Framework.Graphics">PrimitiveType</a> primitiveType,
|
|
T[] vertexData,
|
|
int vertexOffset,
|
|
int numVertices,
|
|
short[] indexData,
|
|
int indexOffset,
|
|
int primitiveCount)</pre>
|
|
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - </dd><dt><span class="strong">Parameters:</span></dt><dd><code>primitiveType</code> - </dd><dd><code>vertexData</code> - </dd><dd><code>vertexOffset</code> - </dd><dd><code>numVertices</code> - </dd><dd><code>indexData</code> - </dd><dd><code>indexOffset</code> - </dd><dd><code>primitiveCount</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="DrawUserIndexedPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType,System.ValueType[],int,int,short[],int,int,Microsoft.Xna.Framework.Graphics.VertexDeclaration)">
|
|
<!-- -->
|
|
</a><a name="DrawUserIndexedPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType, T[], int, int, short[], int, int, Microsoft.Xna.Framework.Graphics.VertexDeclaration)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DrawUserIndexedPrimitives</h4>
|
|
<pre>public <T extends <a href="../../../../System/ValueType.html" title="class in System">ValueType</a>> void DrawUserIndexedPrimitives(<a href="../../../../Microsoft/Xna/Framework/Graphics/PrimitiveType.html" title="enum in Microsoft.Xna.Framework.Graphics">PrimitiveType</a> primitiveType,
|
|
T[] vertexData,
|
|
int vertexOffset,
|
|
int numVertices,
|
|
short[] indexData,
|
|
int indexOffset,
|
|
int primitiveCount,
|
|
<a href="../../../../Microsoft/Xna/Framework/Graphics/VertexDeclaration.html" title="class in Microsoft.Xna.Framework.Graphics">VertexDeclaration</a> vertexDeclaration)</pre>
|
|
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - </dd><dt><span class="strong">Parameters:</span></dt><dd><code>primitiveType</code> - </dd><dd><code>vertexData</code> - </dd><dd><code>vertexOffset</code> - </dd><dd><code>numVertices</code> - </dd><dd><code>indexData</code> - </dd><dd><code>indexOffset</code> - </dd><dd><code>primitiveCount</code> - </dd><dd><code>vertexDeclaration</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="DrawUserPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType,System.ValueType[],int,int)">
|
|
<!-- -->
|
|
</a><a name="DrawUserPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType, T[], int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DrawUserPrimitives</h4>
|
|
<pre>public <T extends <a href="../../../../System/ValueType.html" title="class in System">ValueType</a> & <a href="../../../../Microsoft/Xna/Framework/Graphics/IVertexType.html" title="interface in Microsoft.Xna.Framework.Graphics">IVertexType</a>> void DrawUserPrimitives(<a href="../../../../Microsoft/Xna/Framework/Graphics/PrimitiveType.html" title="enum in Microsoft.Xna.Framework.Graphics">PrimitiveType</a> primitiveType,
|
|
T[] vertexData,
|
|
int vertexOffset,
|
|
int primitiveCount)</pre>
|
|
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - </dd><dt><span class="strong">Parameters:</span></dt><dd><code>primitiveType</code> - </dd><dd><code>vertexData</code> - </dd><dd><code>vertexOffset</code> - </dd><dd><code>primitiveCount</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="DrawUserPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType,System.ValueType[],int,int,Microsoft.Xna.Framework.Graphics.VertexDeclaration)">
|
|
<!-- -->
|
|
</a><a name="DrawUserPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType, T[], int, int, Microsoft.Xna.Framework.Graphics.VertexDeclaration)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DrawUserPrimitives</h4>
|
|
<pre>public <T extends <a href="../../../../System/ValueType.html" title="class in System">ValueType</a>> void DrawUserPrimitives(<a href="../../../../Microsoft/Xna/Framework/Graphics/PrimitiveType.html" title="enum in Microsoft.Xna.Framework.Graphics">PrimitiveType</a> primitiveType,
|
|
T[] vertexData,
|
|
int vertexOffset,
|
|
int primitiveCount,
|
|
<a href="../../../../Microsoft/Xna/Framework/Graphics/VertexDeclaration.html" title="class in Microsoft.Xna.Framework.Graphics">VertexDeclaration</a> vertexDeclaration)</pre>
|
|
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - </dd><dt><span class="strong">Parameters:</span></dt><dd><code>primitiveType</code> - </dd><dd><code>vertexData</code> - </dd><dd><code>vertexOffset</code> - </dd><dd><code>primitiveCount</code> - </dd><dd><code>vertexDeclaration</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="GetBackBufferData(Microsoft.Xna.Framework.Rectangle,java.lang.Number[],int,int)">
|
|
<!-- -->
|
|
</a><a name="GetBackBufferData(Microsoft.Xna.Framework.Rectangle, T[], int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>GetBackBufferData</h4>
|
|
<pre>public <T extends java.lang.Number> void GetBackBufferData(<a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> rect,
|
|
T[] data,
|
|
int startIndex,
|
|
int offset)</pre>
|
|
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - </dd><dt><span class="strong">Parameters:</span></dt><dd><code>rect</code> - </dd><dd><code>data</code> - </dd><dd><code>startIndex</code> - </dd><dd><code>offset</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="GetBackBufferData(java.lang.Number[])">
|
|
<!-- -->
|
|
</a><a name="GetBackBufferData(T[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>GetBackBufferData</h4>
|
|
<pre>public <T extends java.lang.Number> void GetBackBufferData(T[] data)</pre>
|
|
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - </dd><dt><span class="strong">Parameters:</span></dt><dd><code>data</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="GetBackBufferData(java.lang.Number[],int,int)">
|
|
<!-- -->
|
|
</a><a name="GetBackBufferData(T[], int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>GetBackBufferData</h4>
|
|
<pre>public <T extends java.lang.Number> void GetBackBufferData(T[] data,
|
|
int startIndex,
|
|
int elementCount)</pre>
|
|
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - </dd><dt><span class="strong">Parameters:</span></dt><dd><code>data</code> - </dd><dd><code>startIndex</code> - </dd><dd><code>elementCount</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="GetRenderTargets()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>GetRenderTargets</h4>
|
|
<pre>public <a href="../../../../Microsoft/Xna/Framework/Graphics/RenderTargetBinding.html" title="class in Microsoft.Xna.Framework.Graphics">RenderTargetBinding</a>[] GetRenderTargets()</pre>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Present()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Present</h4>
|
|
<pre>public void Present()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="Reset()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Reset</h4>
|
|
<pre>public void Reset()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="Reset(Microsoft.Xna.Framework.Graphics.PresentationParameters)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Reset</h4>
|
|
<pre>public void Reset(<a href="../../../../Microsoft/Xna/Framework/Graphics/PresentationParameters.html" title="class in Microsoft.Xna.Framework.Graphics">PresentationParameters</a> presentationParameters)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>presentationParameters</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Reset(Microsoft.Xna.Framework.Graphics.PresentationParameters, Microsoft.Xna.Framework.Graphics.GraphicsAdapter)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Reset</h4>
|
|
<pre>public void Reset(<a href="../../../../Microsoft/Xna/Framework/Graphics/PresentationParameters.html" title="class in Microsoft.Xna.Framework.Graphics">PresentationParameters</a> presentationParameters,
|
|
<a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsAdapter.html" title="class in Microsoft.Xna.Framework.Graphics">GraphicsAdapter</a> adapter)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>presentationParameters</code> - </dd><dd><code>adapter</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="SetRenderTarget(Microsoft.Xna.Framework.Graphics.RenderTarget2D)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>SetRenderTarget</h4>
|
|
<pre>public void SetRenderTarget(<a href="../../../../Microsoft/Xna/Framework/Graphics/RenderTarget2D.html" title="class in Microsoft.Xna.Framework.Graphics">RenderTarget2D</a> renderTarget)</pre>
|
|
<div class="block">Sets a new render target for this GraphicsDevice.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>renderTarget</code> - A new render target for the device, or null to set the device render target to the back buffer of the device.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="SetRenderTarget(Microsoft.Xna.Framework.Graphics.RenderTargetCube, Microsoft.Xna.Framework.Graphics.CubeMapFace)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>SetRenderTarget</h4>
|
|
<pre>public void SetRenderTarget(<a href="../../../../Microsoft/Xna/Framework/Graphics/RenderTargetCube.html" title="class in Microsoft.Xna.Framework.Graphics">RenderTargetCube</a> renderTarget,
|
|
<a href="../../../../Microsoft/Xna/Framework/Graphics/CubeMapFace.html" title="enum in Microsoft.Xna.Framework.Graphics">CubeMapFace</a> cubeMapFace)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>renderTarget</code> - </dd><dd><code>cubeMapFace</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="SetRenderTargets(Microsoft.Xna.Framework.Graphics.RenderTargetBinding...)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>SetRenderTargets</h4>
|
|
<pre>public void SetRenderTargets(<a href="../../../../Microsoft/Xna/Framework/Graphics/RenderTargetBinding.html" title="class in Microsoft.Xna.Framework.Graphics">RenderTargetBinding</a>... renderTargets)</pre>
|
|
<div class="block">Sets an array of RenderTargets.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>renderTargets</code> - An array of RenderTargets.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="SetVertexBuffer(Microsoft.Xna.Framework.Graphics.VertexBuffer)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>SetVertexBuffer</h4>
|
|
<pre>public void SetVertexBuffer(<a href="../../../../Microsoft/Xna/Framework/Graphics/VertexBuffer.html" title="class in Microsoft.Xna.Framework.Graphics">VertexBuffer</a> vertexBuffer)</pre>
|
|
<div class="block">Sets or binds a vertex buffer to the device.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>vertexBuffer</code> - A vertex buffer.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="SetVertexBuffer(Microsoft.Xna.Framework.Graphics.VertexBuffer, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>SetVertexBuffer</h4>
|
|
<pre>public void SetVertexBuffer(<a href="../../../../Microsoft/Xna/Framework/Graphics/VertexBuffer.html" title="class in Microsoft.Xna.Framework.Graphics">VertexBuffer</a> vertexBuffer,
|
|
int vertexOffset)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>vertexBuffer</code> - </dd><dd><code>vertexOffset</code> - </dd></dl>
|
|
</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/GraphicsDevice.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/Graphics/GraphicsAdapter.html" title="class in Microsoft.Xna.Framework.Graphics"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDeviceStatus.html" title="enum in Microsoft.Xna.Framework.Graphics"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../index.html?Microsoft/Xna/Framework/Graphics/GraphicsDevice.html" target="_top">Frames</a></li>
|
|
<li><a href="GraphicsDevice.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>
|