Class AutomationEventList
java.lang.Object
com.raylib.AutomationEventList
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal MemorySegment
The 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 AutomationEventList
allocateArray
(long elementCount) Allocate an array of AutomationEventListstatic AutomationEventList
allocateArray
(long elementCount, SegmentAllocator allocator) Allocate an array of AutomationEventListint
capacity()
Events max entries (MAX_AUTOMATION_EVENTS)capacity
(int value) Events max entries (MAX_AUTOMATION_EVENTS)int
count()
Events entries countcount
(int value) Events entries countboolean
Equality 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) int
Events max entries (MAX_AUTOMATION_EVENTS)int
getCount()
Events entries countEvents entriesint
hashCode()
void
setCapacity
(int value) Events max entries (MAX_AUTOMATION_EVENTS)void
setCount
(int value) Events entries countvoid
setEvents
(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
-