More skeleton

This commit is contained in:
Dynamitos
2024-04-10 15:50:20 +02:00
parent e9e483d9d1
commit c3be0e23e7
10 changed files with 141 additions and 9 deletions
+3
View File
@@ -1,4 +1,5 @@
#pragma once
#include "Graphics/Metal/Command.h"
#include "Metal/Metal.hpp"
#include "Graphics/Graphics.h"
@@ -55,10 +56,12 @@ public:
MTL::Device* getDevice() const { return device; }
PCommandQueue getQueue() const { return queue; }
PIOCommandQueue getIOQueue() const { return ioQueue; }
protected:
MTL::Device* device;
MTL::Library* library;
OCommandQueue queue;
OIOCommandQueue ioQueue;
};
DEFINE_REF(Graphics)
} // namespace Metal