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