Template class implementing base functionality of the engine factory. More...
#include <EngineFactoryBase.hpp>
Public Member Functions | |
| template<typename DerivedType, typename = typename std::enable_if<std::is_base_of<IObject, DerivedType>::value>::type> | |
| void | QueryInterface (const INTERFACE_ID &IID, DerivedType **ppInterface) |
Template class implementing base functionality of the engine factory.
| BaseInterface | - Base interface that this class will inherit (Diligent::IEngineFactoryD3D11, Diligent::IEngineFactoryD3D12, Diligent::IEngineFactoryVk or Diligent::IEngineFactoryOpenGL). |
|
inline |
Template version of QueryInterface that avoids the need to manually cast the returned interface pointer.