Shader: Add IsExpression/IsStatement
This commit is contained in:
@@ -296,6 +296,8 @@ namespace Nz::ShaderAst
|
||||
};
|
||||
|
||||
inline const ShaderAst::ExpressionType& GetExpressionType(ShaderAst::Expression& expr);
|
||||
inline bool IsExpression(NodeType nodeType);
|
||||
inline bool IsStatement(NodeType nodeType);
|
||||
}
|
||||
|
||||
#include <Nazara/Shader/ShaderNodes.inl>
|
||||
|
||||
Reference in New Issue
Block a user