C# Class Ctrl_Space.Graphics.TextureManager

Afficher le fichier Open project: vkd/Ctrl-Space

Méthodes publiques

Méthode 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 méthode

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

LoadEffect() public static méthode

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

LoadTexture() public static méthode

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

LoadTextures() public static méthode

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