NazaraEngine/include/Nazara/Shader/SpirvSection.hpp

36 lines
915 B
C++

// Copyright (C) 2020 Jérôme Leclercq
// This file is part of the "Nazara Engine - Shader generator"
// For conditions of distribution and use, see copyright notice in Config.hpp
#pragma once
#ifndef NAZARA_SPIRVSECTION_HPP
#define NAZARA_SPIRVSECTION_HPP
#include <Nazara/Prerequisites.hpp>
#include <Nazara/Shader/SpirvSectionBase.hpp>
namespace Nz
{
class NAZARA_SHADER_API SpirvSection : public SpirvSectionBase
{
public:
SpirvSection() = default;
SpirvSection(const SpirvSection&) = default;
SpirvSection(SpirvSection&&) = default;
~SpirvSection() = default;
using SpirvSectionBase::Append;
using SpirvSectionBase::AppendRaw;
using SpirvSectionBase::AppendSection;
using SpirvSectionBase::AppendVariadic;
SpirvSection& operator=(const SpirvSection&) = delete;
SpirvSection& operator=(SpirvSection&&) = default;
};
}
#include <Nazara/Shader/SpirvSection.inl>
#endif