Add a few helper functions
This commit is contained in:
@@ -11,6 +11,12 @@ namespace Nz::ShaderLang
|
||||
m_context(nullptr)
|
||||
{
|
||||
}
|
||||
|
||||
inline ShaderAst::StatementPtr Parse(const std::vector<Token>& tokens)
|
||||
{
|
||||
Parser parser;
|
||||
return parser.Parse(tokens);
|
||||
}
|
||||
}
|
||||
|
||||
#include <Nazara/Shader/DebugOff.hpp>
|
||||
|
||||
Reference in New Issue
Block a user