-
Notifications
You must be signed in to change notification settings - Fork 47
Samples Overview
Cole Campbell edited this page Oct 9, 2018
·
2 revisions
The Ultraviolet repository includes a number of sample projects which demonstrate various aspects of the Framework. These projects can be found in their own GitHub repository; there are Visual Studio solution files for each supported target platform.
There are, at present, sixteen sample projects.
Description | |
---|---|
1. Creating an Application Demonstrates how to create an Ultraviolet context which opens a blank window. |
|
2. Handling Input Demonstrates how to create input bindings and respond to events from the keyboard and other input devices. |
|
3. Rendering Geometry Demonstrates how to draw a simple 3D scene using the GeometryStream class. |
|
4. Content Management Demonstrates how to load content assets, such as textures, from the file system. |
|
5. Rendering Sprites Demonstrates how to load and render animated sprites using the SpriteBatch class. |
|
6. Rendering Text Demonstrates how to use the TextRenderer class to format and lay out text for rendering. |
|
7. Playing Music Demonstrates how to play streaming music files using the SongPlayer class. |
|
8. Playing Sound Effects Demonstrates how to play sound effects using the SoundEffectPlayer class. |
|
9. Managing State with Screens Demonstrates how to construct a stack of UI screens and use it to manage the state of your application. |
|
10. Asynchronous Content Loading Demonstrates how to load content assets in an asynchronous fashion in order to avoid blocking the rendering thread. |
|
11. Game Pads Demonstrates how to use game pads as input devices. |
|
12. UPF Demonstrates how to create a basic UI with the Ultraviolet Presentation Foundation (UPF). |
|
13. UPF - Advanced Demonstrates more advanced concepts within the Ultraviolet Presentation Foundation. |
|
14. Loading Image Data with Surfaces Demonstrates how to manipulate two-dimensional image data on the CPU using the Surface2D class. |
|
15. Render Targets and Buffers Demonstrates how to render to off-screen render targets, which can subsequently be used as textures. |
|
16. Custom Text Layout Commands Demonstrates how to implement custom commands which can influence how text is laid out and rendered. |
- Contributing
- Dependencies
- Basic Concepts
- First Look- Platform
- First Look- Graphics
- First Look- Audio
- First Look- Input
- First Look- Content
- First Look- UI
- sRGB Color
- Customizing SpriteBatch
- Creating Fonts
- Creating Effects
- Creating Glyph Shaders
- FreeType2 Fonts
- Rendering 3D Models