Class AutomationEventList

java.lang.Object
com.raylib.AutomationEventList

public class AutomationEventList extends Object
Automation event list
  • Field Details

    • memorySegment

      public final MemorySegment 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

      public AutomationEventList(SegmentAllocator arena)
      Construct with your owm memory allocator and fields not initialized
    • AutomationEventList

      public AutomationEventList(MemorySegment memorySegment)
      Construct by wrapping around an already allocated MemorySegment, perhaps from another object
    • AutomationEventList

      public AutomationEventList(int capacity, int count, AutomationEvent events)
      Construct with auto memory allocator and fields initialized as specified
      Parameters:
      capacity - Events max entries (MAX_AUTOMATION_EVENTS)
      count - Events entries count
      events - Events entries
    • AutomationEventList

      public AutomationEventList(SegmentAllocator arena, int capacity, int count, AutomationEvent events)
      Construct with your own memory allocator and fields initialized as specified
      Parameters:
      capacity - Events max entries (MAX_AUTOMATION_EVENTS)
      count - Events entries count
      events - Events entries
  • Method Details

    • equals

      public boolean equals(Object o)
      Equality is tested on basis of both wrapper objects must refer to same native memory location to be considered equal
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getArrayElement

      public AutomationEventList getArrayElement(int index)
    • allocateArray

      public static AutomationEventList allocateArray(long elementCount, SegmentAllocator allocator)
      Allocate an array of AutomationEventList
    • allocateArray

      public static AutomationEventList allocateArray(long elementCount)
      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

      public AutomationEventList capacity(int value)
      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

      public AutomationEventList count(int value)
      Events entries count
    • getEvents

      public AutomationEvent getEvents()
      Events entries
    • setEvents

      public void setEvents(AutomationEvent value)
      Events entries
    • events

      public AutomationEvent events()
      Events entries
    • events

      public AutomationEventList events(AutomationEvent value)
      Events entries