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
Data associated with a loadable
The height of the texture in pixels
The width of the texture in pixels
Returns true if the loadable is loaded
Begins loading the texture and returns a promise to be resolved on completion
Transform the GIF into an animation with duration per frame
Return a frame of the gif as a sprite by id
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.