Files
Seele/src/Engine/Graphics/Metal/Resources.h
T

33 lines
658 B
C++
Raw Normal View History

2024-04-09 16:41:12 +02:00
#pragma once
2024-04-10 09:58:39 +02:00
#include "Graphics/Resources.h"
2024-04-09 16:41:12 +02:00
#include <Foundation/Foundation.hpp>
#include <Metal/Metal.hpp>
#include <QuartzCore/CAMetalLayer.h>
2024-04-10 09:58:39 +02:00
#include <QuartzCore/CAMetalLayer.hpp>
#include <QuartzCore/QuartzCore.hpp>
namespace Seele {
namespace Metal {
DECLARE_REF(Graphics);
class Fence {
public:
Fence(PGraphics graphics);
~Fence();
MTL::Fence *getHandle() const { return handle; }
private:
MTL::Fence *handle;
};
DEFINE_REF(Fence);
class Event {
public:
Event(PGraphics graphics);
~Event();
MTL::Event *getHandle() const { return handle; }
private:
MTL::Event *handle;
};
DEFINE_REF(Event)
} // namespace Metal
} // namespace Seele