Class ecs_each_iter_t

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

public class ecs_each_iter_t extends Object
struct ecs_each_iter_t {
    ecs_table_cache_iter_t it;
    ecs_id_t ids;
    ecs_entity_t sources;
    ecs_size_t sizes;
    int32_t columns;
    const ecs_table_record_t *trs;
}
  • Method Details

    • layout

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

      public static final GroupLayout it$layout()
      Layout for field:
      ecs_table_cache_iter_t it
      
    • it$offset

      public static final long it$offset()
      Offset for field:
      ecs_table_cache_iter_t it
      
    • it

      public static MemorySegment it(MemorySegment struct)
      Getter for field:
      ecs_table_cache_iter_t it
      
    • it

      public static void it(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      ecs_table_cache_iter_t it
      
    • ids$layout

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

      public static final long ids$offset()
      Offset for field:
      ecs_id_t ids
      
    • ids

      public static long ids(MemorySegment struct)
      Getter for field:
      ecs_id_t ids
      
    • ids

      public static void ids(MemorySegment struct, long fieldValue)
      Setter for field:
      ecs_id_t ids
      
    • sources$layout

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

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

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

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

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

      public static final long sizes$offset()
      Offset for field:
      ecs_size_t sizes
      
    • sizes

      public static int sizes(MemorySegment struct)
      Getter for field:
      ecs_size_t sizes
      
    • sizes

      public static void sizes(MemorySegment struct, int fieldValue)
      Setter for field:
      ecs_size_t sizes
      
    • columns$layout

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

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

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

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

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

      public static final long trs$offset()
      Offset for field:
      const ecs_table_record_t *trs
      
    • trs

      public static MemorySegment trs(MemorySegment struct)
      Getter for field:
      const ecs_table_record_t *trs
      
    • trs

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