Basic commandbuffer implementation

This commit is contained in:
Dynamitos committed 2024-04-10 08:43:56 +02:00
1 parent a0161f1d83
commit d7b228d856
21 files changed
+435 -49

No files matched your search

+2
View File
@@ -1,4 +1,5 @@
#pragma once
#include "Metal/MTLRenderCommandEncoder.hpp"
#include "Metal/Metal.hpp"
#include "Graphics/Graphics.h"
@@ -57,6 +58,7 @@ protected:
MTL::Device* device;
MTL::Library* library;
MTL::CommandQueue* queue;
MTL::RenderCommandEncoder* encoder;
};
DEFINE_REF(Graphics)
} // namespace Metal