void nvnWindowBuilderSetHdrDisplayMetadata(NVNwindowBuilder* b, f32 rx, f32 ry, f32 gx, f32 gy, f32 bx, f32 by, f32 wx, f32 wy, f32 min, f32 max)
Switch 2's color space and HDR metadata (API 231)
| Drivers | Switch 2 (NVN2) |
|---|---|
| Declared | nvn.hook |
| Handler | nvn_WindowBuilderSetHdrDisplayMetadata (nvn_queue.c) |
Types as nvn.hook writes them: i32, u32, i64, u64: integers of that many bits; f32: float; bool: NVNboolean; usize, isize: size_t, ptrdiff_t.
Made from ScarletNX's Sail at 166ad3910f80. nvn.h is h1k421's reconstruction (MIT); nvn.hook, the handlers and the format table ScarletNX's (GPL-3.0-or-later). The Switch 2 marks are the drivers' procedure tables (tools/manual/nvn-drivers.txt).