Method CreateTextureAtlas
CreateTextureAtlas(AsepriteFile, GraphicsDevice, ProcessorOptions?)
Creates a new TextureAtlas from the provided aseprite file.
public static TextureAtlas CreateTextureAtlas(this AsepriteFile aseFile, GraphicsDevice device, ProcessorOptions? options = null)Parameters
- aseFileAsepriteFile
- The aseprite file instance. 
- deviceGraphicsDevice
- The graphics device used to create graphical resources. 
- optionsProcessorOptions
- The options to use when processing the texture atlas.. 
Returns
- TextureAtlas
- The TextureAtlas created by this method. 
Exceptions
- ArgumentNullException
- Thrown if the - aseFileparameter is null.- -or- - Thrown if the - deviceparameter is null.