Development version, not published. Built from main: it shows what is coming (fixes, descriptions written since the last tag) and can change with every commit. Go to the stable version 0.1.0-beta.11
NkGPUVendor
enumeration
GPU vendors identified by their PCI Vendor ID
Include
#include "NKPlatform/NkCGXDetect.h"Namespace
nkentseu::graphicsLink (Jenga)
nkentseudependson(["NKPlatform"])C++
enum class NkGPUVendor : uint16_tHierarchy
Base classes : none. Derived classes : none.
enum class NkGPUVendor : uint16_t
GPU vendors identified by their PCI Vendor ID
Values
NK_UNKNOWN | |
NK_NVIDIA | |
NK_AMD | |
NK_INTEL | |
NK_ARM | |
NK_QUALCOMM | |
NK_APPLE | |
NK_IMGTEC | |
NK_BROADCOM | |
NK_MICROSOFT |
// Application de workaround pour un vendor spécifique void ApplyGPUWorkarounds(nkentseu::platform::graphics::NkGPUVendor vendor) { using namespace nkentseu::platform::graphics; if (vendor == NkGPUVendor::NK_NVIDIA) { // Workaround pour les drivers NVIDIA anciens EnableNvidiaSpecificFixes(); } else if (vendor == NkGPUVendor::NK_INTEL) { // Optimisations pour GPU intégrés Intel ReduceTextureResolution(); } }
Source : NkCGXDetect.h, line 303