Metal is impossible to debug, thanks apple
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
#pragma once
|
||||
#include "Foundation/NSArray.hpp"
|
||||
#include "Graphics/Descriptor.h"
|
||||
#include "Graphics/Initializer.h"
|
||||
#include "Metal/MTLArgumentEncoder.hpp"
|
||||
#include "MinimalEngine.h"
|
||||
#include "Buffer.h"
|
||||
|
||||
namespace Seele {
|
||||
namespace Metal {
|
||||
@@ -58,6 +57,8 @@ public:
|
||||
constexpr void allocate() { currentlyInUse = true; }
|
||||
constexpr void free() { currentlyInUse = false; }
|
||||
|
||||
constexpr MTL::Buffer* getBuffer() const { return buffer; }
|
||||
|
||||
private:
|
||||
PGraphics graphics;
|
||||
PDescriptorPool owner;
|
||||
|
||||
Reference in New Issue
Block a user