Package org.lwjgl.util.freetype
Class FT_Module_Class.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<FT_Module_Class.Buffer>
org.lwjgl.system.StructBuffer<FT_Module_Class,FT_Module_Class.Buffer>
org.lwjgl.util.freetype.FT_Module_Class.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<FT_Module_Class>
,NativeResource
,Pointer
- Enclosing class:
FT_Module_Class
public static class FT_Module_Class.Buffer
extends StructBuffer<FT_Module_Class,FT_Module_Class.Buffer>
implements NativeResource
An array of
FT_Module_Class
structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newFT_Module_Class.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescription@Nullable FT_Module_Requester
get_interface
(@Nullable FT_Module_RequesterI value) Sets the specified value to theget_interface
field.@Nullable FT_Module_Destructor
module_done
(@Nullable FT_Module_DestructorI value) Sets the specified value to themodule_done
field.long
module_flags
(long value) Sets the specified value to themodule_flags
field.@Nullable FT_Module_Constructor
module_init
(@Nullable FT_Module_ConstructorI value) Sets the specified value to themodule_init
field.@Nullable ByteBuffer
module_interface
(int capacity) module_interface
(@Nullable ByteBuffer value) Sets the address of the specifiedByteBuffer
to themodule_interface
field.module_name
(ByteBuffer value) Sets the address of the specified encoded string to themodule_name
field.long
module_requires
(long value) Sets the specified value to themodule_requires
field.long
module_size
(long value) Sets the specified value to themodule_size
field.long
module_version
(long value) Sets the specified value to themodule_version
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newFT_Module_Class.Buffer
instance backed by the specified container.Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by
FT_Module_Class.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
module_flags
public long module_flags()- Returns:
- the value of the
module_flags
field.
-
module_size
public long module_size()- Returns:
- the value of the
module_size
field.
-
module_name
- Returns:
- a
ByteBuffer
view of the null-terminated string pointed to by themodule_name
field.
-
module_nameString
- Returns:
- the null-terminated string pointed to by the
module_name
field.
-
module_version
public long module_version()- Returns:
- the value of the
module_version
field.
-
module_requires
public long module_requires()- Returns:
- the value of the
module_requires
field.
-
module_interface
- Returns:
- a
ByteBuffer
view of the data pointed to by themodule_interface
field.
-
module_init
- Returns:
- the value of the
module_init
field.
-
module_done
- Returns:
- the value of the
module_done
field.
-
get_interface
- Returns:
- the value of the
get_interface
field.
-
module_flags
Sets the specified value to themodule_flags
field. -
module_size
Sets the specified value to themodule_size
field. -
module_name
Sets the address of the specified encoded string to themodule_name
field. -
module_version
Sets the specified value to themodule_version
field. -
module_requires
Sets the specified value to themodule_requires
field. -
module_interface
Sets the address of the specifiedByteBuffer
to themodule_interface
field. -
module_init
Sets the specified value to themodule_init
field. -
module_done
Sets the specified value to themodule_done
field. -
get_interface
Sets the specified value to theget_interface
field.
-