10#include "render/general/resource/frame/FrameResourceManager.h"
11#include "misc/Error.h"
17 class GlobalShaderResourceBindingManager;
58 [[nodiscard]]
static std::optional<Error>
create(
static constexpr unsigned int getFrameResourceCount()
Definition: FrameResourceManager.h:74
Definition: GlobalShaderResourceBindingManager.h:21
Definition: GlobalShaderResourceBinding.h:27
const std::string & getShaderResourceName() const
Definition: GlobalShaderResourceBinding.cpp:22
GlobalShaderResourceBindingManager *const pManager
Definition: GlobalShaderResourceBinding.h:121
const std::array< GpuResource *, FrameResourceManager::getFrameResourceCount()> vBindedResources
Definition: GlobalShaderResourceBinding.h:118
const std::string sShaderResourceName
Definition: GlobalShaderResourceBinding.h:110
static std::optional< Error > create(Renderer *pRenderer, GlobalShaderResourceBindingManager *pManager, const std::string &sShaderResourceName, const std::array< GpuResource *, FrameResourceManager::getFrameResourceCount()> &vResourcesToBind)
Definition: GlobalShaderResourceBinding.cpp:31
void unregisterBinding()
Definition: GlobalShaderResourceBinding.cpp:20
std::array< GpuResource *, FrameResourceManager::getFrameResourceCount()> getBindedResources() const
Definition: GlobalShaderResourceBinding.cpp:27
virtual std::optional< Error > bindToPipelines(Pipeline *pSpecificPipeline)=0
Definition: GpuResource.h:16
Definition: Pipeline.h:20
Definition: Renderer.h:43