8#include "shader/general/resource/binding/global/GlobalShaderResourceBinding.h"
9#include "render/directx/descriptors/DirectXDescriptorType.hpp"
12#include "vulkan/vulkan_core.h"
15 class PipelineManager;
18 class DirectXResource;
70 const std::function<std::optional<Error>(
Pipeline* pPipeline)>& onBind);
85 DirectXDescriptorType bindingType,
Definition: DirectXResource.h:32
static constexpr unsigned int getFrameResourceCount()
Definition: FrameResourceManager.h:74
Definition: GlobalShaderResourceBindingManager.h:21
Definition: GlobalShaderResourceBinding.h:27
GlobalShaderResourceBindingManager *const pManager
Definition: GlobalShaderResourceBinding.h:121
const std::string sShaderResourceName
Definition: GlobalShaderResourceBinding.h:110
Definition: GpuResource.h:16
Definition: HlslGlobalShaderResourceBinding.h:24
static std::optional< Error > bindResourceToGraphicsPipelines(PipelineManager *pPipelineManager, const std::function< std::optional< Error >(Pipeline *pPipeline)> &onBind)
Definition: HlslGlobalShaderResourceBinding.cpp:98
static std::optional< Error > bindResourcesToPipeline(const std::array< DirectXResource *, FrameResourceManager::getFrameResourceCount()> &vResourcesToBind, DirectXDescriptorType bindingType, Pipeline *pPipeline, const std::string &sShaderResourceName)
Definition: HlslGlobalShaderResourceBinding.cpp:125
virtual std::optional< Error > bindToPipelines(Pipeline *pSpecificPipeline) override
Definition: HlslGlobalShaderResourceBinding.cpp:20
Definition: PipelineManager.h:54
Definition: Pipeline.h:20