Class ecs_delete_empty_tables_desc_t

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

public class ecs_delete_empty_tables_desc_t extends Object
struct ecs_delete_empty_tables_desc_t {
    uint16_t clear_generation;
    uint16_t delete_generation;
    double time_budget_seconds;
}
  • Method Details

    • layout

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

      public static final ValueLayout.OfShort clear_generation$layout()
      Layout for field:
      uint16_t clear_generation
      
    • clear_generation$offset

      public static final long clear_generation$offset()
      Offset for field:
      uint16_t clear_generation
      
    • clear_generation

      public static short clear_generation(MemorySegment struct)
      Getter for field:
      uint16_t clear_generation
      
    • clear_generation

      public static void clear_generation(MemorySegment struct, short fieldValue)
      Setter for field:
      uint16_t clear_generation
      
    • delete_generation$layout

      public static final ValueLayout.OfShort delete_generation$layout()
      Layout for field:
      uint16_t delete_generation
      
    • delete_generation$offset

      public static final long delete_generation$offset()
      Offset for field:
      uint16_t delete_generation
      
    • delete_generation

      public static short delete_generation(MemorySegment struct)
      Getter for field:
      uint16_t delete_generation
      
    • delete_generation

      public static void delete_generation(MemorySegment struct, short fieldValue)
      Setter for field:
      uint16_t delete_generation
      
    • time_budget_seconds$layout

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

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

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

      public static void time_budget_seconds(MemorySegment struct, double fieldValue)
      Setter for field:
      double time_budget_seconds
      
    • 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()