API Reference
MonoGame API reference documentation.
Welcome to the MonoGame API reference documentation!
This section provides detailed information on all classes, methods, properties, and events available in the MonoGame framework.
Namespaces Overview
The MonoGame API is organized into the following primary namespaces:
| Namespace | Description |
|---|---|
| Microsoft.Xna.Framework | Core framework classes including Game, GameTime, Vector2, Matrix, and fundamental types |
| Microsoft.Xna.Framework.Audio | Audio playback, sound effects, and music management |
| Microsoft.Xna.Framework.Content | Content loading and management with the ContentManager |
| Microsoft.Xna.Framework.Graphics | Rendering, textures, shaders, and all graphics-related functionality |
| Microsoft.Xna.Framework.Input | Keyboard, mouse, gamepad, and touch input handling |
| Microsoft.Xna.Framework.Media | Media playback for songs and videos |
Getting Started
If you're new to MonoGame, we recommend starting with the documentation for step-by-step tutorials and guidance before diving into the API reference.
Common Entry Points
- Game - The main game class you inherit from
- SpriteBatch - 2D rendering and sprite drawing
- ContentManager - Loading game assets
- GraphicsDeviceManager - Graphics configuration