Add explicit frame capture (#1934)

This commit is contained in:
Tim Sylvester
2023-12-08 22:22:43 -08:00
committed by GitHub
parent ea73a57a09
commit de1bcd1665
3 changed files with 95 additions and 1 deletions

View File

@@ -19,6 +19,7 @@ namespace MTL {
class BlitCommandEncoder;
class BlitPassDescriptor;
class Buffer;
class CaptureScope;
class CommandBuffer;
class CommandQueue;
class Device;
@@ -43,6 +44,7 @@ using CAMetalDrawablePtr = NS::SharedPtr<CA::MetalDrawable>;
using MTLBlitCommandEncoderPtr = NS::SharedPtr<MTL::BlitCommandEncoder>;
using MTLBlitPassDescriptorPtr = NS::SharedPtr<MTL::BlitPassDescriptor>;
using MTLBufferPtr = NS::SharedPtr<MTL::Buffer>;
using MTLCaptureScopePtr = NS::SharedPtr<MTL::CaptureScope>;
using MTLCommandBufferPtr = NS::SharedPtr<MTL::CommandBuffer>;
using MTLCommandQueuePtr = NS::SharedPtr<MTL::CommandQueue>;
using MTLDevicePtr = NS::SharedPtr<MTL::Device>;