MBMMetalViewProvider

@protocol MBMMetalViewProvider

Interface for providing MTKView to the map renderer.

  • Undocumented

    Declaration

    Objective-C

    - (MTKView *_Nullable)getMetalViewFor:(nullable id<MTLDevice>)metalDevice;

    Swift

    optional func getMetalView(for metalDevice: MTLDevice?) -> MTKView?
  • Undocumented

    Declaration

    Objective-C

    - (nullable id<MTLTexture>)getDrawableTexture;

    Swift

    optional func getDrawableTexture() -> MTLTexture?
  • Deprecated, implementing this method has no effect

    Declaration

    Objective-C

    - (CFTimeInterval)getTargetFrameTimestamp;

    Swift

    optional func getTargetFrameTimestamp() -> CFTimeInterval