C# Class Sparrow.ResourceLoading.SimpleTextureLoader

Show file Open project: fmotagarcia/sparrow-sharp

Public Methods

Method Description
LoadAndroidResource ( int AndroidResourceId ) : GLTexture
LoadImageFromStream ( Stream strean ) : GLTexture
LoadLocalImage ( string pathToFile ) : GLTexture
LoadLocalImageAsync ( string pathToFile ) : TextureLoader
LoadRemoteImage ( string remoteURL ) : TextureLoader

Method Details

LoadAndroidResource() public static method

public static LoadAndroidResource ( int AndroidResourceId ) : GLTexture
AndroidResourceId int
return Sparrow.Textures.GLTexture

LoadImageFromStream() public static method

public static LoadImageFromStream ( Stream strean ) : GLTexture
strean System.IO.Stream
return Sparrow.Textures.GLTexture

LoadLocalImage() public static method

public static LoadLocalImage ( string pathToFile ) : GLTexture
pathToFile string
return Sparrow.Textures.GLTexture

LoadLocalImageAsync() public static method

public static LoadLocalImageAsync ( string pathToFile ) : TextureLoader
pathToFile string
return TextureLoader

LoadRemoteImage() public static method

public static LoadRemoteImage ( string remoteURL ) : TextureLoader
remoteURL string
return TextureLoader