Shader: Add module statement
This commit is contained in:
28
include/Nazara/Shader/Ast/Module.hpp
Normal file
28
include/Nazara/Shader/Ast/Module.hpp
Normal file
@@ -0,0 +1,28 @@
|
||||
// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com)
|
||||
// This file is part of the "Nazara Engine - Shader module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_SHADER_AST_MODULE_HPP
|
||||
#define NAZARA_SHADER_AST_MODULE_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Shader/Config.hpp>
|
||||
#include <Nazara/Shader/Ast/Nodes.hpp>
|
||||
#include <memory>
|
||||
|
||||
namespace Nz::ShaderAst
|
||||
{
|
||||
struct Module;
|
||||
|
||||
using ModulePtr = std::shared_ptr<Module>;
|
||||
|
||||
struct Module
|
||||
{
|
||||
MultiStatementPtr rootNode;
|
||||
UInt32 shaderLangVersion;
|
||||
};
|
||||
}
|
||||
|
||||
#endif // NAZARA_SHADER_AST_MODULE_HPP
|
||||
Reference in New Issue
Block a user