C# Class Treefrog.Aux.TextureResourceXnaExt

Mostra file Open project: jaquadro/Treefrog

Public Methods

Method Description
CreateTexture ( this self, Microsoft.Xna.Framework.Graphics.GraphicsDevice device ) : Microsoft.Xna.Framework.Graphics.Texture2D
CreateTextureResource ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : Treefrog.Framework.Imaging.TextureResource

Method Details

CreateTexture() public static method

public static CreateTexture ( this self, Microsoft.Xna.Framework.Graphics.GraphicsDevice device ) : Microsoft.Xna.Framework.Graphics.Texture2D
self this
device Microsoft.Xna.Framework.Graphics.GraphicsDevice
return Microsoft.Xna.Framework.Graphics.Texture2D

CreateTextureResource() public static method

public static CreateTextureResource ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : Treefrog.Framework.Imaging.TextureResource
texture Microsoft.Xna.Framework.Graphics.Texture2D
return Treefrog.Framework.Imaging.TextureResource