Microsoft.Xna.Framework.Graphics
Class Texture

java.lang.Object
  extended by Microsoft.Xna.Framework.Graphics.GraphicsResource
      extended by Microsoft.Xna.Framework.Graphics.Texture
All Implemented Interfaces:
IDisposable
Direct Known Subclasses:
Texture2D, Texture3D, TextureCube

public abstract class Texture
extends GraphicsResource

Represents a texture resource

Author:
Halofreak1990

Field Summary
 
Fields inherited from class Microsoft.Xna.Framework.Graphics.GraphicsResource
_parent, Disposing, Name, Tag
 
Method Summary
 SurfaceFormat Format()
          Gets the format of the texture data.
 int LevelCount()
          Gets the number of texture levels in a multilevel texture.
 
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
 

Method Detail

Format

public SurfaceFormat Format()
Gets the format of the texture data.


LevelCount

public int LevelCount()
Gets the number of texture levels in a multilevel texture.