C# Class Protogame.ImageSourceFromTexture

An image source that uses an in-memory texture.
Inheritance: IImageSource
Datei anzeigen Open project: RedpointGames/Protogame

Public Methods

Method Description
GetSourceAsBytes ( int &width, int &height ) : byte[]
ImageSourceFromTexture ( Func getTexture2D ) : System

Method Details

GetSourceAsBytes() public method

public GetSourceAsBytes ( int &width, int &height ) : byte[]
width int
height int
return byte[]

ImageSourceFromTexture() public method

public ImageSourceFromTexture ( Func getTexture2D ) : System
getTexture2D Func
return System