game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
Loading...
Searching...
No Matches
GPUInfo Struct Reference

Detected GPU information. More...

#include <system_info_service.h>

Public Member Functions

bool hasVulkanSupport () const
bool isArcGPU () const
bool isGCNArchitecture () const
bool isPolarisOrNewer () const
bool isRDNA2OrNewer () const
bool isRDNA3OrNewer () const
bool isRDNA4 () const
bool isRTXCapable () const
bool isTeraScale () const

Public Attributes

uint16_t deviceId = 0
std::string driverVersion
GPUGeneration generation = GPUGeneration::Unknown
std::string mesaVersion
std::string model
bool supportsDLSS = false
bool supportsDLSS3 = false
bool supportsFSR = false
bool supportsFSR3 = false
bool supportsFSR4 = false
bool supportsFSR4RDNA3 = false
bool supportsHDR = false
bool supportsRayTracing = false
bool supportsVulkan = false
bool supportsXeSS = false
GPUVendor vendor = GPUVendor::Unknown
std::string vendorName
uint64_t vramMB = 0
std::string vulkanVersion

Detailed Description

Detected GPU information.

Definition at line 125 of file system_info_service.h.

Member Function Documentation

◆ hasVulkanSupport()

bool GPUInfo::hasVulkanSupport ( ) const
inline

Definition at line 189 of file system_info_service.h.

References AMD_TeraScale, and generation.

◆ isArcGPU()

bool GPUInfo::isArcGPU ( ) const
inline

Definition at line 167 of file system_info_service.h.

References generation, and Intel_Arc.

◆ isGCNArchitecture()

bool GPUInfo::isGCNArchitecture ( ) const
inline

◆ isPolarisOrNewer()

bool GPUInfo::isPolarisOrNewer ( ) const
inline

Definition at line 171 of file system_info_service.h.

References AMD_Polaris, AMD_RDNA1, AMD_RDNA2, AMD_RDNA3, AMD_RDNA4, AMD_Vega, and generation.

◆ isRDNA2OrNewer()

bool GPUInfo::isRDNA2OrNewer ( ) const
inline

Definition at line 148 of file system_info_service.h.

References AMD_RDNA2, AMD_RDNA3, AMD_RDNA4, and generation.

◆ isRDNA3OrNewer()

bool GPUInfo::isRDNA3OrNewer ( ) const
inline

Definition at line 153 of file system_info_service.h.

References AMD_RDNA3, AMD_RDNA4, and generation.

◆ isRDNA4()

bool GPUInfo::isRDNA4 ( ) const
inline

Definition at line 157 of file system_info_service.h.

References AMD_RDNA4, and generation.

◆ isRTXCapable()

bool GPUInfo::isRTXCapable ( ) const
inline

Definition at line 161 of file system_info_service.h.

References generation, NVIDIA_Ada, NVIDIA_Ampere, and NVIDIA_Turing.

◆ isTeraScale()

bool GPUInfo::isTeraScale ( ) const
inline

Definition at line 185 of file system_info_service.h.

References AMD_TeraScale, and generation.

Member Data Documentation

◆ deviceId

uint16_t GPUInfo::deviceId = 0

Definition at line 135 of file system_info_service.h.

◆ driverVersion

std::string GPUInfo::driverVersion

Definition at line 131 of file system_info_service.h.

◆ generation

◆ mesaVersion

std::string GPUInfo::mesaVersion

Definition at line 133 of file system_info_service.h.

◆ model

std::string GPUInfo::model

Definition at line 130 of file system_info_service.h.

◆ supportsDLSS

bool GPUInfo::supportsDLSS = false

Definition at line 142 of file system_info_service.h.

◆ supportsDLSS3

bool GPUInfo::supportsDLSS3 = false

Definition at line 143 of file system_info_service.h.

◆ supportsFSR

bool GPUInfo::supportsFSR = false

Definition at line 138 of file system_info_service.h.

◆ supportsFSR3

bool GPUInfo::supportsFSR3 = false

Definition at line 139 of file system_info_service.h.

◆ supportsFSR4

bool GPUInfo::supportsFSR4 = false

Definition at line 140 of file system_info_service.h.

◆ supportsFSR4RDNA3

bool GPUInfo::supportsFSR4RDNA3 = false

Definition at line 141 of file system_info_service.h.

◆ supportsHDR

bool GPUInfo::supportsHDR = false

Definition at line 145 of file system_info_service.h.

◆ supportsRayTracing

bool GPUInfo::supportsRayTracing = false

Definition at line 137 of file system_info_service.h.

◆ supportsVulkan

bool GPUInfo::supportsVulkan = false

Definition at line 136 of file system_info_service.h.

◆ supportsXeSS

bool GPUInfo::supportsXeSS = false

Definition at line 144 of file system_info_service.h.

◆ vendor

GPUVendor GPUInfo::vendor = GPUVendor::Unknown

Definition at line 127 of file system_info_service.h.

◆ vendorName

std::string GPUInfo::vendorName

Definition at line 129 of file system_info_service.h.

◆ vramMB

uint64_t GPUInfo::vramMB = 0

Definition at line 134 of file system_info_service.h.

◆ vulkanVersion

std::string GPUInfo::vulkanVersion

Definition at line 132 of file system_info_service.h.


The documentation for this struct was generated from the following file: