Microsoft.Xna.Framework.Graphics
Class Texture3D
java.lang.Object
Microsoft.Xna.Framework.Graphics.GraphicsResource
Microsoft.Xna.Framework.Graphics.Texture
Microsoft.Xna.Framework.Graphics.Texture3D
- All Implemented Interfaces:
- IDisposable
public class Texture3D
- extends Texture
Represents a 3D volume of texels.
- Author:
- Halofreak1990
Method Summary |
int |
Depth()
|
|
GetData(int level,
int left,
int top,
int right,
int bottom,
int front,
int back,
T[] data,
int startIndex,
int elementCount)
|
|
GetData(T[] data)
|
|
GetData(T[] data,
int startIndex,
int elementCount)
|
int |
Height()
|
int |
Width()
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Texture3D
public Texture3D(GraphicsDevice graphicsDevice,
int width,
int height,
int depth,
boolean mipMap,
SurfaceFormat format)
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)