Class AutomationEventList
java.lang.Object
com.raylib.AutomationEventList
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal MemorySegmentThe native FFI MemorySegment that holds the data this object wraps. -
Constructor Summary
ConstructorsConstructorDescriptionConstruct with auto memory allocator and fields initialized to zero.AutomationEventList(int capacity, int count, AutomationEvent events) Construct with auto memory allocator and fields initialized as specifiedAutomationEventList(MemorySegment memorySegment) Construct by wrapping around an already allocated MemorySegment, perhaps from another objectConstruct with your owm memory allocator and fields not initializedAutomationEventList(SegmentAllocator arena, int capacity, int count, AutomationEvent events) Construct with your own memory allocator and fields initialized as specified -
Method Summary
Modifier and TypeMethodDescriptionstatic AutomationEventListallocateArray(long elementCount) Allocate an array of AutomationEventListstatic AutomationEventListallocateArray(long elementCount, SegmentAllocator allocator) Allocate an array of AutomationEventListintcapacity()Events max entries (MAX_AUTOMATION_EVENTS)capacity(int value) Events max entries (MAX_AUTOMATION_EVENTS)intcount()Events entries countcount(int value) Events entries countbooleanEquality is tested on basis of both wrapper objects must refer to same native memory location to be considered equalevents()Events entriesevents(AutomationEvent value) Events entriesgetArrayElement(int index) intEvents max entries (MAX_AUTOMATION_EVENTS)intgetCount()Events entries countEvents entriesinthashCode()voidsetCapacity(int value) Events max entries (MAX_AUTOMATION_EVENTS)voidsetCount(int value) Events entries countvoidsetEvents(AutomationEvent value) Events entries
-
Field Details
-
memorySegment
The native FFI MemorySegment that holds the data this object wraps.
-
-
Constructor Details
-
AutomationEventList
public AutomationEventList()Construct with auto memory allocator and fields initialized to zero. -
AutomationEventList
Construct with your owm memory allocator and fields not initialized -
AutomationEventList
Construct by wrapping around an already allocated MemorySegment, perhaps from another object -
AutomationEventList
Construct with auto memory allocator and fields initialized as specified- Parameters:
capacity- Events max entries (MAX_AUTOMATION_EVENTS)count- Events entries countevents- Events entries
-
AutomationEventList
Construct with your own memory allocator and fields initialized as specified- Parameters:
capacity- Events max entries (MAX_AUTOMATION_EVENTS)count- Events entries countevents- Events entries
-
-
Method Details
-
equals
-
hashCode
-
getArrayElement
-
allocateArray
Allocate an array of AutomationEventList -
allocateArray
Allocate an array of AutomationEventList -
getCapacity
public int getCapacity()Events max entries (MAX_AUTOMATION_EVENTS) -
setCapacity
public void setCapacity(int value) Events max entries (MAX_AUTOMATION_EVENTS) -
capacity
public int capacity()Events max entries (MAX_AUTOMATION_EVENTS) -
capacity
Events max entries (MAX_AUTOMATION_EVENTS) -
getCount
public int getCount()Events entries count -
setCount
public void setCount(int value) Events entries count -
count
public int count()Events entries count -
count
Events entries count -
getEvents
Events entries -
setEvents
Events entries -
events
Events entries -
events
Events entries
-