Package org.lwjgl.util.freetype
Class FT_Incremental_Interface
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
public class FT_Incremental_Interface
extends Struct<FT_Incremental_Interface>
implements NativeResource
struct FT_Incremental_InterfaceRec {
{@link FT_Incremental_Funcs FT_Incremental_FuncsRec} const * funcs;
FT_Incremental object;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionFT_Incremental_Interface(ByteBuffer container) Creates aFT_Incremental_Interfaceinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic FT_Incremental_Interfacecalloc()Returns a newFT_Incremental_Interfaceinstance allocated withmemCalloc.calloc(int capacity) Returns a newFT_Incremental_Interface.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newFT_Incremental_Interface.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static FT_Incremental_Interfacecalloc(MemoryStack stack) Returns a newFT_Incremental_Interfaceinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static FT_Incremental_Interfacecreate()Returns a newFT_Incremental_Interfaceinstance allocated withBufferUtils.create(int capacity) Returns a newFT_Incremental_Interface.Bufferinstance allocated withBufferUtils.static FT_Incremental_Interfacecreate(long address) Returns a newFT_Incremental_Interfaceinstance for the specified memory address.create(long address, int capacity) Create aFT_Incremental_Interface.Bufferinstance at the specified memory.static @Nullable FT_Incremental_InterfacecreateSafe(long address) static @Nullable FT_Incremental_Interface.BuffercreateSafe(long address, int capacity) funcs()funcs(FT_Incremental_Funcs value) Sets the address of the specifiedFT_Incremental_Funcsto thefuncsfield.static FT_Incremental_Interfacemalloc()Returns a newFT_Incremental_Interfaceinstance allocated withmemAlloc.malloc(int capacity) Returns a newFT_Incremental_Interface.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newFT_Incremental_Interface.Bufferinstance allocated on the specifiedMemoryStack.static FT_Incremental_Interfacemalloc(MemoryStack stack) Returns a newFT_Incremental_Interfaceinstance allocated on the specifiedMemoryStack.static FT_Incremental_Funcsnfuncs(long struct) Unsafe version offuncs().static voidnfuncs(long struct, FT_Incremental_Funcs value) Unsafe version offuncs.static longnobject(long struct) Unsafe version ofobject().static voidnobject(long struct, long value) Unsafe version ofobject.longobject()object(long value) Sets the specified value to theobjectfield.set(FT_Incremental_Funcs funcs, long object) Initializes this struct with the specified values.Copies the specified struct data to this struct.intsizeof()Returnssizeof(struct).static voidvalidate(long struct) Validates pointer members that should not beNULL.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
FUNCS
public static final int FUNCSThe struct member offsets. -
OBJECT
public static final int OBJECTThe struct member offsets.
-
-
Constructor Details
-
FT_Incremental_Interface
Creates aFT_Incremental_Interfaceinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<FT_Incremental_Interface>
-
funcs
- Returns:
- a
FT_Incremental_Funcsview of the struct pointed to by thefuncsfield.
-
object
public long object()- Returns:
- the value of the
objectfield.
-
funcs
Sets the address of the specifiedFT_Incremental_Funcsto thefuncsfield. -
object
Sets the specified value to theobjectfield. -
set
Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newFT_Incremental_Interfaceinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newFT_Incremental_Interfaceinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newFT_Incremental_Interfaceinstance allocated withBufferUtils. -
create
Returns a newFT_Incremental_Interfaceinstance for the specified memory address. -
createSafe
-
malloc
Returns a newFT_Incremental_Interface.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newFT_Incremental_Interface.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newFT_Incremental_Interface.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aFT_Incremental_Interface.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newFT_Incremental_Interfaceinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newFT_Incremental_Interfaceinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newFT_Incremental_Interface.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newFT_Incremental_Interface.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nfuncs
Unsafe version offuncs(). -
nobject
public static long nobject(long struct) Unsafe version ofobject(). -
nfuncs
Unsafe version offuncs. -
nobject
public static void nobject(long struct, long value) Unsafe version ofobject. -
validate
public static void validate(long struct) Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-