Class ecs_world_stats_t.tables

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

public static class ecs_world_stats_t.tables extends Object
struct {
    ecs_metric_t count;
    ecs_metric_t empty_count;
    ecs_metric_t create_count;
    ecs_metric_t delete_count;
}
  • Method Details

    • layout

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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