diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2021-03-04 20:46:21 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2021-03-19 00:38:15 +0000 |
| commit | 4f5a4499cf0eee3761788eb6a422cd25e02ace40 (patch) | |
| tree | a4caf790bcb35483de2eaa56b7735230a0f1b7a5 /Graphics/GraphicsEngineNextGenBase | |
| parent | Minor updates to ValidatePipelineResourceSignatureDesc (diff) | |
| download | DiligentCore-4f5a4499cf0eee3761788eb6a422cd25e02ace40.tar.gz DiligentCore-4f5a4499cf0eee3761788eb6a422cd25e02ace40.zip | |
Refactored passing template arguments to base classes
Diffstat (limited to 'Graphics/GraphicsEngineNextGenBase')
| -rw-r--r-- | Graphics/GraphicsEngineNextGenBase/include/DeviceContextNextGenBase.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Graphics/GraphicsEngineNextGenBase/include/DeviceContextNextGenBase.hpp b/Graphics/GraphicsEngineNextGenBase/include/DeviceContextNextGenBase.hpp index cb059bca..173060fa 100644 --- a/Graphics/GraphicsEngineNextGenBase/include/DeviceContextNextGenBase.hpp +++ b/Graphics/GraphicsEngineNextGenBase/include/DeviceContextNextGenBase.hpp @@ -38,13 +38,13 @@ namespace Diligent /// Base implementation of the device context for next-generation backends. -template <typename BaseInterface, typename ImplementationTraits> -class DeviceContextNextGenBase : public DeviceContextBase<BaseInterface, ImplementationTraits> +template <typename EngineImplTraits> +class DeviceContextNextGenBase : public DeviceContextBase<EngineImplTraits> { public: - using TBase = DeviceContextBase<BaseInterface, ImplementationTraits>; - using DeviceImplType = typename ImplementationTraits::DeviceType; - using ICommandQueueType = typename ImplementationTraits::ICommandQueueType; + using TBase = DeviceContextBase<EngineImplTraits>; + using DeviceImplType = typename EngineImplTraits::RenderDeviceImplType; + using ICommandQueueType = typename EngineImplTraits::CommandQueueInterface; DeviceContextNextGenBase(IReferenceCounters* pRefCounters, DeviceImplType* pRenderDevice, |
