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.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescription@Nullable FT_Module_Requesterget_interface(@Nullable FT_Module_RequesterI value) Sets the specified value to theget_interfacefield.@Nullable FT_Module_Destructormodule_done(@Nullable FT_Module_DestructorI value) Sets the specified value to themodule_donefield.longmodule_flags(long value) Sets the specified value to themodule_flagsfield.@Nullable FT_Module_Constructormodule_init(@Nullable FT_Module_ConstructorI value) Sets the specified value to themodule_initfield.@Nullable ByteBuffermodule_interface(int capacity) module_interface(@Nullable ByteBuffer value) Sets the address of the specifiedByteBufferto themodule_interfacefield.module_name(ByteBuffer value) Sets the address of the specified encoded string to themodule_namefield.longmodule_requires(long value) Sets the specified value to themodule_requiresfield.longmodule_size(long value) Sets the specified value to themodule_sizefield.longmodule_version(long value) Sets the specified value to themodule_versionfield.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods 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, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newFT_Module_Class.Bufferinstance 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_flagsfield.
-
module_size
public long module_size()- Returns:
- the value of the
module_sizefield.
-
module_name
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by themodule_namefield.
-
module_nameString
- Returns:
- the null-terminated string pointed to by the
module_namefield.
-
module_version
public long module_version()- Returns:
- the value of the
module_versionfield.
-
module_requires
public long module_requires()- Returns:
- the value of the
module_requiresfield.
-
module_interface
- Returns:
- a
ByteBufferview of the data pointed to by themodule_interfacefield.
-
module_init
- Returns:
- the value of the
module_initfield.
-
module_done
- Returns:
- the value of the
module_donefield.
-
get_interface
- Returns:
- the value of the
get_interfacefield.
-
module_flags
Sets the specified value to themodule_flagsfield. -
module_size
Sets the specified value to themodule_sizefield. -
module_name
Sets the address of the specified encoded string to themodule_namefield. -
module_version
Sets the specified value to themodule_versionfield. -
module_requires
Sets the specified value to themodule_requiresfield. -
module_interface
Sets the address of the specifiedByteBufferto themodule_interfacefield. -
module_init
Sets the specified value to themodule_initfield. -
module_done
Sets the specified value to themodule_donefield. -
get_interface
Sets the specified value to theget_interfacefield.
-