Nameless Engine
|
#include <ShaderFilesystemPaths.hpp>
Public Member Functions | |
ShaderFilesystemPaths (const ShaderFilesystemPaths &)=delete | |
ShaderFilesystemPaths & | operator= (const ShaderFilesystemPaths &)=delete |
Static Public Member Functions | |
static std::filesystem::path | getPathToShaderCacheDirectory () |
static std::string | getShaderCacheBaseFileName () |
Static Private Attributes | |
static constexpr auto | sShaderCacheBaseFileName = "shader" |
Provides a set of static functions related to the filesystem paths to store shaders.
|
inlinestatic |
Returns path to the directory used to store shader cache, for example: ".../nameless-engine/<project_name>/shader_cache/".
|
inlinestatic |
Returns base file name used in shader cache. This name is used within a shader specific directory (like ".../shader_cache/engine.default"), to name different files using different extensions (like "shader", "shader.pdb", "shader.reflection" and etc.).
|
inlinestaticconstexprprivate |
Base name of the file used to store shader cache.