Class ecs_world_stats_t.frame

java.lang.Object
com.github.elebras1.flecs.ecs_world_stats_t.frame
Enclosing class:
ecs_world_stats_t

public static class ecs_world_stats_t.frame extends Object
struct {
    ecs_metric_t frame_count;
    ecs_metric_t merge_count;
    ecs_metric_t rematch_count;
    ecs_metric_t pipeline_build_count;
    ecs_metric_t systems_ran;
    ecs_metric_t observers_ran;
    ecs_metric_t event_emit_count;
}
  • Method Details

    • layout

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

      public static final GroupLayout frame_count$layout()
      Layout for field:
      ecs_metric_t frame_count
      
    • frame_count$offset

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

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

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

      public static final GroupLayout merge_count$layout()
      Layout for field:
      ecs_metric_t merge_count
      
    • merge_count$offset

      public static final long merge_count$offset()
      Offset for field:
      ecs_metric_t merge_count
      
    • merge_count

      public static MemorySegment merge_count(MemorySegment struct)
      Getter for field:
      ecs_metric_t merge_count
      
    • merge_count

      public static void merge_count(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      ecs_metric_t merge_count
      
    • rematch_count$layout

      public static final GroupLayout rematch_count$layout()
      Layout for field:
      ecs_metric_t rematch_count
      
    • rematch_count$offset

      public static final long rematch_count$offset()
      Offset for field:
      ecs_metric_t rematch_count
      
    • rematch_count

      public static MemorySegment rematch_count(MemorySegment struct)
      Getter for field:
      ecs_metric_t rematch_count
      
    • rematch_count

      public static void rematch_count(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      ecs_metric_t rematch_count
      
    • pipeline_build_count$layout

      public static final GroupLayout pipeline_build_count$layout()
      Layout for field:
      ecs_metric_t pipeline_build_count
      
    • pipeline_build_count$offset

      public static final long pipeline_build_count$offset()
      Offset for field:
      ecs_metric_t pipeline_build_count
      
    • pipeline_build_count

      public static MemorySegment pipeline_build_count(MemorySegment struct)
      Getter for field:
      ecs_metric_t pipeline_build_count
      
    • pipeline_build_count

      public static void pipeline_build_count(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      ecs_metric_t pipeline_build_count
      
    • systems_ran$layout

      public static final GroupLayout systems_ran$layout()
      Layout for field:
      ecs_metric_t systems_ran
      
    • systems_ran$offset

      public static final long systems_ran$offset()
      Offset for field:
      ecs_metric_t systems_ran
      
    • systems_ran

      public static MemorySegment systems_ran(MemorySegment struct)
      Getter for field:
      ecs_metric_t systems_ran
      
    • systems_ran

      public static void systems_ran(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      ecs_metric_t systems_ran
      
    • observers_ran$layout

      public static final GroupLayout observers_ran$layout()
      Layout for field:
      ecs_metric_t observers_ran
      
    • observers_ran$offset

      public static final long observers_ran$offset()
      Offset for field:
      ecs_metric_t observers_ran
      
    • observers_ran

      public static MemorySegment observers_ran(MemorySegment struct)
      Getter for field:
      ecs_metric_t observers_ran
      
    • observers_ran

      public static void observers_ran(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      ecs_metric_t observers_ran
      
    • event_emit_count$layout

      public static final GroupLayout event_emit_count$layout()
      Layout for field:
      ecs_metric_t event_emit_count
      
    • event_emit_count$offset

      public static final long event_emit_count$offset()
      Offset for field:
      ecs_metric_t event_emit_count
      
    • event_emit_count

      public static MemorySegment event_emit_count(MemorySegment struct)
      Getter for field:
      ecs_metric_t event_emit_count
      
    • event_emit_count

      public static void event_emit_count(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      ecs_metric_t event_emit_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()