Microsoft.Xna.Framework.Graphics
Class Texture3D

java.lang.Object
  extended by Microsoft.Xna.Framework.Graphics.GraphicsResource
      extended by Microsoft.Xna.Framework.Graphics.Texture
          extended by Microsoft.Xna.Framework.Graphics.Texture3D
All Implemented Interfaces:
IDisposable

public class Texture3D
extends Texture

Represents a 3D volume of texels.

Author:
Halofreak1990

Field Summary
 
Fields inherited from class Microsoft.Xna.Framework.Graphics.GraphicsResource
_parent, Disposing, Name, Tag
 
Constructor Summary
Texture3D(GraphicsDevice graphicsDevice, int width, int height, int depth, boolean mipMap, SurfaceFormat format)
           
 
Method Summary
 int Depth()
           
<T> void
GetData(int level, int left, int top, int right, int bottom, int front, int back, T[] data, int startIndex, int elementCount)
           
<T> void
GetData(T[] data)
           
<T> void
GetData(T[] data, int startIndex, int elementCount)
           
 int Height()
           
 int Width()
           
 
Methods inherited from class Microsoft.Xna.Framework.Graphics.Texture
Format, LevelCount
 
Methods inherited from class Microsoft.Xna.Framework.Graphics.GraphicsResource
Dispose, Dispose, finalize, GraphicsDevice, IsDisposed, raise_disposing, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Texture3D

public Texture3D(GraphicsDevice graphicsDevice,
                 int width,
                 int height,
                 int depth,
                 boolean mipMap,
                 SurfaceFormat format)
Method Detail

Depth

public int Depth()

Height

public int Height()

Width

public int Width()

GetData

public <T> void GetData(T[] data)

GetData

public <T> void GetData(T[] data,
                        int startIndex,
                        int elementCount)

GetData

public <T> void GetData(int level,
                        int left,
                        int top,
                        int right,
                        int bottom,
                        int front,
                        int back,
                        T[] data,
                        int startIndex,
                        int elementCount)