// Copyright (C) 2021 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_CONSTANTVALUE_HPP #define NAZARA_SHADER_AST_CONSTANTVALUE_HPP #include #include #include #include #include #include #include #include namespace Nz::ShaderAst { using NoValue = std::monostate; using ConstantTypes = TypeList< NoValue, bool, float, Int32, UInt32, Vector2f, Vector3f, Vector4f, Vector2i32, Vector3i32, Vector4i32 >; using ConstantValue = TypeListInstantiate; NAZARA_SHADER_API ExpressionType GetExpressionType(const ConstantValue& constant); } #endif // NAZARA_SHADER_AST_CONSTANTVALUE_HPP