769 lines
34 KiB
HTML
769 lines
34 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>
|
||
|
Texture2D
|
||
|
</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="Texture2D";
|
||
|
}
|
||
|
}
|
||
|
</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> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Texture2D.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
</TD>
|
||
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||
|
</EM>
|
||
|
</TD>
|
||
|
</TR>
|
||
|
|
||
|
<TR>
|
||
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||
|
<A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture.html" title="class in Microsoft.Xna.Framework.Graphics"><B>PREV CLASS</B></A>
|
||
|
<A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture3D.html" title="class 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/Texture2D.html" target="_top"><B>FRAMES</B></A>
|
||
|
<A HREF="Texture2D.html" target="_top"><B>NO FRAMES</B></A>
|
||
|
<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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 Texture2D</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.Texture2D</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/RenderTarget2D.html" title="class in Microsoft.Xna.Framework.Graphics">RenderTarget2D</A></DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
<DL>
|
||
|
<DT><PRE>public class <B>Texture2D</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 2D grid of texels.
|
||
|
<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>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>protected int</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html#height">height</A></B></CODE>
|
||
|
|
||
|
<BR>
|
||
|
</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>protected int</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html#width">width</A></B></CODE>
|
||
|
|
||
|
<BR>
|
||
|
</TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
<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>
|
||
|
|
||
|
<!-- ======== 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 ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>protected </CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html#Texture2D()">Texture2D</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> </CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html#Texture2D(Microsoft.Xna.Framework.Graphics.GraphicsDevice, int, int)">Texture2D</A></B>(<A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html" title="class in Microsoft.Xna.Framework.Graphics">GraphicsDevice</A> graphicsDevice,
|
||
|
int width,
|
||
|
int height)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Creates a new instance of this object.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> </CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html#Texture2D(Microsoft.Xna.Framework.Graphics.GraphicsDevice, int, int, boolean, Microsoft.Xna.Framework.Graphics.SurfaceFormat)">Texture2D</A></B>(<A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html" title="class in Microsoft.Xna.Framework.Graphics">GraphicsDevice</A> graphicsDevice,
|
||
|
int width,
|
||
|
int height,
|
||
|
boolean mipMap,
|
||
|
<A HREF="../../../../Microsoft/Xna/Framework/Graphics/SurfaceFormat.html" title="enum in Microsoft.Xna.Framework.Graphics">SurfaceFormat</A> format)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Creates a new instance of this object.</TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<!-- ========== 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> <A HREF="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</A></CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html#Bounds()">Bounds</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Gets the size of this resource.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>protected void</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html#Dispose(boolean)">Dispose</A></B>(boolean disposing)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
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>static <A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html" title="class in Microsoft.Xna.Framework.Graphics">Texture2D</A></CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html#FromStream(Microsoft.Xna.Framework.Graphics.GraphicsDevice, java.io.InputStream)">FromStream</A></B>(<A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html" title="class in Microsoft.Xna.Framework.Graphics">GraphicsDevice</A> graphicsDevice,
|
||
|
java.io.InputStream stream)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Loads texture data from a stream.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>static <A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html" title="class in Microsoft.Xna.Framework.Graphics">Texture2D</A></CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html#FromStream(Microsoft.Xna.Framework.Graphics.GraphicsDevice, java.io.InputStream, int, int, boolean)">FromStream</A></B>(<A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html" title="class in Microsoft.Xna.Framework.Graphics">GraphicsDevice</A> graphicsDevice,
|
||
|
java.io.InputStream stream,
|
||
|
int width,
|
||
|
int height,
|
||
|
boolean zoom)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Loads texture data from a stream.</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><T> void</CODE></FONT></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html#GetData(int, Microsoft.Xna.Framework.Rectangle, T[], int, int)">GetData</A></B>(int level,
|
||
|
<A HREF="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</A> rect,
|
||
|
T[] data,
|
||
|
int startIndex,
|
||
|
int elementCount)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Gets a copy of 2D texture data, specifying a 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><T> void</CODE></FONT></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html#GetData(T[])">GetData</A></B>(T[] data)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Gets a copy of 2D texture data.</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><T> void</CODE></FONT></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html#GetData(T[], int, int)">GetData</A></B>(T[] data,
|
||
|
int startIndex,
|
||
|
int elementCount)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Gets a copy of 2D texture data, specifying a start index and number of elements.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> int</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html#Height()">Height</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Gets the height of this texture resource, in pixels.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> void</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html#SaveAsJpeg(java.io.OutputStream, int, int)">SaveAsJpeg</A></B>(java.io.OutputStream stream,
|
||
|
int width,
|
||
|
int height)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Saves texture data as a .jpg.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> void</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html#SaveAsPng(java.io.OutputStream, int, int)">SaveAsPng</A></B>(java.io.OutputStream stream,
|
||
|
int width,
|
||
|
int height)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Saves texture data as a .png.</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><T> void</CODE></FONT></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html#SetData(int, Microsoft.Xna.Framework.Rectangle, T[], int, int)">SetData</A></B>(int level,
|
||
|
<A HREF="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</A> rect,
|
||
|
T[] data,
|
||
|
int startIndex,
|
||
|
int elementCount)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Sets 2D texture data, specifying a 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><T> void</CODE></FONT></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html#SetData(T[])">SetData</A></B>(T[] data)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Sets 2D texture data.</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><T> void</CODE></FONT></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html#SetData(T[], int, int)">SetData</A></B>(T[] data,
|
||
|
int startIndex,
|
||
|
int elementCount)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Sets 2D texture data, specifying a start index, and number of elements.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> int</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html#Width()">Width</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Gets the width of this texture resource, in pixels.</TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
<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>
|
||
|
<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#finalize()">finalize</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>
|
||
|
<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>
|
||
|
|
||
|
<P>
|
||
|
|
||
|
<!-- ============ FIELD DETAIL =========== -->
|
||
|
|
||
|
<A NAME="field_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>Field Detail</B></FONT></TH>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<A NAME="height"><!-- --></A><H3>
|
||
|
height</H3>
|
||
|
<PRE>
|
||
|
protected int <B>height</B></PRE>
|
||
|
<DL>
|
||
|
<DL>
|
||
|
</DL>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="width"><!-- --></A><H3>
|
||
|
width</H3>
|
||
|
<PRE>
|
||
|
protected int <B>width</B></PRE>
|
||
|
<DL>
|
||
|
<DL>
|
||
|
</DL>
|
||
|
</DL>
|
||
|
|
||
|
<!-- ========= 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="Texture2D()"><!-- --></A><H3>
|
||
|
Texture2D</H3>
|
||
|
<PRE>
|
||
|
protected <B>Texture2D</B>()</PRE>
|
||
|
<DL>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="Texture2D(Microsoft.Xna.Framework.Graphics.GraphicsDevice, int, int)"><!-- --></A><H3>
|
||
|
Texture2D</H3>
|
||
|
<PRE>
|
||
|
public <B>Texture2D</B>(<A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html" title="class in Microsoft.Xna.Framework.Graphics">GraphicsDevice</A> graphicsDevice,
|
||
|
int width,
|
||
|
int height)</PRE>
|
||
|
<DL>
|
||
|
<DD>Creates a new instance of this object.
|
||
|
<P>
|
||
|
<DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>graphicsDevice</CODE> - The device.<DD><CODE>width</CODE> - Texture width.<DD><CODE>height</CODE> - Texture height.</DL>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="Texture2D(Microsoft.Xna.Framework.Graphics.GraphicsDevice, int, int, boolean, Microsoft.Xna.Framework.Graphics.SurfaceFormat)"><!-- --></A><H3>
|
||
|
Texture2D</H3>
|
||
|
<PRE>
|
||
|
public <B>Texture2D</B>(<A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html" title="class in Microsoft.Xna.Framework.Graphics">GraphicsDevice</A> graphicsDevice,
|
||
|
int width,
|
||
|
int height,
|
||
|
boolean mipMap,
|
||
|
<A HREF="../../../../Microsoft/Xna/Framework/Graphics/SurfaceFormat.html" title="enum in Microsoft.Xna.Framework.Graphics">SurfaceFormat</A> 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>width</CODE> - Texture width.<DD><CODE>height</CODE> - Texture height.<DD><CODE>mipMap</CODE> - True to generate a full mipmap chain; false otherwise.<DD><CODE>format</CODE> - Texture data format.</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="Bounds()"><!-- --></A><H3>
|
||
|
Bounds</H3>
|
||
|
<PRE>
|
||
|
public <A HREF="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</A> <B>Bounds</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD>Gets the size of this resource.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="Width()"><!-- --></A><H3>
|
||
|
Width</H3>
|
||
|
<PRE>
|
||
|
public int <B>Width</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD>Gets the width of this texture resource, in pixels.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="Height()"><!-- --></A><H3>
|
||
|
Height</H3>
|
||
|
<PRE>
|
||
|
public int <B>Height</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD>Gets the height of this texture resource, in pixels.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="Dispose(boolean)"><!-- --></A><H3>
|
||
|
Dispose</H3>
|
||
|
<PRE>
|
||
|
protected void <B>Dispose</B>(boolean 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="FromStream(Microsoft.Xna.Framework.Graphics.GraphicsDevice, java.io.InputStream)"><!-- --></A><H3>
|
||
|
FromStream</H3>
|
||
|
<PRE>
|
||
|
public static <A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html" title="class in Microsoft.Xna.Framework.Graphics">Texture2D</A> <B>FromStream</B>(<A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html" title="class in Microsoft.Xna.Framework.Graphics">GraphicsDevice</A> graphicsDevice,
|
||
|
java.io.InputStream stream)</PRE>
|
||
|
<DL>
|
||
|
<DD>Loads texture data from a stream.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>graphicsDevice</CODE> - A graphics device.<DD><CODE>stream</CODE> - Data stream from one of the following file types: .gif, .jpg or .png.
|
||
|
<DT><B>Returns:</B><DD>The created texture.</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="FromStream(Microsoft.Xna.Framework.Graphics.GraphicsDevice, java.io.InputStream, int, int, boolean)"><!-- --></A><H3>
|
||
|
FromStream</H3>
|
||
|
<PRE>
|
||
|
public static <A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html" title="class in Microsoft.Xna.Framework.Graphics">Texture2D</A> <B>FromStream</B>(<A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html" title="class in Microsoft.Xna.Framework.Graphics">GraphicsDevice</A> graphicsDevice,
|
||
|
java.io.InputStream stream,
|
||
|
int width,
|
||
|
int height,
|
||
|
boolean zoom)</PRE>
|
||
|
<DL>
|
||
|
<DD>Loads texture data from a stream.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>graphicsDevice</CODE> - A graphics device.<DD><CODE>stream</CODE> - Data stream from one of the following file types: .gif, .jpg or .png.<DD><CODE>width</CODE> - The requested image width.<DD><CODE>height</CODE> - The requested image height.<DD><CODE>zoom</CODE> - Control the aspect ratio when zooming (scaling); set to false to maintain a constant aspect ratio, true otherwise. See remarks.
|
||
|
<DT><B>Returns:</B><DD>The created texture.</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="GetData(java.lang.Object[])"><!-- --></A><A NAME="GetData(T[])"><!-- --></A><H3>
|
||
|
GetData</H3>
|
||
|
<PRE>
|
||
|
public <T> void <B>GetData</B>(T[] data)</PRE>
|
||
|
<DL>
|
||
|
<DD>Gets a copy of 2D texture data. Reference page contains code sample.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>data</CODE> - Array of data.</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="GetData(java.lang.Object[],int,int)"><!-- --></A><A NAME="GetData(T[], int, int)"><!-- --></A><H3>
|
||
|
GetData</H3>
|
||
|
<PRE>
|
||
|
public <T> void <B>GetData</B>(T[] data,
|
||
|
int startIndex,
|
||
|
int elementCount)</PRE>
|
||
|
<DL>
|
||
|
<DD>Gets a copy of 2D texture data, specifying a start index and number of elements. Reference page contains code sample.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>data</CODE> - Array of data.<DD><CODE>startIndex</CODE> - Index of the first element to get.<DD><CODE>elementCount</CODE> - Number of elements to get.</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="GetData(int,Microsoft.Xna.Framework.Rectangle,java.lang.Object[],int,int)"><!-- --></A><A NAME="GetData(int, Microsoft.Xna.Framework.Rectangle, T[], int, int)"><!-- --></A><H3>
|
||
|
GetData</H3>
|
||
|
<PRE>
|
||
|
public <T> void <B>GetData</B>(int level,
|
||
|
<A HREF="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</A> rect,
|
||
|
T[] data,
|
||
|
int startIndex,
|
||
|
int elementCount)</PRE>
|
||
|
<DL>
|
||
|
<DD>Gets a copy of 2D texture data, specifying a mipmap level, source rectangle, start index, and number of elements.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>level</CODE> - Mipmap level.<DD><CODE>rect</CODE> - The section of the texture to copy. null indicates the data will be copied from the entire texture.<DD><CODE>data</CODE> - Array of data.<DD><CODE>startIndex</CODE> - Index of the first element to get.<DD><CODE>elementCount</CODE> - Number of elements to get.</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="SaveAsJpeg(java.io.OutputStream, int, int)"><!-- --></A><H3>
|
||
|
SaveAsJpeg</H3>
|
||
|
<PRE>
|
||
|
public void <B>SaveAsJpeg</B>(java.io.OutputStream stream,
|
||
|
int width,
|
||
|
int height)</PRE>
|
||
|
<DL>
|
||
|
<DD>Saves texture data as a .jpg.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>stream</CODE> - Data stream number.<DD><CODE>width</CODE> - Image width.<DD><CODE>height</CODE> - Image height.</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="SaveAsPng(java.io.OutputStream, int, int)"><!-- --></A><H3>
|
||
|
SaveAsPng</H3>
|
||
|
<PRE>
|
||
|
public void <B>SaveAsPng</B>(java.io.OutputStream stream,
|
||
|
int width,
|
||
|
int height)</PRE>
|
||
|
<DL>
|
||
|
<DD>Saves texture data as a .png.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>stream</CODE> - Data stream number.<DD><CODE>width</CODE> - Image width.<DD><CODE>height</CODE> - Image height.</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="SetData(java.lang.Object[])"><!-- --></A><A NAME="SetData(T[])"><!-- --></A><H3>
|
||
|
SetData</H3>
|
||
|
<PRE>
|
||
|
public <T> void <B>SetData</B>(T[] data)</PRE>
|
||
|
<DL>
|
||
|
<DD>Sets 2D texture data. Reference page contains links to related conceptual articles.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>data</CODE> - Array of data.</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="SetData(java.lang.Object[],int,int)"><!-- --></A><A NAME="SetData(T[], int, int)"><!-- --></A><H3>
|
||
|
SetData</H3>
|
||
|
<PRE>
|
||
|
public <T> void <B>SetData</B>(T[] data,
|
||
|
int startIndex,
|
||
|
int elementCount)</PRE>
|
||
|
<DL>
|
||
|
<DD>Sets 2D texture data, specifying a start index, and number of elements.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>data</CODE> - Array of data.<DD><CODE>startIndex</CODE> - Index of the first element to set.<DD><CODE>elementCount</CODE> - Number of elements to set.</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="SetData(int,Microsoft.Xna.Framework.Rectangle,java.lang.Object[],int,int)"><!-- --></A><A NAME="SetData(int, Microsoft.Xna.Framework.Rectangle, T[], int, int)"><!-- --></A><H3>
|
||
|
SetData</H3>
|
||
|
<PRE>
|
||
|
public <T> void <B>SetData</B>(int level,
|
||
|
<A HREF="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</A> rect,
|
||
|
T[] data,
|
||
|
int startIndex,
|
||
|
int elementCount)</PRE>
|
||
|
<DL>
|
||
|
<DD>Sets 2D texture data, specifying a mipmap level, source rectangle, start index, and number of elements.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>level</CODE> - Mipmap level.<DD><CODE>rect</CODE> - A bounding box that defines the position and location (in pixels) of the data.<DD><CODE>data</CODE> - Array of data.<DD><CODE>startIndex</CODE> - Index of the first element to set.<DD><CODE>elementCount</CODE> - Number of elements to set.</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> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Texture2D.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
</TD>
|
||
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||
|
</EM>
|
||
|
</TD>
|
||
|
</TR>
|
||
|
|
||
|
<TR>
|
||
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||
|
<A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture.html" title="class in Microsoft.Xna.Framework.Graphics"><B>PREV CLASS</B></A>
|
||
|
<A HREF="../../../../Microsoft/Xna/Framework/Graphics/Texture3D.html" title="class 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/Texture2D.html" target="_top"><B>FRAMES</B></A>
|
||
|
<A HREF="Texture2D.html" target="_top"><B>NO FRAMES</B></A>
|
||
|
<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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
<A NAME="skip-navbar_bottom"></A>
|
||
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||
|
|
||
|
<HR>
|
||
|
|
||
|
</BODY>
|
||
|
</HTML>
|