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?
-
The point in time at which metal view should refresh its content. In case the refresh is synced with
CADisplayLink
update, useCADisplayLink.targetTimestamp
as a return value for this proprety. ReturnCACurrentMediaTime()
to indicate that the metal view should be redrawn as soon as possible.Declaration
Objective-C
- (CFTimeInterval)getTargetFrameTimestamp;
Swift
optional func getTargetFrameTimestamp() -> CFTimeInterval