<li><ahref="../../../../Microsoft/Xna/Framework/Graphics/TextureCollection.html"title="class in Microsoft.Xna.Framework.Graphics"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../Microsoft/Xna/Framework/Graphics/TextureFilter.html"title="enum 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>
<dd><ahref="../../../../System/IDisposable.html"title="interface in System">IDisposable</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><ahref="../../../../Microsoft/Xna/Framework/Graphics/RenderTargetCube.html"title="class in Microsoft.Xna.Framework.Graphics">RenderTargetCube</a></dd>
</dl>
<hr>
<br>
<pre>public class <spanclass="strong">TextureCube</span>
extends <ahref="../../../../Microsoft/Xna/Framework/Graphics/Texture.html"title="class in Microsoft.Xna.Framework.Graphics">Texture</a></pre>
<divclass="block">Represents a set of six 2D textures, one for each face of a cube.</div>
<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/TextureCube.html#TextureCube(Microsoft.Xna.Framework.Graphics.GraphicsDevice, int, boolean, Microsoft.Xna.Framework.Graphics.SurfaceFormat)">TextureCube</a></strong>(<ahref="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html"title="class in Microsoft.Xna.Framework.Graphics">GraphicsDevice</a> graphicsDevice,
int size,
boolean mipMap,
<ahref="../../../../Microsoft/Xna/Framework/Graphics/SurfaceFormat.html"title="enum in Microsoft.Xna.Framework.Graphics">SurfaceFormat</a> format)</code>
<divclass="block">Creates a new instance of this Object.</div>
<divclass="block">Allows this Object to attempt to free resources and perform other cleanup operations before garbage collection reclaims the object.</div>
<tdclass="colLast"><code><strong><ahref="../../../../Microsoft/Xna/Framework/Graphics/TextureCube.html#GetData(Microsoft.Xna.Framework.Graphics.CubeMapFace, T[])">GetData</a></strong>(<ahref="../../../../Microsoft/Xna/Framework/Graphics/CubeMapFace.html"title="enum in Microsoft.Xna.Framework.Graphics">CubeMapFace</a> cubeMapFace,
<tdclass="colLast"><code><strong><ahref="../../../../Microsoft/Xna/Framework/Graphics/TextureCube.html#SetData(Microsoft.Xna.Framework.Graphics.CubeMapFace, T[])">SetData</a></strong>(<ahref="../../../../Microsoft/Xna/Framework/Graphics/CubeMapFace.html"title="enum in Microsoft.Xna.Framework.Graphics">CubeMapFace</a> cubeMapFace,
T[] data)</code>
<divclass="block">Sets cube texture data, specifying a cubemap face.</div>
<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 TextureCube(<ahref="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html"title="class in Microsoft.Xna.Framework.Graphics">GraphicsDevice</a> graphicsDevice,
int size,
boolean mipMap,
<ahref="../../../../Microsoft/Xna/Framework/Graphics/SurfaceFormat.html"title="enum in Microsoft.Xna.Framework.Graphics">SurfaceFormat</a> format)</pre>
<divclass="block">Creates a new instance of this Object.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>graphicsDevice</code> - The device.</dd><dd><code>size</code> - The size (in pixels) of the top-level faces of the cube texture. Subsequent levels of each face will be the truncated value of half of the previous level's pixel dimension (independently). Each dimension is clamped to a minimum of 1 pixel.</dd><dd><code>mipMap</code> - True to generate a full mipmap chain, false otherwise.</dd><dd><code>format</code> - Surface data format.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../../System/NotSupportedException.html"title="class in System">NotSupportedException</a></code></dd></dl>
<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/GraphicsResource.html#Dispose(boolean)">Dispose</a></code> in class <code><ahref="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html"title="class in Microsoft.Xna.Framework.Graphics">GraphicsResource</a></code></dd>
</dl>
</li>
</ul>
<aname="finalize()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>finalize</h4>
<pre>protected void finalize()</pre>
<divclass="block"><strong>Description copied from class: <code><ahref="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#finalize()">GraphicsResource</a></code></strong></div>
<divclass="block">Allows this Object to attempt to free resources and perform other cleanup operations before garbage collection reclaims the object.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><ahref="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#finalize()">finalize</a></code> in class <code><ahref="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html"title="class in Microsoft.Xna.Framework.Graphics">GraphicsResource</a></code></dd>
<pre>public <T extends java.lang.Number> void GetData(<ahref="../../../../Microsoft/Xna/Framework/Graphics/CubeMapFace.html"title="enum in Microsoft.Xna.Framework.Graphics">CubeMapFace</a> cubeMapFace,
<pre>public <T extends java.lang.Number> void GetData(<ahref="../../../../Microsoft/Xna/Framework/Graphics/CubeMapFace.html"title="enum in Microsoft.Xna.Framework.Graphics">CubeMapFace</a> cubeMapFace,
<pre>public <T extends java.lang.Number> void GetData(<ahref="../../../../Microsoft/Xna/Framework/Graphics/CubeMapFace.html"title="enum in Microsoft.Xna.Framework.Graphics">CubeMapFace</a> cubeMapFace,
int level,
<ahref="../../../../Microsoft/Xna/Framework/Rectangle.html"title="class in Microsoft.Xna.Framework">Rectangle</a> rect,
<pre>public <T extends java.lang.Number> void SetData(<ahref="../../../../Microsoft/Xna/Framework/Graphics/CubeMapFace.html"title="enum in Microsoft.Xna.Framework.Graphics">CubeMapFace</a> cubeMapFace,
T[] data)</pre>
<divclass="block">Sets cube texture data, specifying a cubemap face.</div>
<pre>public <T extends java.lang.Number> void SetData(<ahref="../../../../Microsoft/Xna/Framework/Graphics/CubeMapFace.html"title="enum in Microsoft.Xna.Framework.Graphics">CubeMapFace</a> cubeMapFace,
T[] data,
int startIndex,
int elementCount)</pre>
<divclass="block">Sets cube texture data, specifying a cubemap face, start index, and number of elements.</div>
<pre>public <T extends java.lang.Number> void SetData(<ahref="../../../../Microsoft/Xna/Framework/Graphics/CubeMapFace.html"title="enum in Microsoft.Xna.Framework.Graphics">CubeMapFace</a> cubeMapFace,
int level,
<ahref="../../../../Microsoft/Xna/Framework/Rectangle.html"title="class in Microsoft.Xna.Framework">Rectangle</a> rect,
T[] data,
int startIndex,
int elementCount)</pre>
<divclass="block">Sets cube texture data, specifying a cubemap face, mipmap level, source rectangle, start index, and number of elements.</div>
<li><ahref="../../../../Microsoft/Xna/Framework/Graphics/TextureCollection.html"title="class in Microsoft.Xna.Framework.Graphics"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../Microsoft/Xna/Framework/Graphics/TextureFilter.html"title="enum in Microsoft.Xna.Framework.Graphics"><spanclass="strong">Next Class</span></a></li>