Class ecs_world_info_t.cmd

java.lang.Object
com.github.elebras1.flecs.ecs_world_info_t.cmd
Enclosing class:
ecs_world_info_t

public static class ecs_world_info_t.cmd extends Object
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;
}
  • Method Details

    • layout

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static void batched_command_count(MemorySegment struct, long fieldValue)
      Setter for field:
      int64_t batched_command_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()