2013-06-13 19:57:30 +02:00

589 lines
30 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Sun Apr 15 20:18:21 CEST 2012 -->
<TITLE>
TextureCube
</TITLE>
<META NAME="date" CONTENT="2012-04-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="TextureCube";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TextureCube.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../Microsoft/Xna/Framework/Graphics/TextureCollection.html" title="class in Microsoft.Xna.Framework.Graphics"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../Microsoft/Xna/Framework/Graphics/TextureFilter.html" title="enum in Microsoft.Xna.Framework.Graphics"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?Microsoft/Xna/Framework/Graphics/TextureCube.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="TextureCube.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_Microsoft.Xna.Framework.Graphics.GraphicsResource">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
Microsoft.Xna.Framework.Graphics</FONT>
<BR>
Class TextureCube</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html" title="class in Microsoft.Xna.Framework.Graphics">Microsoft.Xna.Framework.Graphics.GraphicsResource</A>
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture.html" title="class in Microsoft.Xna.Framework.Graphics">Microsoft.Xna.Framework.Graphics.Texture</A>
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>Microsoft.Xna.Framework.Graphics.TextureCube</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../System/IDisposable.html" title="interface in System">IDisposable</A></DD>
</DL>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../Microsoft/Xna/Framework/Graphics/RenderTargetCube.html" title="class in Microsoft.Xna.Framework.Graphics">RenderTargetCube</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>TextureCube</B><DT>extends <A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture.html" title="class in Microsoft.Xna.Framework.Graphics">Texture</A></DL>
</PRE>
<P>
Represents a set of six 2D textures, one for each face of a cube.
<P>
<P>
<DL>
<DT><B>Author:</B></DT>
<DD>Halofreak1990</DD>
</DL>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_Microsoft.Xna.Framework.Graphics.GraphicsResource"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from class Microsoft.Xna.Framework.Graphics.<A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html" title="class in Microsoft.Xna.Framework.Graphics">GraphicsResource</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#_parent">_parent</A>, <A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#Disposing">Disposing</A>, <A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#Name">Name</A>, <A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#Tag">Tag</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/TextureCube.html#TextureCube(Microsoft.Xna.Framework.Graphics.GraphicsDevice, int, boolean, Microsoft.Xna.Framework.Graphics.SurfaceFormat)">TextureCube</A></B>(<A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html" title="class in Microsoft.Xna.Framework.Graphics">GraphicsDevice</A>&nbsp;graphicsDevice,
int&nbsp;size,
boolean&nbsp;mipMap,
<A HREF="../../../../Microsoft/Xna/Framework/Graphics/SurfaceFormat.html" title="enum in Microsoft.Xna.Framework.Graphics">SurfaceFormat</A>&nbsp;format)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new instance of this Object.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/TextureCube.html#Dispose(boolean)">Dispose</A></B>(boolean&nbsp;disposing)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Immediately releases the unmanaged resources used by this Object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/TextureCube.html#finalize()">finalize</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Allows this Object to attempt to free resources and perform other cleanup operations before garbage collection reclaims the object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T extends java.lang.Number&gt;
<BR>
void</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/TextureCube.html#GetData(Microsoft.Xna.Framework.Graphics.CubeMapFace, int, Microsoft.Xna.Framework.Rectangle, T[], int, int)">GetData</A></B>(<A HREF="../../../../Microsoft/Xna/Framework/Graphics/CubeMapFace.html" title="enum in Microsoft.Xna.Framework.Graphics">CubeMapFace</A>&nbsp;cubeMapFace,
int&nbsp;level,
<A HREF="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</A>&nbsp;rect,
T[]&nbsp;data,
int&nbsp;startIndex,
int&nbsp;elementCount)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T extends java.lang.Number&gt;
<BR>
void</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/TextureCube.html#GetData(Microsoft.Xna.Framework.Graphics.CubeMapFace, T[])">GetData</A></B>(<A HREF="../../../../Microsoft/Xna/Framework/Graphics/CubeMapFace.html" title="enum in Microsoft.Xna.Framework.Graphics">CubeMapFace</A>&nbsp;cubeMapFace,
T[]&nbsp;data)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T extends java.lang.Number&gt;
<BR>
void</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/TextureCube.html#GetData(Microsoft.Xna.Framework.Graphics.CubeMapFace, T[], int, int)">GetData</A></B>(<A HREF="../../../../Microsoft/Xna/Framework/Graphics/CubeMapFace.html" title="enum in Microsoft.Xna.Framework.Graphics">CubeMapFace</A>&nbsp;cubeMapFace,
T[]&nbsp;data,
int&nbsp;startIndex,
int&nbsp;elementCount)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T extends java.lang.Number&gt;
<BR>
void</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/TextureCube.html#SetData(Microsoft.Xna.Framework.Graphics.CubeMapFace, int, Microsoft.Xna.Framework.Rectangle, T[], int, int)">SetData</A></B>(<A HREF="../../../../Microsoft/Xna/Framework/Graphics/CubeMapFace.html" title="enum in Microsoft.Xna.Framework.Graphics">CubeMapFace</A>&nbsp;cubeMapFace,
int&nbsp;level,
<A HREF="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</A>&nbsp;rect,
T[]&nbsp;data,
int&nbsp;startIndex,
int&nbsp;elementCount)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets cube texture data, specifying a cubemap face, mipmap level, source rectangle, start index, and number of elements.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T extends java.lang.Number&gt;
<BR>
void</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/TextureCube.html#SetData(Microsoft.Xna.Framework.Graphics.CubeMapFace, T[])">SetData</A></B>(<A HREF="../../../../Microsoft/Xna/Framework/Graphics/CubeMapFace.html" title="enum in Microsoft.Xna.Framework.Graphics">CubeMapFace</A>&nbsp;cubeMapFace,
T[]&nbsp;data)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets cube texture data, specifying a cubemap face.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T extends java.lang.Number&gt;
<BR>
void</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/TextureCube.html#SetData(Microsoft.Xna.Framework.Graphics.CubeMapFace, T[], int, int)">SetData</A></B>(<A HREF="../../../../Microsoft/Xna/Framework/Graphics/CubeMapFace.html" title="enum in Microsoft.Xna.Framework.Graphics">CubeMapFace</A>&nbsp;cubeMapFace,
T[]&nbsp;data,
int&nbsp;startIndex,
int&nbsp;elementCount)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets cube texture data, specifying a cubemap face, start index, and number of elements.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/TextureCube.html#Size()">Size</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_Microsoft.Xna.Framework.Graphics.Texture"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class Microsoft.Xna.Framework.Graphics.<A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture.html" title="class in Microsoft.Xna.Framework.Graphics">Texture</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture.html#Format()">Format</A>, <A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture.html#LevelCount()">LevelCount</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_Microsoft.Xna.Framework.Graphics.GraphicsResource"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class Microsoft.Xna.Framework.Graphics.<A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html" title="class in Microsoft.Xna.Framework.Graphics">GraphicsResource</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#Dispose()">Dispose</A>, <A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#GraphicsDevice()">GraphicsDevice</A>, <A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#IsDisposed()">IsDisposed</A>, <A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#raise_disposing(java.lang.Object, System.EventArgs)">raise_disposing</A>, <A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#toString()">toString</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="TextureCube(Microsoft.Xna.Framework.Graphics.GraphicsDevice, int, boolean, Microsoft.Xna.Framework.Graphics.SurfaceFormat)"><!-- --></A><H3>
TextureCube</H3>
<PRE>
public <B>TextureCube</B>(<A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html" title="class in Microsoft.Xna.Framework.Graphics">GraphicsDevice</A>&nbsp;graphicsDevice,
int&nbsp;size,
boolean&nbsp;mipMap,
<A HREF="../../../../Microsoft/Xna/Framework/Graphics/SurfaceFormat.html" title="enum in Microsoft.Xna.Framework.Graphics">SurfaceFormat</A>&nbsp;format)</PRE>
<DL>
<DD>Creates a new instance of this Object.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>graphicsDevice</CODE> - The device.<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><CODE>mipMap</CODE> - True to generate a full mipmap chain, false otherwise.<DD><CODE>format</CODE> - Surface data format.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../System/NotSupportedException.html" title="class in System">NotSupportedException</A></CODE></DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="Size()"><!-- --></A><H3>
Size</H3>
<PRE>
public int <B>Size</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="Dispose(boolean)"><!-- --></A><H3>
Dispose</H3>
<PRE>
protected void <B>Dispose</B>(boolean&nbsp;disposing)</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#Dispose(boolean)">GraphicsResource</A></CODE></B></DD>
<DD>Immediately releases the unmanaged resources used by this Object.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#Dispose(boolean)">Dispose</A></CODE> in class <CODE><A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html" title="class in Microsoft.Xna.Framework.Graphics">GraphicsResource</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="finalize()"><!-- --></A><H3>
finalize</H3>
<PRE>
protected void <B>finalize</B>()</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#finalize()">GraphicsResource</A></CODE></B></DD>
<DD>Allows this Object to attempt to free resources and perform other cleanup operations before garbage collection reclaims the object.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#finalize()">finalize</A></CODE> in class <CODE><A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html" title="class in Microsoft.Xna.Framework.Graphics">GraphicsResource</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="GetData(Microsoft.Xna.Framework.Graphics.CubeMapFace,java.lang.Number[])"><!-- --></A><A NAME="GetData(Microsoft.Xna.Framework.Graphics.CubeMapFace, T[])"><!-- --></A><H3>
GetData</H3>
<PRE>
public &lt;T extends java.lang.Number&gt; void <B>GetData</B>(<A HREF="../../../../Microsoft/Xna/Framework/Graphics/CubeMapFace.html" title="enum in Microsoft.Xna.Framework.Graphics">CubeMapFace</A>&nbsp;cubeMapFace,
T[]&nbsp;data)</PRE>
<DL>
<DD><DL>
<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - <DT><B>Parameters:</B><DD><CODE>cubeMapFace</CODE> - <DD><CODE>data</CODE> -
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../System/ArgumentNullException.html" title="class in System">ArgumentNullException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="GetData(Microsoft.Xna.Framework.Graphics.CubeMapFace,java.lang.Number[],int,int)"><!-- --></A><A NAME="GetData(Microsoft.Xna.Framework.Graphics.CubeMapFace, T[], int, int)"><!-- --></A><H3>
GetData</H3>
<PRE>
public &lt;T extends java.lang.Number&gt; void <B>GetData</B>(<A HREF="../../../../Microsoft/Xna/Framework/Graphics/CubeMapFace.html" title="enum in Microsoft.Xna.Framework.Graphics">CubeMapFace</A>&nbsp;cubeMapFace,
T[]&nbsp;data,
int&nbsp;startIndex,
int&nbsp;elementCount)</PRE>
<DL>
<DD><DL>
<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - <DT><B>Parameters:</B><DD><CODE>cubeMapFace</CODE> - <DD><CODE>data</CODE> - <DD><CODE>startIndex</CODE> - <DD><CODE>elementCount</CODE> -
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../System/ArgumentNullException.html" title="class in System">ArgumentNullException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="GetData(Microsoft.Xna.Framework.Graphics.CubeMapFace,int,Microsoft.Xna.Framework.Rectangle,java.lang.Number[],int,int)"><!-- --></A><A NAME="GetData(Microsoft.Xna.Framework.Graphics.CubeMapFace, int, Microsoft.Xna.Framework.Rectangle, T[], int, int)"><!-- --></A><H3>
GetData</H3>
<PRE>
public &lt;T extends java.lang.Number&gt; void <B>GetData</B>(<A HREF="../../../../Microsoft/Xna/Framework/Graphics/CubeMapFace.html" title="enum in Microsoft.Xna.Framework.Graphics">CubeMapFace</A>&nbsp;cubeMapFace,
int&nbsp;level,
<A HREF="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</A>&nbsp;rect,
T[]&nbsp;data,
int&nbsp;startIndex,
int&nbsp;elementCount)</PRE>
<DL>
<DD><DL>
<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - <DT><B>Parameters:</B><DD><CODE>cubeMapFace</CODE> - <DD><CODE>level</CODE> - <DD><CODE>rect</CODE> - <DD><CODE>data</CODE> - <DD><CODE>startIndex</CODE> - <DD><CODE>elementCount</CODE> -
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../System/ArgumentNullException.html" title="class in System">ArgumentNullException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="SetData(Microsoft.Xna.Framework.Graphics.CubeMapFace,java.lang.Number[])"><!-- --></A><A NAME="SetData(Microsoft.Xna.Framework.Graphics.CubeMapFace, T[])"><!-- --></A><H3>
SetData</H3>
<PRE>
public &lt;T extends java.lang.Number&gt; void <B>SetData</B>(<A HREF="../../../../Microsoft/Xna/Framework/Graphics/CubeMapFace.html" title="enum in Microsoft.Xna.Framework.Graphics">CubeMapFace</A>&nbsp;cubeMapFace,
T[]&nbsp;data)</PRE>
<DL>
<DD>Sets cube texture data, specifying a cubemap face.
<P>
<DD><DL>
<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - <DT><B>Parameters:</B><DD><CODE>cubeMapFace</CODE> - <DD><CODE>data</CODE> -
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../System/ArgumentNullException.html" title="class in System">ArgumentNullException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="SetData(Microsoft.Xna.Framework.Graphics.CubeMapFace,java.lang.Number[],int,int)"><!-- --></A><A NAME="SetData(Microsoft.Xna.Framework.Graphics.CubeMapFace, T[], int, int)"><!-- --></A><H3>
SetData</H3>
<PRE>
public &lt;T extends java.lang.Number&gt; void <B>SetData</B>(<A HREF="../../../../Microsoft/Xna/Framework/Graphics/CubeMapFace.html" title="enum in Microsoft.Xna.Framework.Graphics">CubeMapFace</A>&nbsp;cubeMapFace,
T[]&nbsp;data,
int&nbsp;startIndex,
int&nbsp;elementCount)</PRE>
<DL>
<DD>Sets cube texture data, specifying a cubemap face, start index, and number of elements.
<P>
<DD><DL>
<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - <DT><B>Parameters:</B><DD><CODE>cubeMapFace</CODE> - <DD><CODE>data</CODE> - <DD><CODE>startIndex</CODE> - <DD><CODE>elementCount</CODE> -
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../System/ArgumentNullException.html" title="class in System">ArgumentNullException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="SetData(Microsoft.Xna.Framework.Graphics.CubeMapFace,int,Microsoft.Xna.Framework.Rectangle,java.lang.Number[],int,int)"><!-- --></A><A NAME="SetData(Microsoft.Xna.Framework.Graphics.CubeMapFace, int, Microsoft.Xna.Framework.Rectangle, T[], int, int)"><!-- --></A><H3>
SetData</H3>
<PRE>
public &lt;T extends java.lang.Number&gt; void <B>SetData</B>(<A HREF="../../../../Microsoft/Xna/Framework/Graphics/CubeMapFace.html" title="enum in Microsoft.Xna.Framework.Graphics">CubeMapFace</A>&nbsp;cubeMapFace,
int&nbsp;level,
<A HREF="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</A>&nbsp;rect,
T[]&nbsp;data,
int&nbsp;startIndex,
int&nbsp;elementCount)</PRE>
<DL>
<DD>Sets cube texture data, specifying a cubemap face, mipmap level, source rectangle, start index, and number of elements.
<P>
<DD><DL>
<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - <DT><B>Parameters:</B><DD><CODE>cubeMapFace</CODE> - <DD><CODE>level</CODE> - <DD><CODE>rect</CODE> - <DD><CODE>data</CODE> - <DD><CODE>startIndex</CODE> - <DD><CODE>elementCount</CODE> -
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../System/ArgumentNullException.html" title="class in System">ArgumentNullException</A></CODE></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TextureCube.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../Microsoft/Xna/Framework/Graphics/TextureCollection.html" title="class in Microsoft.Xna.Framework.Graphics"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../Microsoft/Xna/Framework/Graphics/TextureFilter.html" title="enum in Microsoft.Xna.Framework.Graphics"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?Microsoft/Xna/Framework/Graphics/TextureCube.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="TextureCube.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_Microsoft.Xna.Framework.Graphics.GraphicsResource">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>