Files
MapLibreParticleLab/platform/ios/app/MLNMapView_Experimental.h
mwilsnd 20d9e1028c Platform flattening overhaul (#1393)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-07-26 17:50:34 +02:00

33 lines
830 B
Objective-C

#import "Mapbox.h"
@interface MLNMapView (Experimental)
// MARK: Rendering Performance Measurement
/** Enable rendering performance measurement. */
@property (nonatomic) BOOL experimental_enableFrameRateMeasurement;
/**
Average frames per second over the previous second, updated once per second.
Requires `experimental_enableFrameRateMeasurement`.
*/
@property (nonatomic, readonly) CGFloat averageFrameRate;
/**
Frame render duration for the previous frame, updated instantaneously.
Requires `experimental_enableFrameRateMeasurement`.
*/
@property (nonatomic, readonly) CFTimeInterval frameTime;
/**
Average frame render duration over the previous second, updated once per
second.
Requires `experimental_enableFrameRateMeasurement`.
*/
@property (nonatomic, readonly) CFTimeInterval averageFrameTime;
@end