<li><ahref="../../../../Microsoft/Xna/Framework/Graphics/RasterizerState.html"title="class in Microsoft.Xna.Framework.Graphics"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../Microsoft/Xna/Framework/Graphics/RenderTargetBinding.html"title="class in Microsoft.Xna.Framework.Graphics"><spanclass="strong">Next Class</span></a></li>
<li><ahref="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html"title="class in Microsoft.Xna.Framework.Graphics">Microsoft.Xna.Framework.Graphics.GraphicsResource</a></li>
<li>
<ulclass="inheritance">
<li><ahref="../../../../Microsoft/Xna/Framework/Graphics/Texture.html"title="class in Microsoft.Xna.Framework.Graphics">Microsoft.Xna.Framework.Graphics.Texture</a></li>
<li>
<ulclass="inheritance">
<li><ahref="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html"title="class in Microsoft.Xna.Framework.Graphics">Microsoft.Xna.Framework.Graphics.Texture2D</a></li>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Field and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../../System/Event.html"title="class in System">Event</a><<ahref="../../../../System/EventArgs.html"title="class in System">EventArgs</a>></code></td>
<h3>Fields inherited from class Microsoft.Xna.Framework.Graphics.<ahref="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html"title="class in Microsoft.Xna.Framework.Graphics">Texture2D</a></h3>
<h3>Fields inherited from class Microsoft.Xna.Framework.Graphics.<ahref="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html"title="class in Microsoft.Xna.Framework.Graphics">GraphicsResource</a></h3>
<thclass="colOne"scope="col">Constructor and Description</th>
</tr>
<trclass="altColor">
<tdclass="colOne"><code><strong><ahref="../../../../Microsoft/Xna/Framework/Graphics/RenderTarget2D.html#RenderTarget2D(Microsoft.Xna.Framework.Graphics.GraphicsDevice, int, int)">RenderTarget2D</a></strong>(<ahref="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html"title="class in Microsoft.Xna.Framework.Graphics">GraphicsDevice</a> graphicsDevice,
int width,
int height)</code>
<divclass="block">Creates an instance of this object.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colOne"><code><strong><ahref="../../../../Microsoft/Xna/Framework/Graphics/RenderTarget2D.html#RenderTarget2D(Microsoft.Xna.Framework.Graphics.GraphicsDevice, int, int, boolean, Microsoft.Xna.Framework.Graphics.SurfaceFormat, Microsoft.Xna.Framework.Graphics.DepthFormat)">RenderTarget2D</a></strong>(<ahref="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html"title="class in Microsoft.Xna.Framework.Graphics">GraphicsDevice</a> graphicsDevice,
int width,
int height,
boolean mipMap,
<ahref="../../../../Microsoft/Xna/Framework/Graphics/SurfaceFormat.html"title="enum in Microsoft.Xna.Framework.Graphics">SurfaceFormat</a> preferredFormat,
<ahref="../../../../Microsoft/Xna/Framework/Graphics/DepthFormat.html"title="enum in Microsoft.Xna.Framework.Graphics">DepthFormat</a> preferredDepthFormat)</code> </td>
</tr>
<trclass="altColor">
<tdclass="colOne"><code><strong><ahref="../../../../Microsoft/Xna/Framework/Graphics/RenderTarget2D.html#RenderTarget2D(Microsoft.Xna.Framework.Graphics.GraphicsDevice, int, int, boolean, Microsoft.Xna.Framework.Graphics.SurfaceFormat, Microsoft.Xna.Framework.Graphics.DepthFormat, int, Microsoft.Xna.Framework.Graphics.RenderTargetUsage)">RenderTarget2D</a></strong>(<ahref="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html"title="class in Microsoft.Xna.Framework.Graphics">GraphicsDevice</a> graphicsDevice,
int width,
int height,
boolean mipMap,
<ahref="../../../../Microsoft/Xna/Framework/Graphics/SurfaceFormat.html"title="enum in Microsoft.Xna.Framework.Graphics">SurfaceFormat</a> preferredFormat,
<ahref="../../../../Microsoft/Xna/Framework/Graphics/DepthFormat.html"title="enum in Microsoft.Xna.Framework.Graphics">DepthFormat</a> preferredDepthFormat,
int preferredMultiSampleCount,
<ahref="../../../../Microsoft/Xna/Framework/Graphics/RenderTargetUsage.html"title="enum in Microsoft.Xna.Framework.Graphics">RenderTargetUsage</a> usage)</code> </td>
<divclass="block">Immediately releases the unmanaged resources used by this Object.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../../Microsoft/Xna/Framework/Graphics/DepthFormat.html"title="enum in Microsoft.Xna.Framework.Graphics">DepthFormat</a></code></td>
<divclass="block">Gets the number of sample locations during multisampling.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../../Microsoft/Xna/Framework/Graphics/RenderTargetUsage.html"title="enum in Microsoft.Xna.Framework.Graphics">RenderTargetUsage</a></code></td>
<h3>Methods inherited from class Microsoft.Xna.Framework.Graphics.<ahref="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html"title="class in Microsoft.Xna.Framework.Graphics">Texture2D</a></h3>
<h3>Methods inherited from class Microsoft.Xna.Framework.Graphics.<ahref="../../../../Microsoft/Xna/Framework/Graphics/Texture.html"title="class in Microsoft.Xna.Framework.Graphics">Texture</a></h3>
<h3>Methods inherited from class Microsoft.Xna.Framework.Graphics.<ahref="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html"title="class in Microsoft.Xna.Framework.Graphics">GraphicsResource</a></h3>
<pre>public final <ahref="../../../../System/Event.html"title="class in System">Event</a><<ahref="../../../../System/EventArgs.html"title="class in System">EventArgs</a>> ContentLost</pre>
<divclass="block">Occurs when resources are lost due to a lost device event.</div>
<pre>public RenderTarget2D(<ahref="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html"title="class in Microsoft.Xna.Framework.Graphics">GraphicsDevice</a> graphicsDevice,
int width,
int height)</pre>
<divclass="block">Creates an instance of this object.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>graphicsDevice</code> - The graphics device to associate with this render target resource.</dd><dd><code>width</code> - Width, in pixels, of the render target. You can use graphicsDevice.PresentationParameters.BackBufferWidth to get the current screen width.</dd><dd><code>height</code> - Height, in pixels, of the render target. You can use graphicsDevice.PresentationParameters.BackBufferHeight to get the current screen height.</dd></dl>
<pre>public RenderTarget2D(<ahref="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html"title="class in Microsoft.Xna.Framework.Graphics">GraphicsDevice</a> graphicsDevice,
int width,
int height,
boolean mipMap,
<ahref="../../../../Microsoft/Xna/Framework/Graphics/SurfaceFormat.html"title="enum in Microsoft.Xna.Framework.Graphics">SurfaceFormat</a> preferredFormat,
<ahref="../../../../Microsoft/Xna/Framework/Graphics/DepthFormat.html"title="enum in Microsoft.Xna.Framework.Graphics">DepthFormat</a> preferredDepthFormat)</pre>
<pre>public RenderTarget2D(<ahref="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html"title="class in Microsoft.Xna.Framework.Graphics">GraphicsDevice</a> graphicsDevice,
int width,
int height,
boolean mipMap,
<ahref="../../../../Microsoft/Xna/Framework/Graphics/SurfaceFormat.html"title="enum in Microsoft.Xna.Framework.Graphics">SurfaceFormat</a> preferredFormat,
<ahref="../../../../Microsoft/Xna/Framework/Graphics/DepthFormat.html"title="enum in Microsoft.Xna.Framework.Graphics">DepthFormat</a> preferredDepthFormat,
int preferredMultiSampleCount,
<ahref="../../../../Microsoft/Xna/Framework/Graphics/RenderTargetUsage.html"title="enum in Microsoft.Xna.Framework.Graphics">RenderTargetUsage</a> usage)</pre>
<pre>public <ahref="../../../../Microsoft/Xna/Framework/Graphics/DepthFormat.html"title="enum in Microsoft.Xna.Framework.Graphics">DepthFormat</a> getDepthStencilFormat()</pre>
<divclass="block">Gets the data format for the depth stencil data.</div>
<divclass="block">Gets the number of sample locations during multisampling.</div>
</li>
</ul>
<aname="getRenderTargetUsage()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getRenderTargetUsage</h4>
<pre>public <ahref="../../../../Microsoft/Xna/Framework/Graphics/RenderTargetUsage.html"title="enum in Microsoft.Xna.Framework.Graphics">RenderTargetUsage</a> getRenderTargetUsage()</pre>
<divclass="block">Gets or sets the render target usage.</div>
<divclass="block"><strong>Description copied from class: <code><ahref="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#Dispose(boolean)">GraphicsResource</a></code></strong></div>
<divclass="block">Immediately releases the unmanaged resources used by this Object.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><ahref="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html#Dispose(boolean)">Dispose</a></code> in class <code><ahref="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html"title="class in Microsoft.Xna.Framework.Graphics">Texture2D</a></code></dd>
<li><ahref="../../../../Microsoft/Xna/Framework/Graphics/RasterizerState.html"title="class in Microsoft.Xna.Framework.Graphics"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../Microsoft/Xna/Framework/Graphics/RenderTargetBinding.html"title="class in Microsoft.Xna.Framework.Graphics"><spanclass="strong">Next Class</span></a></li>