Graphics/FrameGraph: Make use of RenderPassCache

This commit is contained in:
Jérôme Leclercq
2021-07-17 21:11:45 +02:00
parent 7e4f624ca7
commit 7fb5109dfa
4 changed files with 13 additions and 1 deletions

View File

@@ -42,6 +42,12 @@ namespace Nz
return m_renderDevice;
}
inline const RenderPassCache& Graphics::GetRenderPassCache() const
{
assert(m_renderPassCache);
return *m_renderPassCache;
}
inline TextureSamplerCache& Graphics::GetSamplerCache()
{
return *m_samplerCache;