carb::getCachedInterfaceForBindings
Defined in carb/BindingsUtils.h
- 
template<typename InterfaceType>
 InterfaceType *carb::getCachedInterfaceForBindings()
- A helper function for carb::getCachedInterface() that throws on error. - Template Parameters
- InterfaceType – The interface to acquire (i.e. - assets::IAssets). Must be specified and cannot be inferred.
- Throws
- std::runtime_error – if the interface cannot be acquired and exceptions are enabled, otherwise this error condition results in a CARB_FATAL_UNLESS() assertion. 
- Returns
- A pointer to the interface.