Crafter.Graphics/interfaces/Crafter.Graphics-RenderPass.cppm

30 lines
1,011 B
Text
Raw Permalink Normal View History

2026-03-09 20:10:19 +01:00
/*
Crafter®.Graphics
Copyright (C) 2026 Catcrafts®
2026-05-01 23:35:37 +02:00
catcrafts.net
2026-03-09 20:10:19 +01:00
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
2026-05-01 23:35:37 +02:00
License version 3.0 as published by the Free Software Foundation;
2026-03-09 20:10:19 +01:00
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
2026-05-01 23:35:37 +02:00
export module Crafter.Graphics:RenderPass;
2026-03-09 20:10:19 +01:00
import std;
2026-05-18 04:58:52 +02:00
import :GraphicsTypes;
2026-03-09 20:10:19 +01:00
2026-05-01 23:35:37 +02:00
export namespace Crafter {
struct Window;
2026-03-09 20:10:19 +01:00
2026-05-01 23:35:37 +02:00
struct RenderPass {
2026-05-18 04:58:52 +02:00
virtual void Record(GraphicsCommandBuffer cmd, std::uint32_t frameIdx, Window& window) = 0;
2026-05-01 23:35:37 +02:00
virtual ~RenderPass() = default;
};
}