#include <ReloadableShader.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) |
Reloadable shader implements the IShader interface and delegates all calls to the internal shader object, which can be replaced at run-time.
|
inline |
Template version of QueryInterface that avoids the need to manually cast the returned interface pointer.