|
std::shared_ptr< SPShader > | getSPShader (const std::string &name) |
|
void | loadSPShaders (const std::string &directory_name) |
|
void | addSPShader (const std::string &name, std::shared_ptr< SPShader > shader) |
|
void | unloadAll () |
|
void | initAll () |
|
void | removeUnusedShaders () |
|
void | setOfficialShaders () |
|
|
static SPShaderManager * | get () |
|
static void | destroy () |
|
static void | addPrefilledTexturesToShader (SPShader *s, const std::vector< std::tuple< std::string, std::string, bool, SamplerType > > &t, RenderPass rp) |
|
|
typedef std::vector< std::pair< std::string, std::function< void(SPUniformAssigner *)> > > | UniformAssigners |
|
|
std::string | getShaderFullPath (const std::string &name) |
|
void | loadPassInfo (const XMLNode *pass, PassInfo &pi) |
|
void | loadEachShader (const std::string &file_name) |
|
std::shared_ptr< SPShader > | buildSPShader (const ShaderInfo &si, const std::array< PassInfo, 2 > &pi, const UniformAssigners &ua, bool skinned) |
|
|
std::unordered_map< std::string, std::shared_ptr< SPShader > > | m_shaders |
|
std::vector< std::shared_ptr< SPShader > > | m_official_shaders |
|
std::unordered_map< std::string, SamplerType > | m_official_sampler_types |
|
std::unordered_map< std::string, std::function< void(SPUniformAssigner *)> > | m_official_uniform_assigner_functions |
|
std::unordered_map< std::string, std::function< void()> > | m_official_use_functions |
|
std::unordered_map< std::string, std::function< void()> > | m_official_unuse_functions |
|
std::string | m_shader_directory |
|
The documentation for this class was generated from the following files: