.. index:: pair: class; EE::Graphics::ShaderProgramManager .. _doxid-class_e_e_1_1_graphics_1_1_shader_program_manager: class EE::Graphics::ShaderProgramManager ======================================== .. toctree:: :hidden: The :ref:`Shader ` Program Manager is a singleton class that manages all the instances of :ref:`Shader ` Programs instanciated. Releases the :ref:`Shader ` Program instances automatically. So the user doesn't need to release any :ref:`Shader ` Program instance. .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class ShaderProgramManager: public :ref:`EE::System::ResourceManager` { public: // construction virtual :target:`~ShaderProgramManager`(); // methods void :target:`reload`(); }; Inherited Members ----------------- .. ref-code-block:: cpp :class: doxyrest-overview-inherited-code-block public: // methods virtual T* :ref:`add`(T* resource); bool :ref:`remove`(T* resource, bool remove = true); bool :ref:`removeById`(const :ref:`String::HashType`& id, bool remove = true); bool :ref:`removeByName`(const std::string& name, bool remove = true); T* :ref:`getByName`(const std::string& name); T* :ref:`getById`(const :ref:`String::HashType`& id); :ref:`Uint32` :ref:`getCount`(); :ref:`Uint32` :ref:`getCount`(const std::string& name); :ref:`Uint32` :ref:`getCount`(const :ref:`String::HashType`& id); bool :ref:`exists`(const std::string& name); bool :ref:`existsId`(const :ref:`String::HashType`& id); void :ref:`destroy`(); void :ref:`printNames`(); :ref:`UnorderedMap`<:ref:`String::HashType`, T*>& :ref:`getResources`(); const bool& :ref:`isDestroying`() const; template void :ref:`each`(Predicate pred) const; template void :ref:`each`(Predicate pred); template T* :ref:`findIf`(Predicate pred) const; template T* :ref:`findIf`(Predicate pred);