#pragma once // Forward-declarations for metal-cpp types, allowing // references without including any third-party headers #include namespace CA { class MetalDrawable; class MetalLayer; } // namespace CA namespace NS { template class SharedPtr; using UInteger = std::uintptr_t; } // namespace NS namespace MTL { class BlitCommandEncoder; class BlitPassDescriptor; class Buffer; class CaptureScope; class CommandBuffer; class CommandQueue; class Device; class DepthStencilState; class Function; class RenderCommandEncoder; class RenderPipelineState; class RenderPassDescriptor; class Texture; class TextureDescriptor; class SamplerState; class SamplerDescriptor; class VertexAttributeDescriptor; class VertexBufferLayoutDescriptor; class VertexDescriptor; } // namespace MTL namespace mbgl { namespace mtl { using CAMetalDrawablePtr = NS::SharedPtr; using CAMetalLayerPtr = NS::SharedPtr; using MTLBlitCommandEncoderPtr = NS::SharedPtr; using MTLBlitPassDescriptorPtr = NS::SharedPtr; using MTLBufferPtr = NS::SharedPtr; using MTLCaptureScopePtr = NS::SharedPtr; using MTLCommandBufferPtr = NS::SharedPtr; using MTLCommandQueuePtr = NS::SharedPtr; using MTLDevicePtr = NS::SharedPtr; using MTLDepthStencilStatePtr = NS::SharedPtr; using MTLFunctionPtr = NS::SharedPtr; using MTLRenderCommandEncoderPtr = NS::SharedPtr; using MTLRenderPassDescriptorPtr = NS::SharedPtr; using MTLRenderPipelineStatePtr = NS::SharedPtr; using MTLTexturePtr = NS::SharedPtr; using MTLTextureDescriptorPtr = NS::SharedPtr; using MTLSamplerStatePtr = NS::SharedPtr; using MTLSamplerDescriptorPtr = NS::SharedPtr; using MTLVertexAttributeDescriptorPtr = NS::SharedPtr; using MTLVertexBufferLayoutDescriptorPtr = NS::SharedPtr; using MTLVertexDescriptorPtr = NS::SharedPtr; } // namespace mtl } // namespace mbgl