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

13 lines
340 B
Plaintext
Raw Normal View History

2024-04-10 09:58:39 +02:00
#include "Resources.h"
#include "Graphics.h"
using namespace Seele;
using namespace Seele::Metal;
Fence::Fence(PGraphics graphics) : handle(graphics->getDevice()->newFence()) {}
Fence::~Fence() { handle->release(); }
Event::Event(PGraphics graphics) : handle(graphics->getDevice()->newEvent()) {}
Event::~Event() { handle->release(); }