// Copyright (C) 2020 Jérôme Leclercq // This file is part of the "Nazara Engine - Renderer module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_OPENGLRENDERER_OPENGLCOMMANDPOOL_HPP #define NAZARA_OPENGLRENDERER_OPENGLCOMMANDPOOL_HPP #include #include #include namespace Nz { class NAZARA_OPENGLRENDERER_API OpenGLCommandPool final : public CommandPool { public: OpenGLCommandPool() = default; OpenGLCommandPool(const OpenGLCommandPool&) = delete; OpenGLCommandPool(OpenGLCommandPool&&) noexcept = default; ~OpenGLCommandPool() = default; std::unique_ptr BuildCommandBuffer(const std::function& callback) override; OpenGLCommandPool& operator=(const OpenGLCommandPool&) = delete; OpenGLCommandPool& operator=(OpenGLCommandPool&&) = delete; }; } #include #endif // NAZARA_OPENGLRENDERER_OPENGLCOMMANDPOOL_HPP