void attach (ModuleObserver& observer) { if (realised()) { observer.realise(); } m_observers.attach(observer); }
void OpenGLShader::attach (ModuleObserver& observer) { if (realised()) { observer.realise(); } m_observers.attach(observer); }
void Doom3ShaderSystem::attach(ModuleObserver& observer) { _observers.attach(observer); if (_realised) { observer.realise(); } }