4#include <unordered_map>
7#include "shader/general/ShaderPack.h"
8#include "shader/ShaderDescription.h"
48 [[nodiscard]]
bool addShader(
const std::string& sShaderName);
76 std::pair<std::mutex, std::unordered_map<ShaderType, std::shared_ptr<ShaderPack>>>
mtxAssignedShaders;
Definition: ShaderManager.h:25
Definition: ShaderPack.h:22
Definition: ShaderUser.h:20
bool addShader(const std::string &sShaderName)
Definition: ShaderUser.cpp:9
ShaderPack * findShader(ShaderType shaderType)
Definition: ShaderUser.cpp:43
void releaseShader(const std::string &sShaderName) const
Definition: ShaderUser.cpp:54
std::pair< std::mutex, std::unordered_map< ShaderType, std::shared_ptr< ShaderPack > > > mtxAssignedShaders
Definition: ShaderUser.h:76
ShaderManager * pShaderManager
Definition: ShaderUser.h:79
virtual ~ShaderUser()
Definition: ShaderUser.cpp:59