C# Class Afterglow.Graphics.Textures.XnaTexture

Xna texture implementation.
Inheritance: ITexture
显示文件 Open project: Christof/afterglow

Private Properties

Property Type Description

Public Methods

Method Description
Load ( ) : void

Loads the texture;

Unload ( ) : void

Unloads the texture.

XnaTexture ( string filename, Microsoft.Xna.Framework.Graphics.GraphicsDevice device ) : Afterglow.Infrastructure

Initializes a new instance of the XnaTexture class.

Method Details

Load() public method

Loads the texture;
public Load ( ) : void
return void

Unload() public method

Unloads the texture.
public Unload ( ) : void
return void

XnaTexture() public method

Initializes a new instance of the XnaTexture class.
public XnaTexture ( string filename, Microsoft.Xna.Framework.Graphics.GraphicsDevice device ) : Afterglow.Infrastructure
filename string The filename.
device Microsoft.Xna.Framework.Graphics.GraphicsDevice The device.
return Afterglow.Infrastructure