Nameless Engine
Loading...
Searching...
No Matches
GlslShaderCacheManager.h
1#pragma once
2
3// Custom.
4#include "shader/general/cache/ShaderCacheManager.h"
5
6namespace ne {
7 class Renderer;
8
11 // Only shader manager is expected to create this manager.
12 friend class ShaderCacheManager;
13
14 public:
15 virtual ~GlslShaderCacheManager() override = default;
16
18 GlslShaderCacheManager& operator=(const GlslShaderCacheManager&) = delete;
19
20 protected:
31 [[nodiscard]] virtual std::optional<std::string>
32 isLanguageSpecificGlobalCacheOutdated(const ConfigManager& cacheConfig) override;
33
41 [[nodiscard]] virtual std::optional<Error>
43
44 private:
51 };
52}
Definition: ConfigManager.h:27
Definition: GlslShaderCacheManager.h:10
virtual std::optional< Error > writeLanguageSpecificParameters(ConfigManager &cacheConfig) override
Definition: GlslShaderCacheManager.cpp:12
virtual std::optional< std::string > isLanguageSpecificGlobalCacheOutdated(const ConfigManager &cacheConfig) override
Definition: GlslShaderCacheManager.cpp:8
Definition: Renderer.h:43
Definition: ShaderCacheManager.h:16
Renderer *const pRenderer
Definition: ShaderCacheManager.h:113