Graphics: Use module name to retrieve material shaders

This commit is contained in:
Jérôme Leclercq
2022-03-15 13:14:43 +01:00
parent 0f55779a8a
commit 0e92ef823d
9 changed files with 42 additions and 95 deletions

View File

@@ -65,6 +65,7 @@ namespace Nz
void BuildFullscreenVertexBuffer();
void RegisterMaterialPasses();
void RegisterShaderModules();
template<std::size_t N> void RegisterEmbedShaderModule(const UInt8(&content)[N]);
void SelectDepthStencilFormats();
std::optional<RenderPassCache> m_renderPassCache;