Guides¶
Tutorial-style walkthroughs for each major subsystem of opengnm. These guides focus on how to use the API in practice, with code examples and explanations of the underlying concepts.
Guide List¶
| Guide | Topics |
|---|---|
| Rendering Pipeline | VideoOut setup, command buffer, draw, submit, flip |
| Textures & Formats | GnmDataFormat, GnmTexture, tiling, BC compression |
| Render Targets | Color RT + Depth RT setup, sizing, alignment |
| Shaders | Shader binary format, stage registers, fetch shaders |
| Command Buffers | GnmCommandBuffer + DrawCmd building, PM4 packets |
| Surface Computation | sceGpa* / AddrLib: surface info, tiling, decompression |
Prerequisites¶
All guides assume you have built and installed opengnm. See Getting Started for build instructions.
Including the API¶
Or include individual headers as needed: