Class ecs_world_stats_t.commands

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

public static class ecs_world_stats_t.commands extends Object
struct {
    ecs_metric_t add_count;
    ecs_metric_t remove_count;
    ecs_metric_t delete_count;
    ecs_metric_t clear_count;
    ecs_metric_t set_count;
    ecs_metric_t ensure_count;
    ecs_metric_t modified_count;
    ecs_metric_t other_count;
    ecs_metric_t discard_count;
    ecs_metric_t batched_entity_count;
    ecs_metric_t batched_count;
}
  • Method Details

    • layout

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

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

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

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

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

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

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

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

      public static void remove_count(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      ecs_metric_t remove_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
      
    • clear_count$layout

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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