12 class ShadowMapHandle;
15 class GpuResourceManager;
49 static std::variant<std::unique_ptr<ShadowMapArrayIndexManager>,
Error>
create(
87 [[nodiscard]]
virtual std::optional<Error>
97 [[nodiscard]]
virtual std::optional<Error>
Definition: GpuResourceManager.h:43
Definition: Pipeline.h:20
Definition: Renderer.h:43
Definition: ShadowMapArrayIndexManager.h:25
Renderer * getRenderer() const
Definition: ShadowMapArrayIndexManager.cpp:49
virtual std::optional< Error > registerShadowMapResource(ShadowMapHandle *pShadowMapHandle)=0
virtual std::optional< Error > bindShadowMapsToAllPipelines()=0
virtual std::optional< Error > unregisterShadowMapResource(ShadowMapHandle *pShadowMapHandle)=0
virtual std::optional< Error > bindShadowMapsToPipeline(Pipeline *pPipeline)=0
Renderer *const pRenderer
Definition: ShadowMapArrayIndexManager.h:134
const std::string sShaderArrayResourceName
Definition: ShadowMapArrayIndexManager.h:137
static void changeShadowMapArrayIndex(ShadowMapHandle *pShadowMapHandle, unsigned int iNewArrayIndex)
Definition: ShadowMapArrayIndexManager.cpp:51
std::string_view getShaderArrayResourceName()
Definition: ShadowMapArrayIndexManager.cpp:45
static std::variant< std::unique_ptr< ShadowMapArrayIndexManager >, Error > create(Renderer *pRenderer, GpuResourceManager *pResourceManager, const std::string &sShaderArrayResourceName)
Definition: ShadowMapArrayIndexManager.cpp:18
Definition: ShadowMapHandle.h:23
Definition: ShadowMapManager.h:29