diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2021-02-23 02:01:50 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2021-03-19 00:38:10 +0000 |
| commit | 859eb02ccdca5c2a69935e011810490b986cb719 (patch) | |
| tree | f7594cd1dcaae6edc6a0cb9e8d292e79ccb6fb13 /Graphics/GraphicsEngineD3DBase | |
| parent | Fixed bug in DescriptorHeapAllocationManager (diff) | |
| download | DiligentCore-859eb02ccdca5c2a69935e011810490b986cb719.tar.gz DiligentCore-859eb02ccdca5c2a69935e011810490b986cb719.zip | |
Implemented committed resource validation in d3d12
Diffstat (limited to 'Graphics/GraphicsEngineD3DBase')
| -rw-r--r-- | Graphics/GraphicsEngineD3DBase/include/ShaderResources.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineD3DBase/include/ShaderResources.hpp b/Graphics/GraphicsEngineD3DBase/include/ShaderResources.hpp index dcd0289b..69a61bf2 100644 --- a/Graphics/GraphicsEngineD3DBase/include/ShaderResources.hpp +++ b/Graphics/GraphicsEngineD3DBase/include/ShaderResources.hpp @@ -372,6 +372,11 @@ public: HandleAccelStruct(AS, n); } } + template <typename THandler> + void ProcessResources(THandler Handler) const + { + ProcessResources(Handler, Handler, Handler, Handler, Handler, Handler, Handler); + } bool IsCompatibleWith(const ShaderResources& Resources) const; bool IsUsingCombinedTextureSamplers() const { return m_SamplerSuffix != nullptr; } |
