Class mln_rendering_stats

java.lang.Object
org.maplibre.nativeffi.internal.c.mln_rendering_stats

public class mln_rendering_stats extends Object
struct mln_rendering_stats {
    uint32_t size;
    double encoding_time;
    double rendering_time;
    int64_t frame_count;
    int64_t draw_call_count;
    int64_t total_draw_call_count;
}
  • Method Details

    • layout

      public static final GroupLayout layout()
      The layout of this struct
    • size$layout

      public static final ValueLayout.OfInt size$layout()
      Layout for field:
      uint32_t size
      
    • size$offset

      public static final long size$offset()
      Offset for field:
      uint32_t size
      
    • size

      public static int size(MemorySegment struct)
      Getter for field:
      uint32_t size
      
    • size

      public static void size(MemorySegment struct, int fieldValue)
      Setter for field:
      uint32_t size
      
    • encoding_time$layout

      public static final ValueLayout.OfDouble encoding_time$layout()
      Layout for field:
      double encoding_time
      
    • encoding_time$offset

      public static final long encoding_time$offset()
      Offset for field:
      double encoding_time
      
    • encoding_time

      public static double encoding_time(MemorySegment struct)
      Getter for field:
      double encoding_time
      
    • encoding_time

      public static void encoding_time(MemorySegment struct, double fieldValue)
      Setter for field:
      double encoding_time
      
    • rendering_time$layout

      public static final ValueLayout.OfDouble rendering_time$layout()
      Layout for field:
      double rendering_time
      
    • rendering_time$offset

      public static final long rendering_time$offset()
      Offset for field:
      double rendering_time
      
    • rendering_time

      public static double rendering_time(MemorySegment struct)
      Getter for field:
      double rendering_time
      
    • rendering_time

      public static void rendering_time(MemorySegment struct, double fieldValue)
      Setter for field:
      double rendering_time
      
    • frame_count$layout

      public static final ValueLayout.OfLong frame_count$layout()
      Layout for field:
      int64_t frame_count
      
    • frame_count$offset

      public static final long frame_count$offset()
      Offset for field:
      int64_t frame_count
      
    • frame_count

      public static long frame_count(MemorySegment struct)
      Getter for field:
      int64_t frame_count
      
    • frame_count

      public static void frame_count(MemorySegment struct, long fieldValue)
      Setter for field:
      int64_t frame_count
      
    • draw_call_count$layout

      public static final ValueLayout.OfLong draw_call_count$layout()
      Layout for field:
      int64_t draw_call_count
      
    • draw_call_count$offset

      public static final long draw_call_count$offset()
      Offset for field:
      int64_t draw_call_count
      
    • draw_call_count

      public static long draw_call_count(MemorySegment struct)
      Getter for field:
      int64_t draw_call_count
      
    • draw_call_count

      public static void draw_call_count(MemorySegment struct, long fieldValue)
      Setter for field:
      int64_t draw_call_count
      
    • total_draw_call_count$layout

      public static final ValueLayout.OfLong total_draw_call_count$layout()
      Layout for field:
      int64_t total_draw_call_count
      
    • total_draw_call_count$offset

      public static final long total_draw_call_count$offset()
      Offset for field:
      int64_t total_draw_call_count
      
    • total_draw_call_count

      public static long total_draw_call_count(MemorySegment struct)
      Getter for field:
      int64_t total_draw_call_count
      
    • total_draw_call_count

      public static void total_draw_call_count(MemorySegment struct, long fieldValue)
      Setter for field:
      int64_t total_draw_call_count
      
    • asSlice

      public static MemorySegment asSlice(MemorySegment array, long index)
      Obtains a slice of arrayParam which selects the array element at index. The returned segment has address arrayParam.address() + index * layout().byteSize()
    • sizeof

      public static long sizeof()
      The size (in bytes) of this struct
    • allocate

      public static MemorySegment allocate(SegmentAllocator allocator)
      Allocate a segment of size layout().byteSize() using allocator
    • allocateArray

      public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator)
      Allocate an array of size elementCount using allocator. The returned segment has size elementCount * layout().byteSize().
    • reinterpret

      public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup)
      Reinterprets addr using target arena and cleanupAction (if any). The returned segment has size layout().byteSize()
    • reinterpret

      public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup)
      Reinterprets addr using target arena and cleanupAction (if any). The returned segment has size elementCount * layout().byteSize()