void nvnDeviceBuilderSetFlags(NVNdeviceBuilder* b, i32 flags)
Set the flags of a device builder, which the device initialized from it takes
| Parameter | Type | Description |
|---|---|---|
b | NVNdeviceBuilder* | Pointer to the device builder, NULL is invalid |
flags | i32 | OR of NVNdeviceFlagBits. NVN_DEVICE_FLAG_ENABLE_SEPARATE_SAMPLER_TEXTURE_SUPPORT makes nvnQueueBuilderGetQueueMemorySize ask for more memory. NVN_DEVICE_FLAG_MAXWELL_GOB keeps the Maxwell GOB for a Switch 2 game's surfaces. The other bits are kept and have no effect |
| Drivers | Switch and Switch 2 |
|---|---|
| Declared | nvn.hook |
| Handler | nvn_DeviceBuilderSetFlags (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).