Path to the image resource
Optionally set the color to treat as transparent the gif, by default Color.Magenta
Optionally load texture with cache busting
Optionally load texture with cache busting
Optionally set the color to treat as transparent the gif, by default Color.Magenta
Data associated with a loadable
The height of the texture in pixels
Path to the image resource
The width of the texture in pixels
Begins loading the texture and returns a promise to be resolved on completion
Return the gif as a spritesheet
The Texture object allows games built in Excalibur to load image resources. Texture is an Loadable which means it can be passed to a Loader to pre-load before starting a level or game.