Package com.raylib
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 AutomationEventListboolean
Equality is tested on basis of both wrapper objects must refer to same native memory location to be considered equalgetArrayElement
(int index) int
Events max entries (MAX_AUTOMATION_EVENTS)int
getCount()
Events entries countEvents entriesint
hashCode()
setCapacity
(int value) Events max entries (MAX_AUTOMATION_EVENTS)setCount
(int value) Events entries countsetEvents
(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
Events max entries (MAX_AUTOMATION_EVENTS) -
getCount
public int getCount()Events entries count -
setCount
Events entries count -
getEvents
Events entries -
setEvents
Events entries
-