C# Class Ctrl_Space.Graphics.TextureManager

Mostra file Open project: vkd/Ctrl-Space

Public Methods

Method Description
FromStream ( GraphicsDevice graphicsDevice, Stream stream ) : Microsoft.Xna.Framework.Graphics.Texture2D
LoadEffect ( GraphicsDevice graphicsDevice, string name ) : Effect
LoadTexture ( GraphicsDevice graphicsDevice, string name ) : Microsoft.Xna.Framework.Graphics.Texture2D
LoadTextures ( GraphicsDevice graphicsDevice, Microsoft.Xna.Framework.Content.ContentManager contentManager ) : void

Method Details

FromStream() public static method

public static FromStream ( GraphicsDevice graphicsDevice, Stream stream ) : Microsoft.Xna.Framework.Graphics.Texture2D
graphicsDevice GraphicsDevice
stream System.IO.Stream
return Microsoft.Xna.Framework.Graphics.Texture2D

LoadEffect() public static method

public static LoadEffect ( GraphicsDevice graphicsDevice, string name ) : Effect
graphicsDevice GraphicsDevice
name string
return Microsoft.Xna.Framework.Graphics.Effect

LoadTexture() public static method

public static LoadTexture ( GraphicsDevice graphicsDevice, string name ) : Microsoft.Xna.Framework.Graphics.Texture2D
graphicsDevice GraphicsDevice
name string
return Microsoft.Xna.Framework.Graphics.Texture2D

LoadTextures() public static method

public static LoadTextures ( GraphicsDevice graphicsDevice, Microsoft.Xna.Framework.Content.ContentManager contentManager ) : void
graphicsDevice GraphicsDevice
contentManager Microsoft.Xna.Framework.Content.ContentManager
return void