Shader/GlslWriter: Improve GLSL readability

This commit is contained in:
Jérôme Leclercq
2021-04-14 20:10:11 +02:00
parent a90937eb4f
commit 0860a0689f
2 changed files with 23 additions and 17 deletions

View File

@@ -64,6 +64,7 @@ namespace Nz
void AppendHeader();
void AppendLine(const std::string& txt = {});
template<typename... Args> void AppendLine(Args&&... params);
void AppendStatementList(std::vector<ShaderAst::StatementPtr>& statements);
void EnterScope();
void LeaveScope(bool skipLine = true);