Package com.raylib
Class FilePathList
java.lang.Object
com.raylib.FilePathList
-
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.FilePathList
(int capacity, int count, MemorySegment paths) Construct with auto memory allocator and fields initialized as specifiedFilePathList
(MemorySegment memorySegment) Construct by wrapping around an already allocated MemorySegment, perhaps from another objectFilePathList
(SegmentAllocator arena) Construct with your owm memory allocator and fields not initializedFilePathList
(SegmentAllocator arena, int capacity, int count, MemorySegment paths) Construct with your own memory allocator and fields initialized as specified -
Method Summary
Modifier and TypeMethodDescriptionstatic FilePathList
allocateArray
(long elementCount) Allocate an array of FilePathListstatic FilePathList
allocateArray
(long elementCount, SegmentAllocator allocator) Allocate an array of FilePathListboolean
Equality is tested on basis of both wrapper objects must refer to same native memory location to be considered equalgetArrayElement
(int index) int
Filepaths max entriesint
getCount()
Filepaths entries countgetPaths()
Filepaths entriesint
hashCode()
setCapacity
(int value) Filepaths max entriessetCount
(int value) Filepaths entries countsetPaths
(MemorySegment value) Filepaths entries
-
Field Details
-
memorySegment
The native FFI MemorySegment that holds the data this object wraps.
-
-
Constructor Details
-
FilePathList
public FilePathList()Construct with auto memory allocator and fields initialized to zero. -
FilePathList
Construct with your owm memory allocator and fields not initialized -
FilePathList
Construct by wrapping around an already allocated MemorySegment, perhaps from another object -
FilePathList
Construct with auto memory allocator and fields initialized as specified- Parameters:
capacity
- Filepaths max entriescount
- Filepaths entries countpaths
- Filepaths entries
-
FilePathList
Construct with your own memory allocator and fields initialized as specified- Parameters:
capacity
- Filepaths max entriescount
- Filepaths entries countpaths
- Filepaths entries
-
-
Method Details
-
equals
-
hashCode
-
getArrayElement
-
allocateArray
Allocate an array of FilePathList -
allocateArray
Allocate an array of FilePathList -
getCapacity
public int getCapacity()Filepaths max entries -
setCapacity
Filepaths max entries -
getCount
public int getCount()Filepaths entries count -
setCount
Filepaths entries count -
getPaths
Filepaths entries -
setPaths
Filepaths entries
-