diff --git a/src/graphics/sp/sp_shader_manager.hpp b/src/graphics/sp/sp_shader_manager.hpp index 158c1f21f..3695a2e6c 100644 --- a/src/graphics/sp/sp_shader_manager.hpp +++ b/src/graphics/sp/sp_shader_manager.hpp @@ -40,6 +40,26 @@ enum RenderPass: unsigned int; class SPShaderManager : public NoCopy { +public: + + struct PassInfo + { + std::function m_use_function; + + std::function m_unuse_function; + + std::string m_vertex_shader; + + std::string m_fragment_shader; + + std::string m_skinned_mesh_shader; + + std::vector > m_uniforms; + + std::vector > + m_prefilled_textures; + }; + private: typedef std::vector > > UniformAssigners; @@ -61,24 +81,6 @@ private: }}; }; - struct PassInfo - { - std::function m_use_function; - - std::function m_unuse_function; - - std::string m_vertex_shader; - - std::string m_fragment_shader; - - std::string m_skinned_mesh_shader; - - std::vector > m_uniforms; - - std::vector > - m_prefilled_textures; - }; - static SPShaderManager* m_spsm; std::unordered_map > m_shaders;