[−][src]Crate yagl
Structs
AppContext | A reference to an instance of this struct is passed to most methods on Game. This struct allows Game methods to be able to interact with yagl about App related things (e.g. requesting to exit) |
Color | |
DeviceId | An ID that identifies an external device Used for uniquely identifying the device that provided a given input |
Dimensions | Dimensions of a rectangle |
Instance | Instance data. Data passed to the GPU per sprite in a sprite batch. |
SpriteBatch | |
SpriteSheet | An image loaded in GPU memory ready to be used with a SpriteBatch |
TextGrid | Convenience struct for drawing text on the screen. Currently, functionality is pretty limited: * only able to use the Courier font bundled with A2D, * only ASCII text is supported |
Window |
Enums
Key | A key on the keyboard |
Traits
Game | Trait describing the behavior of a game. |
Functions
run |