Class ecs_world_info_t

java.lang.Object
com.github.elebras1.flecs.ecs_world_info_t

public class ecs_world_info_t extends Object
struct ecs_world_info_t {
    ecs_entity_t last_component_id;
    ecs_entity_t min_id;
    ecs_entity_t max_id;
    float delta_time_raw;
    float delta_time;
    float time_scale;
    float target_fps;
    float frame_time_total;
    float system_time_total;
    float emit_time_total;
    float merge_time_total;
    float rematch_time_total;
    double world_time_total;
    double world_time_total_raw;
    int64_t frame_count_total;
    int64_t merge_count_total;
    int64_t eval_comp_monitors_total;
    int64_t rematch_count_total;
    int64_t id_create_total;
    int64_t id_delete_total;
    int64_t table_create_total;
    int64_t table_delete_total;
    int64_t pipeline_build_count_total;
    int64_t systems_ran_total;
    int64_t observers_ran_total;
    int64_t queries_ran_total;
    int32_t tag_id_count;
    int32_t component_id_count;
    int32_t pair_id_count;
    int32_t table_count;
    uint32_t creation_time;
    struct {
        int64_t add_count;
        int64_t remove_count;
        int64_t delete_count;
        int64_t clear_count;
        int64_t set_count;
        int64_t ensure_count;
        int64_t modified_count;
        int64_t discard_count;
        int64_t event_count;
        int64_t other_count;
        int64_t batched_entity_count;
        int64_t batched_command_count;
    } cmd;
    const char *name_prefix;
}
  • Method Details

    • layout

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

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

      public static final long last_component_id$offset()
      Offset for field:
      ecs_entity_t last_component_id
      
    • last_component_id

      public static long last_component_id(MemorySegment struct)
      Getter for field:
      ecs_entity_t last_component_id
      
    • last_component_id

      public static void last_component_id(MemorySegment struct, long fieldValue)
      Setter for field:
      ecs_entity_t last_component_id
      
    • min_id$layout

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

      public static final long min_id$offset()
      Offset for field:
      ecs_entity_t min_id
      
    • min_id

      public static long min_id(MemorySegment struct)
      Getter for field:
      ecs_entity_t min_id
      
    • min_id

      public static void min_id(MemorySegment struct, long fieldValue)
      Setter for field:
      ecs_entity_t min_id
      
    • max_id$layout

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

      public static final long max_id$offset()
      Offset for field:
      ecs_entity_t max_id
      
    • max_id

      public static long max_id(MemorySegment struct)
      Getter for field:
      ecs_entity_t max_id
      
    • max_id

      public static void max_id(MemorySegment struct, long fieldValue)
      Setter for field:
      ecs_entity_t max_id
      
    • delta_time_raw$layout

      public static final ValueLayout.OfFloat delta_time_raw$layout()
      Layout for field:
      float delta_time_raw
      
    • delta_time_raw$offset

      public static final long delta_time_raw$offset()
      Offset for field:
      float delta_time_raw
      
    • delta_time_raw

      public static float delta_time_raw(MemorySegment struct)
      Getter for field:
      float delta_time_raw
      
    • delta_time_raw

      public static void delta_time_raw(MemorySegment struct, float fieldValue)
      Setter for field:
      float delta_time_raw
      
    • delta_time$layout

      public static final ValueLayout.OfFloat delta_time$layout()
      Layout for field:
      float delta_time
      
    • delta_time$offset

      public static final long delta_time$offset()
      Offset for field:
      float delta_time
      
    • delta_time

      public static float delta_time(MemorySegment struct)
      Getter for field:
      float delta_time
      
    • delta_time

      public static void delta_time(MemorySegment struct, float fieldValue)
      Setter for field:
      float delta_time
      
    • time_scale$layout

      public static final ValueLayout.OfFloat time_scale$layout()
      Layout for field:
      float time_scale
      
    • time_scale$offset

      public static final long time_scale$offset()
      Offset for field:
      float time_scale
      
    • time_scale

      public static float time_scale(MemorySegment struct)
      Getter for field:
      float time_scale
      
    • time_scale

      public static void time_scale(MemorySegment struct, float fieldValue)
      Setter for field:
      float time_scale
      
    • target_fps$layout

      public static final ValueLayout.OfFloat target_fps$layout()
      Layout for field:
      float target_fps
      
    • target_fps$offset

      public static final long target_fps$offset()
      Offset for field:
      float target_fps
      
    • target_fps

      public static float target_fps(MemorySegment struct)
      Getter for field:
      float target_fps
      
    • target_fps

      public static void target_fps(MemorySegment struct, float fieldValue)
      Setter for field:
      float target_fps
      
    • frame_time_total$layout

      public static final ValueLayout.OfFloat frame_time_total$layout()
      Layout for field:
      float frame_time_total
      
    • frame_time_total$offset

      public static final long frame_time_total$offset()
      Offset for field:
      float frame_time_total
      
    • frame_time_total

      public static float frame_time_total(MemorySegment struct)
      Getter for field:
      float frame_time_total
      
    • frame_time_total

      public static void frame_time_total(MemorySegment struct, float fieldValue)
      Setter for field:
      float frame_time_total
      
    • system_time_total$layout

      public static final ValueLayout.OfFloat system_time_total$layout()
      Layout for field:
      float system_time_total
      
    • system_time_total$offset

      public static final long system_time_total$offset()
      Offset for field:
      float system_time_total
      
    • system_time_total

      public static float system_time_total(MemorySegment struct)
      Getter for field:
      float system_time_total
      
    • system_time_total

      public static void system_time_total(MemorySegment struct, float fieldValue)
      Setter for field:
      float system_time_total
      
    • emit_time_total$layout

      public static final ValueLayout.OfFloat emit_time_total$layout()
      Layout for field:
      float emit_time_total
      
    • emit_time_total$offset

      public static final long emit_time_total$offset()
      Offset for field:
      float emit_time_total
      
    • emit_time_total

      public static float emit_time_total(MemorySegment struct)
      Getter for field:
      float emit_time_total
      
    • emit_time_total

      public static void emit_time_total(MemorySegment struct, float fieldValue)
      Setter for field:
      float emit_time_total
      
    • merge_time_total$layout

      public static final ValueLayout.OfFloat merge_time_total$layout()
      Layout for field:
      float merge_time_total
      
    • merge_time_total$offset

      public static final long merge_time_total$offset()
      Offset for field:
      float merge_time_total
      
    • merge_time_total

      public static float merge_time_total(MemorySegment struct)
      Getter for field:
      float merge_time_total
      
    • merge_time_total

      public static void merge_time_total(MemorySegment struct, float fieldValue)
      Setter for field:
      float merge_time_total
      
    • rematch_time_total$layout

      public static final ValueLayout.OfFloat rematch_time_total$layout()
      Layout for field:
      float rematch_time_total
      
    • rematch_time_total$offset

      public static final long rematch_time_total$offset()
      Offset for field:
      float rematch_time_total
      
    • rematch_time_total

      public static float rematch_time_total(MemorySegment struct)
      Getter for field:
      float rematch_time_total
      
    • rematch_time_total

      public static void rematch_time_total(MemorySegment struct, float fieldValue)
      Setter for field:
      float rematch_time_total
      
    • world_time_total$layout

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static final long tag_id_count$offset()
      Offset for field:
      int32_t tag_id_count
      
    • tag_id_count

      public static int tag_id_count(MemorySegment struct)
      Getter for field:
      int32_t tag_id_count
      
    • tag_id_count

      public static void tag_id_count(MemorySegment struct, int fieldValue)
      Setter for field:
      int32_t tag_id_count
      
    • component_id_count$layout

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

      public static final long component_id_count$offset()
      Offset for field:
      int32_t component_id_count
      
    • component_id_count

      public static int component_id_count(MemorySegment struct)
      Getter for field:
      int32_t component_id_count
      
    • component_id_count

      public static void component_id_count(MemorySegment struct, int fieldValue)
      Setter for field:
      int32_t component_id_count
      
    • pair_id_count$layout

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

      public static final long pair_id_count$offset()
      Offset for field:
      int32_t pair_id_count
      
    • pair_id_count

      public static int pair_id_count(MemorySegment struct)
      Getter for field:
      int32_t pair_id_count
      
    • pair_id_count

      public static void pair_id_count(MemorySegment struct, int fieldValue)
      Setter for field:
      int32_t pair_id_count
      
    • table_count$layout

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

      public static final long table_count$offset()
      Offset for field:
      int32_t table_count
      
    • table_count

      public static int table_count(MemorySegment struct)
      Getter for field:
      int32_t table_count
      
    • table_count

      public static void table_count(MemorySegment struct, int fieldValue)
      Setter for field:
      int32_t table_count
      
    • creation_time$layout

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

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

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

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

      public static final GroupLayout cmd$layout()
      Layout for field:
      struct {
          int64_t add_count;
          int64_t remove_count;
          int64_t delete_count;
          int64_t clear_count;
          int64_t set_count;
          int64_t ensure_count;
          int64_t modified_count;
          int64_t discard_count;
          int64_t event_count;
          int64_t other_count;
          int64_t batched_entity_count;
          int64_t batched_command_count;
      } cmd
      
    • cmd$offset

      public static final long cmd$offset()
      Offset for field:
      struct {
          int64_t add_count;
          int64_t remove_count;
          int64_t delete_count;
          int64_t clear_count;
          int64_t set_count;
          int64_t ensure_count;
          int64_t modified_count;
          int64_t discard_count;
          int64_t event_count;
          int64_t other_count;
          int64_t batched_entity_count;
          int64_t batched_command_count;
      } cmd
      
    • cmd

      public static MemorySegment cmd(MemorySegment struct)
      Getter for field:
      struct {
          int64_t add_count;
          int64_t remove_count;
          int64_t delete_count;
          int64_t clear_count;
          int64_t set_count;
          int64_t ensure_count;
          int64_t modified_count;
          int64_t discard_count;
          int64_t event_count;
          int64_t other_count;
          int64_t batched_entity_count;
          int64_t batched_command_count;
      } cmd
      
    • cmd

      public static void cmd(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      struct {
          int64_t add_count;
          int64_t remove_count;
          int64_t delete_count;
          int64_t clear_count;
          int64_t set_count;
          int64_t ensure_count;
          int64_t modified_count;
          int64_t discard_count;
          int64_t event_count;
          int64_t other_count;
          int64_t batched_entity_count;
          int64_t batched_command_count;
      } cmd
      
    • name_prefix$layout

      public static final AddressLayout name_prefix$layout()
      Layout for field:
      const char *name_prefix
      
    • name_prefix$offset

      public static final long name_prefix$offset()
      Offset for field:
      const char *name_prefix
      
    • name_prefix

      public static MemorySegment name_prefix(MemorySegment struct)
      Getter for field:
      const char *name_prefix
      
    • name_prefix

      public static void name_prefix(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      const char *name_prefix
      
    • 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()