Class ecs_world_info_t.cmd
java.lang.Object
com.github.elebras1.flecs.ecs_world_info_t.cmd
- Enclosing class:
ecs_world_info_t
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 Summary
Modifier and TypeMethodDescriptionstatic longadd_count(MemorySegment struct) Getter for field:int64_t add_countstatic voidadd_count(MemorySegment struct, long fieldValue) Setter for field:int64_t add_countstatic final ValueLayout.OfLongLayout for field:int64_t add_countstatic final longOffset for field:int64_t add_countstatic MemorySegmentallocate(SegmentAllocator allocator) Allocate a segment of sizelayout().byteSize()usingallocatorstatic MemorySegmentallocateArray(long elementCount, SegmentAllocator allocator) Allocate an array of sizeelementCountusingallocator.static MemorySegmentasSlice(MemorySegment array, long index) Obtains a slice ofarrayParamwhich selects the array element atindex.static longbatched_command_count(MemorySegment struct) Getter for field:int64_t batched_command_countstatic voidbatched_command_count(MemorySegment struct, long fieldValue) Setter for field:int64_t batched_command_countstatic final ValueLayout.OfLongLayout for field:int64_t batched_command_countstatic final longOffset for field:int64_t batched_command_countstatic longbatched_entity_count(MemorySegment struct) Getter for field:int64_t batched_entity_countstatic voidbatched_entity_count(MemorySegment struct, long fieldValue) Setter for field:int64_t batched_entity_countstatic final ValueLayout.OfLongLayout for field:int64_t batched_entity_countstatic final longOffset for field:int64_t batched_entity_countstatic longclear_count(MemorySegment struct) Getter for field:int64_t clear_countstatic voidclear_count(MemorySegment struct, long fieldValue) Setter for field:int64_t clear_countstatic final ValueLayout.OfLongLayout for field:int64_t clear_countstatic final longOffset for field:int64_t clear_countstatic longdelete_count(MemorySegment struct) Getter for field:int64_t delete_countstatic voiddelete_count(MemorySegment struct, long fieldValue) Setter for field:int64_t delete_countstatic final ValueLayout.OfLongLayout for field:int64_t delete_countstatic final longOffset for field:int64_t delete_countstatic longdiscard_count(MemorySegment struct) Getter for field:int64_t discard_countstatic voiddiscard_count(MemorySegment struct, long fieldValue) Setter for field:int64_t discard_countstatic final ValueLayout.OfLongLayout for field:int64_t discard_countstatic final longOffset for field:int64_t discard_countstatic longensure_count(MemorySegment struct) Getter for field:int64_t ensure_countstatic voidensure_count(MemorySegment struct, long fieldValue) Setter for field:int64_t ensure_countstatic final ValueLayout.OfLongLayout for field:int64_t ensure_countstatic final longOffset for field:int64_t ensure_countstatic longevent_count(MemorySegment struct) Getter for field:int64_t event_countstatic voidevent_count(MemorySegment struct, long fieldValue) Setter for field:int64_t event_countstatic final ValueLayout.OfLongLayout for field:int64_t event_countstatic final longOffset for field:int64_t event_countstatic final GroupLayoutlayout()The layout of this structstatic longmodified_count(MemorySegment struct) Getter for field:int64_t modified_countstatic voidmodified_count(MemorySegment struct, long fieldValue) Setter for field:int64_t modified_countstatic final ValueLayout.OfLongLayout for field:int64_t modified_countstatic final longOffset for field:int64_t modified_countstatic longother_count(MemorySegment struct) Getter for field:int64_t other_countstatic voidother_count(MemorySegment struct, long fieldValue) Setter for field:int64_t other_countstatic final ValueLayout.OfLongLayout for field:int64_t other_countstatic final longOffset for field:int64_t other_countstatic MemorySegmentreinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static MemorySegmentreinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static longremove_count(MemorySegment struct) Getter for field:int64_t remove_countstatic voidremove_count(MemorySegment struct, long fieldValue) Setter for field:int64_t remove_countstatic final ValueLayout.OfLongLayout for field:int64_t remove_countstatic final longOffset for field:int64_t remove_countstatic longset_count(MemorySegment struct) Getter for field:int64_t set_countstatic voidset_count(MemorySegment struct, long fieldValue) Setter for field:int64_t set_countstatic final ValueLayout.OfLongLayout for field:int64_t set_countstatic final longOffset for field:int64_t set_countstatic longsizeof()The size (in bytes) of this struct
-
Method Details
-
layout
The layout of this struct -
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
Getter for field:int64_t add_count -
add_count
Setter for field:int64_t add_count -
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
Getter for field:int64_t remove_count -
remove_count
Setter for field:int64_t remove_count -
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
Getter for field:int64_t delete_count -
delete_count
Setter for field:int64_t delete_count -
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
Getter for field:int64_t clear_count -
clear_count
Setter for field:int64_t clear_count -
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
Getter for field:int64_t set_count -
set_count
Setter for field:int64_t set_count -
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
Getter for field:int64_t ensure_count -
ensure_count
Setter for field:int64_t ensure_count -
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
Getter for field:int64_t modified_count -
modified_count
Setter for field:int64_t modified_count -
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
Getter for field:int64_t discard_count -
discard_count
Setter for field:int64_t discard_count -
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
Getter for field:int64_t event_count -
event_count
Setter for field:int64_t event_count -
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
Getter for field:int64_t other_count -
other_count
Setter for field:int64_t other_count -
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
Getter for field:int64_t batched_entity_count -
batched_entity_count
Setter for field:int64_t batched_entity_count -
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
Getter for field:int64_t batched_command_count -
batched_command_count
Setter for field:int64_t batched_command_count -
asSlice
Obtains a slice ofarrayParamwhich selects the array element atindex. The returned segment has addressarrayParam.address() + index * layout().byteSize() -
sizeof
public static long sizeof()The size (in bytes) of this struct -
allocate
Allocate a segment of sizelayout().byteSize()usingallocator -
allocateArray
Allocate an array of sizeelementCountusingallocator. The returned segment has sizeelementCount * layout().byteSize(). -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizelayout().byteSize() -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizeelementCount * layout().byteSize()
-