bool nvnDeviceRegisterFastClearColor(NVNdevice* d, const f32* color, NVNformat format)
Register a color as a fast clear value, as floats (a hint for compression): no effect
| Parameter | Type | Description |
|---|---|---|
d | NVNdevice* | Pointer to the device, not read |
color | const f32* | Pointer to 4 floats, RGBA (guess), not read |
format | NVNformat | Format of the color, not read |
true always
| Drivers | Switch and Switch 2 |
|---|---|
| Declared | nvn.hook |
| Handler | nvn_DeviceRegisterFastClearColor (nvn_object.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).