6#include <unordered_map>
7#include <unordered_set>
10#include "shader/general/resource/binding/ShaderResourceBinding.h"
11#include "shader/general/resource/binding/texture/ShaderTextureResourceBindingUniquePtr.h"
56 const std::string& sShaderResourceName,
57 const std::string& sResourceAdditionalInfo,
58 const std::unordered_set<Pipeline*>& pipelinesToUse,
59 std::unique_ptr<TextureHandle> pTextureToUse);
70 std::unordered_map<ShaderTextureResourceBinding*, std::unique_ptr<ShaderTextureResourceBinding>>>*
88 std::variant<ShaderTextureResourceBindingUniquePtr, Error>
109 std::recursive_mutex,
110 std::unordered_map<ShaderTextureResourceBinding*, std::unique_ptr<ShaderTextureResourceBinding>>>
Definition: Renderer.h:43
Definition: ShaderTextureResourceBindingManager.h:27
std::pair< std::recursive_mutex, std::unordered_map< ShaderTextureResourceBinding *, std::unique_ptr< ShaderTextureResourceBinding > > > mtxShaderTextureResources
Definition: ShaderTextureResourceBindingManager.h:111
~ShaderTextureResourceBindingManager()
Definition: ShaderTextureResourceBindingManager.cpp:87
void destroyResource(ShaderTextureResourceBinding *pResourceToDestroy)
Definition: ShaderTextureResourceBindingManager.cpp:61
Renderer * pRenderer
Definition: ShaderTextureResourceBindingManager.h:100
std::variant< ShaderTextureResourceBindingUniquePtr, Error > createShaderTextureResource(const std::string &sShaderResourceName, const std::string &sResourceAdditionalInfo, const std::unordered_set< Pipeline * > &pipelinesToUse, std::unique_ptr< TextureHandle > pTextureToUse)
Definition: ShaderTextureResourceBindingManager.cpp:15
std::pair< std::recursive_mutex, std::unordered_map< ShaderTextureResourceBinding *, std::unique_ptr< ShaderTextureResourceBinding > > > * getResources()
Definition: ShaderTextureResourceBindingManager.cpp:79
std::variant< ShaderTextureResourceBindingUniquePtr, Error > handleResourceCreation(std::variant< std::unique_ptr< ShaderTextureResourceBinding >, Error > result)
Definition: ShaderTextureResourceBindingManager.cpp:40
Definition: ShaderTextureResourceBindingUniquePtr.h:14
Definition: ShaderResourceBinding.h:86