Starting metal backend

This commit is contained in:
Dynamitos
2024-04-09 16:41:12 +02:00
parent fdb43626bb
commit 2359b1e984
24 changed files with 1116 additions and 93 deletions
+20
View File
@@ -0,0 +1,20 @@
#pragma once
#include "Graphics/RenderTarget.h"
#include "Graphics.h"
namespace Seele
{
namespace Metal
{
class RenderPass : public Gfx::RenderPass
{
public:
RenderPass(PGraphics graphics, Gfx::RenderTargetLayout layout, Array<Gfx::SubPassDependency> dependencies, Gfx::PViewport viewport);
virtual ~RenderPass();
private:
PGraphics graphics;
Gfx::PViewport viewport;
};
DEFINE_REF(RenderPass)
} // namespace Metal
} // namespace Seele