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

Shader cache information for a specific game. More...

#include <shader_cache_manager.h>

Public Member Functions

std::string getFormattedTotalSize () const

Public Attributes

std::vector< ShaderCacheInfo > caches
std::string gameId
std::string gameName
bool hasDXVK = false
bool hasSteamCache = false
bool hasVKD3D = false
int64_t totalSize = 0

Detailed Description

Shader cache information for a specific game.

Definition at line 76 of file shader_cache_manager.h.

Member Function Documentation

◆ getFormattedTotalSize()

std::string GameShaderCache::getFormattedTotalSize ( ) const

Definition at line 122 of file shader_cache_manager.cpp.

References totalSize.

Member Data Documentation

◆ caches

std::vector<ShaderCacheInfo> GameShaderCache::caches

Definition at line 80 of file shader_cache_manager.h.

Referenced by ShaderCacheManager::getGameCache().

◆ gameId

std::string GameShaderCache::gameId

Definition at line 78 of file shader_cache_manager.h.

Referenced by ShaderCacheManager::getGameCache().

◆ gameName

std::string GameShaderCache::gameName

Definition at line 79 of file shader_cache_manager.h.

◆ hasDXVK

bool GameShaderCache::hasDXVK = false

Definition at line 82 of file shader_cache_manager.h.

Referenced by ShaderCacheManager::getGameCache().

◆ hasSteamCache

bool GameShaderCache::hasSteamCache = false

Definition at line 84 of file shader_cache_manager.h.

Referenced by ShaderCacheManager::getGameCache().

◆ hasVKD3D

bool GameShaderCache::hasVKD3D = false

Definition at line 83 of file shader_cache_manager.h.

Referenced by ShaderCacheManager::getGameCache().

◆ totalSize

int64_t GameShaderCache::totalSize = 0

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