GPU and 3D drawing
Choose a rendering path, draw a GPU triangle, and explore shaders, resources, cameras, and interaction. GPU support is experimental; each guide explains backend requirements and fallbacks.
In this section
- Choose Canvas or GPU rendering - Choose a drawing path and handle missing GPU capabilities.
- Your first GPU triangle - Submit a colored triangle through a retained GPU surface.
- Write shaders in C# - Define shader stages and understand the generated backend code.
- Meshes, textures, and uniforms - Separate mesh data, frame uniforms, and optional texture capabilities.
- 3D coordinates and cameras - Build model, view, and projection matrices for a resizable viewport.
- Depth, culling, and lighting - Diagnose hidden surfaces and add lighting only after geometry is correct.
- Build an interactive 3D view - Connect drag input, frame timing, and retained GPU presentation.
Explore the full Reference for related topics.