MBMMapDebugOptions.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. /** Options for enabling debugging features in a map. */
  4. // NOLINTNEXTLINE(modernize-use-using)
  5. typedef NS_ENUM(NSInteger, MBMMapDebugOptions)
  6. {
  7. /**
  8. * Edges of tile boundaries are shown as thick, red lines to help diagnose
  9. * tile clipping issues.
  10. */
  11. MBMMapDebugOptionsTileBorders,
  12. /** Each tile shows its tile coordinate (x/y/z) in the upper-left corner. */
  13. MBMMapDebugOptionsParseStatus,
  14. /** Each tile shows a timestamp indicating when it was loaded. */
  15. MBMMapDebugOptionsTimestamps,
  16. /**
  17. * Edges of glyphs and symbols are shown as faint, green lines to help
  18. * diagnose collision and label placement issues.
  19. */
  20. MBMMapDebugOptionsCollision,
  21. /**
  22. * Each drawing operation is replaced by a translucent fill. Overlapping
  23. * drawing operations appear more prominent to help diagnose overdrawing.
  24. */
  25. MBMMapDebugOptionsOverdraw,
  26. /** The stencil buffer is shown instead of the color buffer. */
  27. MBMMapDebugOptionsStencilClip,
  28. /** The depth buffer is shown instead of the color buffer. */
  29. MBMMapDebugOptionsDepthBuffer,
  30. /**
  31. * Visualize residency of tiles in the render cache. Tile boundaries of cached tiles
  32. * are rendered with green, tiles waiting for an update with yellow and tiles not in the cache
  33. * with red.
  34. */
  35. MBMMapDebugOptionsRenderCache,
  36. /** Show 3D model bounding boxes. */
  37. MBMMapDebugOptionsModelBounds,
  38. /** Show a wireframe for terrain. */
  39. MBMMapDebugOptionsTerrainWireframe
  40. } NS_SWIFT_NAME(MapDebugOptions);