| 45 | } |
| 46 | |
| 47 | MatInstanceHook* BaseMatInstance::getHook( const MatInstanceHookType &type ) const |
| 48 | { |
| 49 | if ( type >= mHooks.size() ) |
| 50 | return NULL; |
| 51 | |
| 52 | return mHooks[ type ]; |
| 53 | } |
| 54 | |
| 55 | void BaseMatInstance::deleteHook( const MatInstanceHookType &type ) |
| 56 | { |
no test coverage detected