Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::ReloadableShader Class Referencefinal

#include <ReloadableShader.hpp>

Inheritance diagram for Diligent::ReloadableShader:
Diligent::ObjectBase< IShader > Diligent::RefCountedObject< Base >

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)
 

Detailed Description

Reloadable shader implements the IShader interface and delegates all calls to the internal shader object, which can be replaced at run-time.

Member Function Documentation

◆ QueryInterface()

template<typename DerivedType, typename = typename std::enable_if<std::is_base_of<IObject, DerivedType>::value>::type>
void Diligent.IObject.QueryInterface ( const INTERFACE_ID & IID,
DerivedType ** ppInterface )
inline

Template version of QueryInterface that avoids the need to manually cast the returned interface pointer.