Class ShaderCompiler¶
Defined in File shadercompiler.hpp
Class Documentation¶
-
class
legion::rendering
::
ShaderCompiler
¶ Public Members
-
template<typename lambda_type> int = 0)> static void setErrorCallback(const lambda_type& lambda) { m_callback = delegate<void(const std::string&, log::severity)>::template create<lambda_type>(lambda); } template <void(*func_type)(const std::string&, log::severity)> static void setErrorCallback() { m_callback = delegate<void(const std::string&, log::severity)>::template create<func_type>(); } static void cleanCache()
Public Static Functions
-
template<class owner_type, void(owner_type::*)(const std::string &, log::severity) func_type> static inline void setErrorCallback (owner_type *instance=nullptr)
-
template<class owner_type, void(owner_type::*)(const std::string &, log::severity) const func_type> static inline void setErrorCallback (const owner_type *instance)
-
static inline void
setErrorCallback
(const delegate<void(const std::string&, log::severity)> &func)¶
-
static bool
process
(const fs::view &file, bitfield8 compilerSettings, shader_ilo &ilo, std::unordered_map<std::string, shader_state> &state)¶
-
static bool
process
(const fs::view &file, bitfield8 compilerSettings, shader_ilo &ilo, std::unordered_map<std::string, shader_state> &state, const std::vector<std::string> &defines)¶
-
static bool
process
(const fs::view &file, bitfield8 compilerSettings, shader_ilo &ilo, std::unordered_map<std::string, shader_state> &state, const std::vector<std::string> &defines, const std::vector<std::string> &additionalIncludes)¶
-