code
stringlengths
11
173k
docstring
stringlengths
2
593k
func_name
stringlengths
2
189
language
stringclasses
1 value
repo
stringclasses
833 values
path
stringlengths
11
294
url
stringlengths
60
339
license
stringclasses
4 values
public FT_Stream pathname(FT_StreamDesc value) { npathname(address(), value); return this; }
Creates a {@code FT_Stream} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_Stream(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code base} field. @NativeType("unsigned char *") public @Nullable ByteBuffer base() { return nbase(address()); } /** @return the value of the {@code size} field. @NativeType("unsigned long") public long size() { return nsize(address()); } /** @return the value of the {@code pos} field. @NativeType("unsigned long") public long pos() { return npos(address()); } /** @return a {@link FT_StreamDesc} view of the {@code descriptor} field. public FT_StreamDesc descriptor() { return ndescriptor(address()); } /** @return a {@link FT_StreamDesc} view of the {@code pathname} field. public FT_StreamDesc pathname() { return npathname(address()); } /** @return the value of the {@code read} field. public @Nullable FT_Stream_IoFunc read() { return nread(address()); } /** @return the value of the {@code close} field. public @Nullable FT_Stream_CloseFunc close$() { return nclose$(address()); } /** Sets the address of the specified {@link ByteBuffer} to the {@code base} field. public FT_Stream base(@Nullable @NativeType("unsigned char *") ByteBuffer value) { nbase(address(), value); return this; } /** Sets the specified value to the {@code size} field. public FT_Stream size(@NativeType("unsigned long") long value) { nsize(address(), value); return this; } /** Sets the specified value to the {@code pos} field. public FT_Stream pos(@NativeType("unsigned long") long value) { npos(address(), value); return this; } /** Copies the specified {@link FT_StreamDesc} to the {@code descriptor} field. public FT_Stream descriptor(FT_StreamDesc value) { ndescriptor(address(), value); return this; } /** Passes the {@code descriptor} field to the specified {@link java.util.function.Consumer Consumer}. public FT_Stream descriptor(java.util.function.Consumer<FT_StreamDesc> consumer) { consumer.accept(descriptor()); return this; } /** Copies the specified {@link FT_StreamDesc} to the {@code pathname} field.
FT_Stream::pathname
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public FT_Stream pathname(java.util.function.Consumer<FT_StreamDesc> consumer) { consumer.accept(pathname()); return this; }
Creates a {@code FT_Stream} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_Stream(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code base} field. @NativeType("unsigned char *") public @Nullable ByteBuffer base() { return nbase(address()); } /** @return the value of the {@code size} field. @NativeType("unsigned long") public long size() { return nsize(address()); } /** @return the value of the {@code pos} field. @NativeType("unsigned long") public long pos() { return npos(address()); } /** @return a {@link FT_StreamDesc} view of the {@code descriptor} field. public FT_StreamDesc descriptor() { return ndescriptor(address()); } /** @return a {@link FT_StreamDesc} view of the {@code pathname} field. public FT_StreamDesc pathname() { return npathname(address()); } /** @return the value of the {@code read} field. public @Nullable FT_Stream_IoFunc read() { return nread(address()); } /** @return the value of the {@code close} field. public @Nullable FT_Stream_CloseFunc close$() { return nclose$(address()); } /** Sets the address of the specified {@link ByteBuffer} to the {@code base} field. public FT_Stream base(@Nullable @NativeType("unsigned char *") ByteBuffer value) { nbase(address(), value); return this; } /** Sets the specified value to the {@code size} field. public FT_Stream size(@NativeType("unsigned long") long value) { nsize(address(), value); return this; } /** Sets the specified value to the {@code pos} field. public FT_Stream pos(@NativeType("unsigned long") long value) { npos(address(), value); return this; } /** Copies the specified {@link FT_StreamDesc} to the {@code descriptor} field. public FT_Stream descriptor(FT_StreamDesc value) { ndescriptor(address(), value); return this; } /** Passes the {@code descriptor} field to the specified {@link java.util.function.Consumer Consumer}. public FT_Stream descriptor(java.util.function.Consumer<FT_StreamDesc> consumer) { consumer.accept(descriptor()); return this; } /** Copies the specified {@link FT_StreamDesc} to the {@code pathname} field. public FT_Stream pathname(FT_StreamDesc value) { npathname(address(), value); return this; } /** Passes the {@code pathname} field to the specified {@link java.util.function.Consumer Consumer}.
FT_Stream::pathname
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public FT_Stream read(@Nullable @NativeType("FT_Stream_IoFunc") FT_Stream_IoFuncI value) { nread(address(), value); return this; }
Creates a {@code FT_Stream} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_Stream(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code base} field. @NativeType("unsigned char *") public @Nullable ByteBuffer base() { return nbase(address()); } /** @return the value of the {@code size} field. @NativeType("unsigned long") public long size() { return nsize(address()); } /** @return the value of the {@code pos} field. @NativeType("unsigned long") public long pos() { return npos(address()); } /** @return a {@link FT_StreamDesc} view of the {@code descriptor} field. public FT_StreamDesc descriptor() { return ndescriptor(address()); } /** @return a {@link FT_StreamDesc} view of the {@code pathname} field. public FT_StreamDesc pathname() { return npathname(address()); } /** @return the value of the {@code read} field. public @Nullable FT_Stream_IoFunc read() { return nread(address()); } /** @return the value of the {@code close} field. public @Nullable FT_Stream_CloseFunc close$() { return nclose$(address()); } /** Sets the address of the specified {@link ByteBuffer} to the {@code base} field. public FT_Stream base(@Nullable @NativeType("unsigned char *") ByteBuffer value) { nbase(address(), value); return this; } /** Sets the specified value to the {@code size} field. public FT_Stream size(@NativeType("unsigned long") long value) { nsize(address(), value); return this; } /** Sets the specified value to the {@code pos} field. public FT_Stream pos(@NativeType("unsigned long") long value) { npos(address(), value); return this; } /** Copies the specified {@link FT_StreamDesc} to the {@code descriptor} field. public FT_Stream descriptor(FT_StreamDesc value) { ndescriptor(address(), value); return this; } /** Passes the {@code descriptor} field to the specified {@link java.util.function.Consumer Consumer}. public FT_Stream descriptor(java.util.function.Consumer<FT_StreamDesc> consumer) { consumer.accept(descriptor()); return this; } /** Copies the specified {@link FT_StreamDesc} to the {@code pathname} field. public FT_Stream pathname(FT_StreamDesc value) { npathname(address(), value); return this; } /** Passes the {@code pathname} field to the specified {@link java.util.function.Consumer Consumer}. public FT_Stream pathname(java.util.function.Consumer<FT_StreamDesc> consumer) { consumer.accept(pathname()); return this; } /** Sets the specified value to the {@code read} field.
FT_Stream::read
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public FT_Stream set( @Nullable ByteBuffer base, long size, long pos, FT_StreamDesc descriptor, FT_StreamDesc pathname, @Nullable FT_Stream_IoFuncI read, @Nullable FT_Stream_CloseFuncI close$ ) { base(base); size(size); pos(pos); descriptor(descriptor); pathname(pathname); read(read); close$(close$); return this; }
Creates a {@code FT_Stream} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_Stream(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code base} field. @NativeType("unsigned char *") public @Nullable ByteBuffer base() { return nbase(address()); } /** @return the value of the {@code size} field. @NativeType("unsigned long") public long size() { return nsize(address()); } /** @return the value of the {@code pos} field. @NativeType("unsigned long") public long pos() { return npos(address()); } /** @return a {@link FT_StreamDesc} view of the {@code descriptor} field. public FT_StreamDesc descriptor() { return ndescriptor(address()); } /** @return a {@link FT_StreamDesc} view of the {@code pathname} field. public FT_StreamDesc pathname() { return npathname(address()); } /** @return the value of the {@code read} field. public @Nullable FT_Stream_IoFunc read() { return nread(address()); } /** @return the value of the {@code close} field. public @Nullable FT_Stream_CloseFunc close$() { return nclose$(address()); } /** Sets the address of the specified {@link ByteBuffer} to the {@code base} field. public FT_Stream base(@Nullable @NativeType("unsigned char *") ByteBuffer value) { nbase(address(), value); return this; } /** Sets the specified value to the {@code size} field. public FT_Stream size(@NativeType("unsigned long") long value) { nsize(address(), value); return this; } /** Sets the specified value to the {@code pos} field. public FT_Stream pos(@NativeType("unsigned long") long value) { npos(address(), value); return this; } /** Copies the specified {@link FT_StreamDesc} to the {@code descriptor} field. public FT_Stream descriptor(FT_StreamDesc value) { ndescriptor(address(), value); return this; } /** Passes the {@code descriptor} field to the specified {@link java.util.function.Consumer Consumer}. public FT_Stream descriptor(java.util.function.Consumer<FT_StreamDesc> consumer) { consumer.accept(descriptor()); return this; } /** Copies the specified {@link FT_StreamDesc} to the {@code pathname} field. public FT_Stream pathname(FT_StreamDesc value) { npathname(address(), value); return this; } /** Passes the {@code pathname} field to the specified {@link java.util.function.Consumer Consumer}. public FT_Stream pathname(java.util.function.Consumer<FT_StreamDesc> consumer) { consumer.accept(pathname()); return this; } /** Sets the specified value to the {@code read} field. public FT_Stream read(@Nullable @NativeType("FT_Stream_IoFunc") FT_Stream_IoFuncI value) { nread(address(), value); return this; } /** Sets the specified value to the {@code close} field. public FT_Stream close$(@Nullable @NativeType("FT_Stream_CloseFunc") FT_Stream_CloseFuncI value) { nclose$(address(), value); return this; } /** Initializes this struct with the specified values.
FT_Stream::set
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public static FT_Stream malloc() { return new FT_Stream(nmemAllocChecked(SIZEOF), null); }
Copies the specified struct data to this struct. @param src the source struct @return this struct public FT_Stream set(FT_Stream src) { memCopy(src.address(), address(), SIZEOF); return this; } // ----------------------------------- /** Returns a new {@code FT_Stream} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
FT_Stream::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public static FT_Stream calloc() { return new FT_Stream(nmemCallocChecked(1, SIZEOF), null); }
Copies the specified struct data to this struct. @param src the source struct @return this struct public FT_Stream set(FT_Stream src) { memCopy(src.address(), address(), SIZEOF); return this; } // ----------------------------------- /** Returns a new {@code FT_Stream} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_Stream malloc() { return new FT_Stream(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_Stream} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
FT_Stream::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public static FT_Stream create() { ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF); return new FT_Stream(memAddress(container), container); }
Copies the specified struct data to this struct. @param src the source struct @return this struct public FT_Stream set(FT_Stream src) { memCopy(src.address(), address(), SIZEOF); return this; } // ----------------------------------- /** Returns a new {@code FT_Stream} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_Stream malloc() { return new FT_Stream(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_Stream} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. public static FT_Stream calloc() { return new FT_Stream(nmemCallocChecked(1, SIZEOF), null); } /** Returns a new {@code FT_Stream} instance allocated with {@link BufferUtils}.
FT_Stream::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public static FT_Stream create(long address) { return new FT_Stream(address, null); }
Copies the specified struct data to this struct. @param src the source struct @return this struct public FT_Stream set(FT_Stream src) { memCopy(src.address(), address(), SIZEOF); return this; } // ----------------------------------- /** Returns a new {@code FT_Stream} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_Stream malloc() { return new FT_Stream(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_Stream} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. public static FT_Stream calloc() { return new FT_Stream(nmemCallocChecked(1, SIZEOF), null); } /** Returns a new {@code FT_Stream} instance allocated with {@link BufferUtils}. public static FT_Stream create() { ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF); return new FT_Stream(memAddress(container), container); } /** Returns a new {@code FT_Stream} instance for the specified memory address.
FT_Stream::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public static @Nullable FT_Stream createSafe(long address) { return address == NULL ? null : new FT_Stream(address, null); }
Copies the specified struct data to this struct. @param src the source struct @return this struct public FT_Stream set(FT_Stream src) { memCopy(src.address(), address(), SIZEOF); return this; } // ----------------------------------- /** Returns a new {@code FT_Stream} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_Stream malloc() { return new FT_Stream(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_Stream} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. public static FT_Stream calloc() { return new FT_Stream(nmemCallocChecked(1, SIZEOF), null); } /** Returns a new {@code FT_Stream} instance allocated with {@link BufferUtils}. public static FT_Stream create() { ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF); return new FT_Stream(memAddress(container), container); } /** Returns a new {@code FT_Stream} instance for the specified memory address. public static FT_Stream create(long address) { return new FT_Stream(address, null); } /** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}.
FT_Stream::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public static FT_Stream.Buffer malloc(int capacity) { return new Buffer(nmemAllocChecked(__checkMalloc(capacity, SIZEOF)), capacity); }
Returns a new {@link FT_Stream.Buffer} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. @param capacity the buffer capacity
FT_Stream::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public static FT_Stream.Buffer calloc(int capacity) { return new Buffer(nmemCallocChecked(capacity, SIZEOF), capacity); }
Returns a new {@link FT_Stream.Buffer} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. @param capacity the buffer capacity
FT_Stream::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public static FT_Stream.Buffer create(int capacity) { ByteBuffer container = __create(capacity, SIZEOF); return new Buffer(memAddress(container), container, -1, 0, capacity, capacity); }
Returns a new {@link FT_Stream.Buffer} instance allocated with {@link BufferUtils}. @param capacity the buffer capacity
FT_Stream::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public static FT_Stream.Buffer create(long address, int capacity) { return new Buffer(address, capacity); }
Create a {@link FT_Stream.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity
FT_Stream::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public static FT_Stream.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); }
Create a {@link FT_Stream.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Stream.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
FT_Stream::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public static FT_Stream malloc(MemoryStack stack) { return new FT_Stream(stack.nmalloc(ALIGNOF, SIZEOF), null); }
Returns a new {@code FT_Stream} instance allocated on the specified {@link MemoryStack}. @param stack the stack from which to allocate
FT_Stream::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public static FT_Stream calloc(MemoryStack stack) { return new FT_Stream(stack.ncalloc(ALIGNOF, 1, SIZEOF), null); }
Returns a new {@code FT_Stream} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate
FT_Stream::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public static FT_Stream.Buffer malloc(int capacity, MemoryStack stack) { return new Buffer(stack.nmalloc(ALIGNOF, capacity * SIZEOF), capacity); }
Returns a new {@link FT_Stream.Buffer} instance allocated on the specified {@link MemoryStack}. @param stack the stack from which to allocate @param capacity the buffer capacity
FT_Stream::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public static FT_Stream.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); }
Returns a new {@link FT_Stream.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity
FT_Stream::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public static @Nullable ByteBuffer nbase(long struct) { return memByteBufferSafe(memGetAddress(struct + FT_Stream.BASE), (int)nsize(struct)); }
Returns a new {@link FT_Stream.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity public static FT_Stream.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #base() base}.
FT_Stream::nbase
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public static long nsize(long struct) { return memGetCLong(struct + FT_Stream.SIZE); }
Returns a new {@link FT_Stream.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity public static FT_Stream.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #base() base}. public static @Nullable ByteBuffer nbase(long struct) { return memByteBufferSafe(memGetAddress(struct + FT_Stream.BASE), (int)nsize(struct)); } /** Unsafe version of {@link #size}.
FT_Stream::nsize
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public static long npos(long struct) { return memGetCLong(struct + FT_Stream.POS); }
Returns a new {@link FT_Stream.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity public static FT_Stream.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #base() base}. public static @Nullable ByteBuffer nbase(long struct) { return memByteBufferSafe(memGetAddress(struct + FT_Stream.BASE), (int)nsize(struct)); } /** Unsafe version of {@link #size}. public static long nsize(long struct) { return memGetCLong(struct + FT_Stream.SIZE); } /** Unsafe version of {@link #pos}.
FT_Stream::npos
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public static FT_StreamDesc ndescriptor(long struct) { return FT_StreamDesc.create(struct + FT_Stream.DESCRIPTOR); }
Returns a new {@link FT_Stream.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity public static FT_Stream.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #base() base}. public static @Nullable ByteBuffer nbase(long struct) { return memByteBufferSafe(memGetAddress(struct + FT_Stream.BASE), (int)nsize(struct)); } /** Unsafe version of {@link #size}. public static long nsize(long struct) { return memGetCLong(struct + FT_Stream.SIZE); } /** Unsafe version of {@link #pos}. public static long npos(long struct) { return memGetCLong(struct + FT_Stream.POS); } /** Unsafe version of {@link #descriptor}.
FT_Stream::ndescriptor
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public static FT_StreamDesc npathname(long struct) { return FT_StreamDesc.create(struct + FT_Stream.PATHNAME); }
Returns a new {@link FT_Stream.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity public static FT_Stream.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #base() base}. public static @Nullable ByteBuffer nbase(long struct) { return memByteBufferSafe(memGetAddress(struct + FT_Stream.BASE), (int)nsize(struct)); } /** Unsafe version of {@link #size}. public static long nsize(long struct) { return memGetCLong(struct + FT_Stream.SIZE); } /** Unsafe version of {@link #pos}. public static long npos(long struct) { return memGetCLong(struct + FT_Stream.POS); } /** Unsafe version of {@link #descriptor}. public static FT_StreamDesc ndescriptor(long struct) { return FT_StreamDesc.create(struct + FT_Stream.DESCRIPTOR); } /** Unsafe version of {@link #pathname}.
FT_Stream::npathname
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public static @Nullable FT_Stream_IoFunc nread(long struct) { return FT_Stream_IoFunc.createSafe(memGetAddress(struct + FT_Stream.READ)); }
Returns a new {@link FT_Stream.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity public static FT_Stream.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #base() base}. public static @Nullable ByteBuffer nbase(long struct) { return memByteBufferSafe(memGetAddress(struct + FT_Stream.BASE), (int)nsize(struct)); } /** Unsafe version of {@link #size}. public static long nsize(long struct) { return memGetCLong(struct + FT_Stream.SIZE); } /** Unsafe version of {@link #pos}. public static long npos(long struct) { return memGetCLong(struct + FT_Stream.POS); } /** Unsafe version of {@link #descriptor}. public static FT_StreamDesc ndescriptor(long struct) { return FT_StreamDesc.create(struct + FT_Stream.DESCRIPTOR); } /** Unsafe version of {@link #pathname}. public static FT_StreamDesc npathname(long struct) { return FT_StreamDesc.create(struct + FT_Stream.PATHNAME); } /** Unsafe version of {@link #read}.
FT_Stream::nread
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public static void nbase(long struct, @Nullable ByteBuffer value) { memPutAddress(struct + FT_Stream.BASE, memAddressSafe(value)); nsize(struct, value == null ? 0 : value.remaining()); }
Returns a new {@link FT_Stream.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity public static FT_Stream.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #base() base}. public static @Nullable ByteBuffer nbase(long struct) { return memByteBufferSafe(memGetAddress(struct + FT_Stream.BASE), (int)nsize(struct)); } /** Unsafe version of {@link #size}. public static long nsize(long struct) { return memGetCLong(struct + FT_Stream.SIZE); } /** Unsafe version of {@link #pos}. public static long npos(long struct) { return memGetCLong(struct + FT_Stream.POS); } /** Unsafe version of {@link #descriptor}. public static FT_StreamDesc ndescriptor(long struct) { return FT_StreamDesc.create(struct + FT_Stream.DESCRIPTOR); } /** Unsafe version of {@link #pathname}. public static FT_StreamDesc npathname(long struct) { return FT_StreamDesc.create(struct + FT_Stream.PATHNAME); } /** Unsafe version of {@link #read}. public static @Nullable FT_Stream_IoFunc nread(long struct) { return FT_Stream_IoFunc.createSafe(memGetAddress(struct + FT_Stream.READ)); } /** Unsafe version of {@link #close$}. public static @Nullable FT_Stream_CloseFunc nclose$(long struct) { return FT_Stream_CloseFunc.createSafe(memGetAddress(struct + FT_Stream.CLOSE)); } public static @Nullable FT_Memory nmemory(long struct) { return FT_Memory.createSafe(memGetAddress(struct + FT_Stream.MEMORY)); } public static @Nullable ByteBuffer ncursor(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_Stream.CURSOR), capacity); } public static @Nullable ByteBuffer nlimit$(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_Stream.LIMIT), capacity); } /** Unsafe version of {@link #base(ByteBuffer) base}.
FT_Stream::nbase
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public static void nsize(long struct, long value) { memPutCLong(struct + FT_Stream.SIZE, value); }
Returns a new {@link FT_Stream.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity public static FT_Stream.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #base() base}. public static @Nullable ByteBuffer nbase(long struct) { return memByteBufferSafe(memGetAddress(struct + FT_Stream.BASE), (int)nsize(struct)); } /** Unsafe version of {@link #size}. public static long nsize(long struct) { return memGetCLong(struct + FT_Stream.SIZE); } /** Unsafe version of {@link #pos}. public static long npos(long struct) { return memGetCLong(struct + FT_Stream.POS); } /** Unsafe version of {@link #descriptor}. public static FT_StreamDesc ndescriptor(long struct) { return FT_StreamDesc.create(struct + FT_Stream.DESCRIPTOR); } /** Unsafe version of {@link #pathname}. public static FT_StreamDesc npathname(long struct) { return FT_StreamDesc.create(struct + FT_Stream.PATHNAME); } /** Unsafe version of {@link #read}. public static @Nullable FT_Stream_IoFunc nread(long struct) { return FT_Stream_IoFunc.createSafe(memGetAddress(struct + FT_Stream.READ)); } /** Unsafe version of {@link #close$}. public static @Nullable FT_Stream_CloseFunc nclose$(long struct) { return FT_Stream_CloseFunc.createSafe(memGetAddress(struct + FT_Stream.CLOSE)); } public static @Nullable FT_Memory nmemory(long struct) { return FT_Memory.createSafe(memGetAddress(struct + FT_Stream.MEMORY)); } public static @Nullable ByteBuffer ncursor(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_Stream.CURSOR), capacity); } public static @Nullable ByteBuffer nlimit$(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_Stream.LIMIT), capacity); } /** Unsafe version of {@link #base(ByteBuffer) base}. public static void nbase(long struct, @Nullable ByteBuffer value) { memPutAddress(struct + FT_Stream.BASE, memAddressSafe(value)); nsize(struct, value == null ? 0 : value.remaining()); } /** Sets the specified value to the {@code size} field of the specified {@code struct}.
FT_Stream::nsize
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public static void npos(long struct, long value) { memPutCLong(struct + FT_Stream.POS, value); }
Returns a new {@link FT_Stream.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity public static FT_Stream.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #base() base}. public static @Nullable ByteBuffer nbase(long struct) { return memByteBufferSafe(memGetAddress(struct + FT_Stream.BASE), (int)nsize(struct)); } /** Unsafe version of {@link #size}. public static long nsize(long struct) { return memGetCLong(struct + FT_Stream.SIZE); } /** Unsafe version of {@link #pos}. public static long npos(long struct) { return memGetCLong(struct + FT_Stream.POS); } /** Unsafe version of {@link #descriptor}. public static FT_StreamDesc ndescriptor(long struct) { return FT_StreamDesc.create(struct + FT_Stream.DESCRIPTOR); } /** Unsafe version of {@link #pathname}. public static FT_StreamDesc npathname(long struct) { return FT_StreamDesc.create(struct + FT_Stream.PATHNAME); } /** Unsafe version of {@link #read}. public static @Nullable FT_Stream_IoFunc nread(long struct) { return FT_Stream_IoFunc.createSafe(memGetAddress(struct + FT_Stream.READ)); } /** Unsafe version of {@link #close$}. public static @Nullable FT_Stream_CloseFunc nclose$(long struct) { return FT_Stream_CloseFunc.createSafe(memGetAddress(struct + FT_Stream.CLOSE)); } public static @Nullable FT_Memory nmemory(long struct) { return FT_Memory.createSafe(memGetAddress(struct + FT_Stream.MEMORY)); } public static @Nullable ByteBuffer ncursor(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_Stream.CURSOR), capacity); } public static @Nullable ByteBuffer nlimit$(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_Stream.LIMIT), capacity); } /** Unsafe version of {@link #base(ByteBuffer) base}. public static void nbase(long struct, @Nullable ByteBuffer value) { memPutAddress(struct + FT_Stream.BASE, memAddressSafe(value)); nsize(struct, value == null ? 0 : value.remaining()); } /** Sets the specified value to the {@code size} field of the specified {@code struct}. public static void nsize(long struct, long value) { memPutCLong(struct + FT_Stream.SIZE, value); } /** Unsafe version of {@link #pos(long) pos}.
FT_Stream::npos
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public static void ndescriptor(long struct, FT_StreamDesc value) { memCopy(value.address(), struct + FT_Stream.DESCRIPTOR, FT_StreamDesc.SIZEOF); }
Returns a new {@link FT_Stream.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity public static FT_Stream.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #base() base}. public static @Nullable ByteBuffer nbase(long struct) { return memByteBufferSafe(memGetAddress(struct + FT_Stream.BASE), (int)nsize(struct)); } /** Unsafe version of {@link #size}. public static long nsize(long struct) { return memGetCLong(struct + FT_Stream.SIZE); } /** Unsafe version of {@link #pos}. public static long npos(long struct) { return memGetCLong(struct + FT_Stream.POS); } /** Unsafe version of {@link #descriptor}. public static FT_StreamDesc ndescriptor(long struct) { return FT_StreamDesc.create(struct + FT_Stream.DESCRIPTOR); } /** Unsafe version of {@link #pathname}. public static FT_StreamDesc npathname(long struct) { return FT_StreamDesc.create(struct + FT_Stream.PATHNAME); } /** Unsafe version of {@link #read}. public static @Nullable FT_Stream_IoFunc nread(long struct) { return FT_Stream_IoFunc.createSafe(memGetAddress(struct + FT_Stream.READ)); } /** Unsafe version of {@link #close$}. public static @Nullable FT_Stream_CloseFunc nclose$(long struct) { return FT_Stream_CloseFunc.createSafe(memGetAddress(struct + FT_Stream.CLOSE)); } public static @Nullable FT_Memory nmemory(long struct) { return FT_Memory.createSafe(memGetAddress(struct + FT_Stream.MEMORY)); } public static @Nullable ByteBuffer ncursor(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_Stream.CURSOR), capacity); } public static @Nullable ByteBuffer nlimit$(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_Stream.LIMIT), capacity); } /** Unsafe version of {@link #base(ByteBuffer) base}. public static void nbase(long struct, @Nullable ByteBuffer value) { memPutAddress(struct + FT_Stream.BASE, memAddressSafe(value)); nsize(struct, value == null ? 0 : value.remaining()); } /** Sets the specified value to the {@code size} field of the specified {@code struct}. public static void nsize(long struct, long value) { memPutCLong(struct + FT_Stream.SIZE, value); } /** Unsafe version of {@link #pos(long) pos}. public static void npos(long struct, long value) { memPutCLong(struct + FT_Stream.POS, value); } /** Unsafe version of {@link #descriptor(FT_StreamDesc) descriptor}.
FT_Stream::ndescriptor
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public static void npathname(long struct, FT_StreamDesc value) { memCopy(value.address(), struct + FT_Stream.PATHNAME, FT_StreamDesc.SIZEOF); }
Returns a new {@link FT_Stream.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity public static FT_Stream.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #base() base}. public static @Nullable ByteBuffer nbase(long struct) { return memByteBufferSafe(memGetAddress(struct + FT_Stream.BASE), (int)nsize(struct)); } /** Unsafe version of {@link #size}. public static long nsize(long struct) { return memGetCLong(struct + FT_Stream.SIZE); } /** Unsafe version of {@link #pos}. public static long npos(long struct) { return memGetCLong(struct + FT_Stream.POS); } /** Unsafe version of {@link #descriptor}. public static FT_StreamDesc ndescriptor(long struct) { return FT_StreamDesc.create(struct + FT_Stream.DESCRIPTOR); } /** Unsafe version of {@link #pathname}. public static FT_StreamDesc npathname(long struct) { return FT_StreamDesc.create(struct + FT_Stream.PATHNAME); } /** Unsafe version of {@link #read}. public static @Nullable FT_Stream_IoFunc nread(long struct) { return FT_Stream_IoFunc.createSafe(memGetAddress(struct + FT_Stream.READ)); } /** Unsafe version of {@link #close$}. public static @Nullable FT_Stream_CloseFunc nclose$(long struct) { return FT_Stream_CloseFunc.createSafe(memGetAddress(struct + FT_Stream.CLOSE)); } public static @Nullable FT_Memory nmemory(long struct) { return FT_Memory.createSafe(memGetAddress(struct + FT_Stream.MEMORY)); } public static @Nullable ByteBuffer ncursor(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_Stream.CURSOR), capacity); } public static @Nullable ByteBuffer nlimit$(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_Stream.LIMIT), capacity); } /** Unsafe version of {@link #base(ByteBuffer) base}. public static void nbase(long struct, @Nullable ByteBuffer value) { memPutAddress(struct + FT_Stream.BASE, memAddressSafe(value)); nsize(struct, value == null ? 0 : value.remaining()); } /** Sets the specified value to the {@code size} field of the specified {@code struct}. public static void nsize(long struct, long value) { memPutCLong(struct + FT_Stream.SIZE, value); } /** Unsafe version of {@link #pos(long) pos}. public static void npos(long struct, long value) { memPutCLong(struct + FT_Stream.POS, value); } /** Unsafe version of {@link #descriptor(FT_StreamDesc) descriptor}. public static void ndescriptor(long struct, FT_StreamDesc value) { memCopy(value.address(), struct + FT_Stream.DESCRIPTOR, FT_StreamDesc.SIZEOF); } /** Unsafe version of {@link #pathname(FT_StreamDesc) pathname}.
FT_Stream::npathname
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public static void nread(long struct, @Nullable FT_Stream_IoFuncI value) { memPutAddress(struct + FT_Stream.READ, memAddressSafe(value)); }
Returns a new {@link FT_Stream.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity public static FT_Stream.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #base() base}. public static @Nullable ByteBuffer nbase(long struct) { return memByteBufferSafe(memGetAddress(struct + FT_Stream.BASE), (int)nsize(struct)); } /** Unsafe version of {@link #size}. public static long nsize(long struct) { return memGetCLong(struct + FT_Stream.SIZE); } /** Unsafe version of {@link #pos}. public static long npos(long struct) { return memGetCLong(struct + FT_Stream.POS); } /** Unsafe version of {@link #descriptor}. public static FT_StreamDesc ndescriptor(long struct) { return FT_StreamDesc.create(struct + FT_Stream.DESCRIPTOR); } /** Unsafe version of {@link #pathname}. public static FT_StreamDesc npathname(long struct) { return FT_StreamDesc.create(struct + FT_Stream.PATHNAME); } /** Unsafe version of {@link #read}. public static @Nullable FT_Stream_IoFunc nread(long struct) { return FT_Stream_IoFunc.createSafe(memGetAddress(struct + FT_Stream.READ)); } /** Unsafe version of {@link #close$}. public static @Nullable FT_Stream_CloseFunc nclose$(long struct) { return FT_Stream_CloseFunc.createSafe(memGetAddress(struct + FT_Stream.CLOSE)); } public static @Nullable FT_Memory nmemory(long struct) { return FT_Memory.createSafe(memGetAddress(struct + FT_Stream.MEMORY)); } public static @Nullable ByteBuffer ncursor(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_Stream.CURSOR), capacity); } public static @Nullable ByteBuffer nlimit$(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_Stream.LIMIT), capacity); } /** Unsafe version of {@link #base(ByteBuffer) base}. public static void nbase(long struct, @Nullable ByteBuffer value) { memPutAddress(struct + FT_Stream.BASE, memAddressSafe(value)); nsize(struct, value == null ? 0 : value.remaining()); } /** Sets the specified value to the {@code size} field of the specified {@code struct}. public static void nsize(long struct, long value) { memPutCLong(struct + FT_Stream.SIZE, value); } /** Unsafe version of {@link #pos(long) pos}. public static void npos(long struct, long value) { memPutCLong(struct + FT_Stream.POS, value); } /** Unsafe version of {@link #descriptor(FT_StreamDesc) descriptor}. public static void ndescriptor(long struct, FT_StreamDesc value) { memCopy(value.address(), struct + FT_Stream.DESCRIPTOR, FT_StreamDesc.SIZEOF); } /** Unsafe version of {@link #pathname(FT_StreamDesc) pathname}. public static void npathname(long struct, FT_StreamDesc value) { memCopy(value.address(), struct + FT_Stream.PATHNAME, FT_StreamDesc.SIZEOF); } /** Unsafe version of {@link #read(FT_Stream_IoFuncI) read}.
FT_Stream::nread
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public FT_StreamDesc descriptor() { return FT_Stream.ndescriptor(address()); }
Creates a new {@code FT_Stream.Buffer} instance backed by the specified container. <p>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 {@link FT_Stream#SIZEOF}, and its mark will be undefined.</p> <p>The created buffer instance holds a strong reference to the container object.</p> public Buffer(ByteBuffer container) { super(container, container.remaining() / SIZEOF); } public Buffer(long address, int cap) { super(address, null, -1, 0, cap, cap); } Buffer(long address, @Nullable ByteBuffer container, int mark, int pos, int lim, int cap) { super(address, container, mark, pos, lim, cap); } @Override protected Buffer self() { return this; } @Override protected Buffer create(long address, @Nullable ByteBuffer container, int mark, int position, int limit, int capacity) { return new Buffer(address, container, mark, position, limit, capacity); } @Override protected FT_Stream getElementFactory() { return ELEMENT_FACTORY; } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code base} field. @NativeType("unsigned char *") public @Nullable ByteBuffer base() { return FT_Stream.nbase(address()); } /** @return the value of the {@code size} field. @NativeType("unsigned long") public long size() { return FT_Stream.nsize(address()); } /** @return the value of the {@code pos} field. @NativeType("unsigned long") public long pos() { return FT_Stream.npos(address()); } /** @return a {@link FT_StreamDesc} view of the {@code descriptor} field.
Buffer::descriptor
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public FT_StreamDesc pathname() { return FT_Stream.npathname(address()); }
Creates a new {@code FT_Stream.Buffer} instance backed by the specified container. <p>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 {@link FT_Stream#SIZEOF}, and its mark will be undefined.</p> <p>The created buffer instance holds a strong reference to the container object.</p> public Buffer(ByteBuffer container) { super(container, container.remaining() / SIZEOF); } public Buffer(long address, int cap) { super(address, null, -1, 0, cap, cap); } Buffer(long address, @Nullable ByteBuffer container, int mark, int pos, int lim, int cap) { super(address, container, mark, pos, lim, cap); } @Override protected Buffer self() { return this; } @Override protected Buffer create(long address, @Nullable ByteBuffer container, int mark, int position, int limit, int capacity) { return new Buffer(address, container, mark, position, limit, capacity); } @Override protected FT_Stream getElementFactory() { return ELEMENT_FACTORY; } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code base} field. @NativeType("unsigned char *") public @Nullable ByteBuffer base() { return FT_Stream.nbase(address()); } /** @return the value of the {@code size} field. @NativeType("unsigned long") public long size() { return FT_Stream.nsize(address()); } /** @return the value of the {@code pos} field. @NativeType("unsigned long") public long pos() { return FT_Stream.npos(address()); } /** @return a {@link FT_StreamDesc} view of the {@code descriptor} field. public FT_StreamDesc descriptor() { return FT_Stream.ndescriptor(address()); } /** @return a {@link FT_StreamDesc} view of the {@code pathname} field.
Buffer::pathname
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public @Nullable FT_Stream_IoFunc read() { return FT_Stream.nread(address()); }
Creates a new {@code FT_Stream.Buffer} instance backed by the specified container. <p>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 {@link FT_Stream#SIZEOF}, and its mark will be undefined.</p> <p>The created buffer instance holds a strong reference to the container object.</p> public Buffer(ByteBuffer container) { super(container, container.remaining() / SIZEOF); } public Buffer(long address, int cap) { super(address, null, -1, 0, cap, cap); } Buffer(long address, @Nullable ByteBuffer container, int mark, int pos, int lim, int cap) { super(address, container, mark, pos, lim, cap); } @Override protected Buffer self() { return this; } @Override protected Buffer create(long address, @Nullable ByteBuffer container, int mark, int position, int limit, int capacity) { return new Buffer(address, container, mark, position, limit, capacity); } @Override protected FT_Stream getElementFactory() { return ELEMENT_FACTORY; } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code base} field. @NativeType("unsigned char *") public @Nullable ByteBuffer base() { return FT_Stream.nbase(address()); } /** @return the value of the {@code size} field. @NativeType("unsigned long") public long size() { return FT_Stream.nsize(address()); } /** @return the value of the {@code pos} field. @NativeType("unsigned long") public long pos() { return FT_Stream.npos(address()); } /** @return a {@link FT_StreamDesc} view of the {@code descriptor} field. public FT_StreamDesc descriptor() { return FT_Stream.ndescriptor(address()); } /** @return a {@link FT_StreamDesc} view of the {@code pathname} field. public FT_StreamDesc pathname() { return FT_Stream.npathname(address()); } /** @return the value of the {@code read} field.
Buffer::read
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public FT_Stream.Buffer base(@Nullable @NativeType("unsigned char *") ByteBuffer value) { FT_Stream.nbase(address(), value); return this; }
Creates a new {@code FT_Stream.Buffer} instance backed by the specified container. <p>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 {@link FT_Stream#SIZEOF}, and its mark will be undefined.</p> <p>The created buffer instance holds a strong reference to the container object.</p> public Buffer(ByteBuffer container) { super(container, container.remaining() / SIZEOF); } public Buffer(long address, int cap) { super(address, null, -1, 0, cap, cap); } Buffer(long address, @Nullable ByteBuffer container, int mark, int pos, int lim, int cap) { super(address, container, mark, pos, lim, cap); } @Override protected Buffer self() { return this; } @Override protected Buffer create(long address, @Nullable ByteBuffer container, int mark, int position, int limit, int capacity) { return new Buffer(address, container, mark, position, limit, capacity); } @Override protected FT_Stream getElementFactory() { return ELEMENT_FACTORY; } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code base} field. @NativeType("unsigned char *") public @Nullable ByteBuffer base() { return FT_Stream.nbase(address()); } /** @return the value of the {@code size} field. @NativeType("unsigned long") public long size() { return FT_Stream.nsize(address()); } /** @return the value of the {@code pos} field. @NativeType("unsigned long") public long pos() { return FT_Stream.npos(address()); } /** @return a {@link FT_StreamDesc} view of the {@code descriptor} field. public FT_StreamDesc descriptor() { return FT_Stream.ndescriptor(address()); } /** @return a {@link FT_StreamDesc} view of the {@code pathname} field. public FT_StreamDesc pathname() { return FT_Stream.npathname(address()); } /** @return the value of the {@code read} field. public @Nullable FT_Stream_IoFunc read() { return FT_Stream.nread(address()); } /** @return the value of the {@code close} field. public @Nullable FT_Stream_CloseFunc close$() { return FT_Stream.nclose$(address()); } /** Sets the address of the specified {@link ByteBuffer} to the {@code base} field.
Buffer::base
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public FT_Stream.Buffer size(@NativeType("unsigned long") long value) { FT_Stream.nsize(address(), value); return this; }
Creates a new {@code FT_Stream.Buffer} instance backed by the specified container. <p>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 {@link FT_Stream#SIZEOF}, and its mark will be undefined.</p> <p>The created buffer instance holds a strong reference to the container object.</p> public Buffer(ByteBuffer container) { super(container, container.remaining() / SIZEOF); } public Buffer(long address, int cap) { super(address, null, -1, 0, cap, cap); } Buffer(long address, @Nullable ByteBuffer container, int mark, int pos, int lim, int cap) { super(address, container, mark, pos, lim, cap); } @Override protected Buffer self() { return this; } @Override protected Buffer create(long address, @Nullable ByteBuffer container, int mark, int position, int limit, int capacity) { return new Buffer(address, container, mark, position, limit, capacity); } @Override protected FT_Stream getElementFactory() { return ELEMENT_FACTORY; } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code base} field. @NativeType("unsigned char *") public @Nullable ByteBuffer base() { return FT_Stream.nbase(address()); } /** @return the value of the {@code size} field. @NativeType("unsigned long") public long size() { return FT_Stream.nsize(address()); } /** @return the value of the {@code pos} field. @NativeType("unsigned long") public long pos() { return FT_Stream.npos(address()); } /** @return a {@link FT_StreamDesc} view of the {@code descriptor} field. public FT_StreamDesc descriptor() { return FT_Stream.ndescriptor(address()); } /** @return a {@link FT_StreamDesc} view of the {@code pathname} field. public FT_StreamDesc pathname() { return FT_Stream.npathname(address()); } /** @return the value of the {@code read} field. public @Nullable FT_Stream_IoFunc read() { return FT_Stream.nread(address()); } /** @return the value of the {@code close} field. public @Nullable FT_Stream_CloseFunc close$() { return FT_Stream.nclose$(address()); } /** Sets the address of the specified {@link ByteBuffer} to the {@code base} field. public FT_Stream.Buffer base(@Nullable @NativeType("unsigned char *") ByteBuffer value) { FT_Stream.nbase(address(), value); return this; } /** Sets the specified value to the {@code size} field.
Buffer::size
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public FT_Stream.Buffer pos(@NativeType("unsigned long") long value) { FT_Stream.npos(address(), value); return this; }
Creates a new {@code FT_Stream.Buffer} instance backed by the specified container. <p>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 {@link FT_Stream#SIZEOF}, and its mark will be undefined.</p> <p>The created buffer instance holds a strong reference to the container object.</p> public Buffer(ByteBuffer container) { super(container, container.remaining() / SIZEOF); } public Buffer(long address, int cap) { super(address, null, -1, 0, cap, cap); } Buffer(long address, @Nullable ByteBuffer container, int mark, int pos, int lim, int cap) { super(address, container, mark, pos, lim, cap); } @Override protected Buffer self() { return this; } @Override protected Buffer create(long address, @Nullable ByteBuffer container, int mark, int position, int limit, int capacity) { return new Buffer(address, container, mark, position, limit, capacity); } @Override protected FT_Stream getElementFactory() { return ELEMENT_FACTORY; } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code base} field. @NativeType("unsigned char *") public @Nullable ByteBuffer base() { return FT_Stream.nbase(address()); } /** @return the value of the {@code size} field. @NativeType("unsigned long") public long size() { return FT_Stream.nsize(address()); } /** @return the value of the {@code pos} field. @NativeType("unsigned long") public long pos() { return FT_Stream.npos(address()); } /** @return a {@link FT_StreamDesc} view of the {@code descriptor} field. public FT_StreamDesc descriptor() { return FT_Stream.ndescriptor(address()); } /** @return a {@link FT_StreamDesc} view of the {@code pathname} field. public FT_StreamDesc pathname() { return FT_Stream.npathname(address()); } /** @return the value of the {@code read} field. public @Nullable FT_Stream_IoFunc read() { return FT_Stream.nread(address()); } /** @return the value of the {@code close} field. public @Nullable FT_Stream_CloseFunc close$() { return FT_Stream.nclose$(address()); } /** Sets the address of the specified {@link ByteBuffer} to the {@code base} field. public FT_Stream.Buffer base(@Nullable @NativeType("unsigned char *") ByteBuffer value) { FT_Stream.nbase(address(), value); return this; } /** Sets the specified value to the {@code size} field. public FT_Stream.Buffer size(@NativeType("unsigned long") long value) { FT_Stream.nsize(address(), value); return this; } /** Sets the specified value to the {@code pos} field.
Buffer::pos
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public FT_Stream.Buffer descriptor(FT_StreamDesc value) { FT_Stream.ndescriptor(address(), value); return this; }
Creates a new {@code FT_Stream.Buffer} instance backed by the specified container. <p>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 {@link FT_Stream#SIZEOF}, and its mark will be undefined.</p> <p>The created buffer instance holds a strong reference to the container object.</p> public Buffer(ByteBuffer container) { super(container, container.remaining() / SIZEOF); } public Buffer(long address, int cap) { super(address, null, -1, 0, cap, cap); } Buffer(long address, @Nullable ByteBuffer container, int mark, int pos, int lim, int cap) { super(address, container, mark, pos, lim, cap); } @Override protected Buffer self() { return this; } @Override protected Buffer create(long address, @Nullable ByteBuffer container, int mark, int position, int limit, int capacity) { return new Buffer(address, container, mark, position, limit, capacity); } @Override protected FT_Stream getElementFactory() { return ELEMENT_FACTORY; } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code base} field. @NativeType("unsigned char *") public @Nullable ByteBuffer base() { return FT_Stream.nbase(address()); } /** @return the value of the {@code size} field. @NativeType("unsigned long") public long size() { return FT_Stream.nsize(address()); } /** @return the value of the {@code pos} field. @NativeType("unsigned long") public long pos() { return FT_Stream.npos(address()); } /** @return a {@link FT_StreamDesc} view of the {@code descriptor} field. public FT_StreamDesc descriptor() { return FT_Stream.ndescriptor(address()); } /** @return a {@link FT_StreamDesc} view of the {@code pathname} field. public FT_StreamDesc pathname() { return FT_Stream.npathname(address()); } /** @return the value of the {@code read} field. public @Nullable FT_Stream_IoFunc read() { return FT_Stream.nread(address()); } /** @return the value of the {@code close} field. public @Nullable FT_Stream_CloseFunc close$() { return FT_Stream.nclose$(address()); } /** Sets the address of the specified {@link ByteBuffer} to the {@code base} field. public FT_Stream.Buffer base(@Nullable @NativeType("unsigned char *") ByteBuffer value) { FT_Stream.nbase(address(), value); return this; } /** Sets the specified value to the {@code size} field. public FT_Stream.Buffer size(@NativeType("unsigned long") long value) { FT_Stream.nsize(address(), value); return this; } /** Sets the specified value to the {@code pos} field. public FT_Stream.Buffer pos(@NativeType("unsigned long") long value) { FT_Stream.npos(address(), value); return this; } /** Copies the specified {@link FT_StreamDesc} to the {@code descriptor} field.
Buffer::descriptor
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public FT_Stream.Buffer descriptor(java.util.function.Consumer<FT_StreamDesc> consumer) { consumer.accept(descriptor()); return this; }
Creates a new {@code FT_Stream.Buffer} instance backed by the specified container. <p>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 {@link FT_Stream#SIZEOF}, and its mark will be undefined.</p> <p>The created buffer instance holds a strong reference to the container object.</p> public Buffer(ByteBuffer container) { super(container, container.remaining() / SIZEOF); } public Buffer(long address, int cap) { super(address, null, -1, 0, cap, cap); } Buffer(long address, @Nullable ByteBuffer container, int mark, int pos, int lim, int cap) { super(address, container, mark, pos, lim, cap); } @Override protected Buffer self() { return this; } @Override protected Buffer create(long address, @Nullable ByteBuffer container, int mark, int position, int limit, int capacity) { return new Buffer(address, container, mark, position, limit, capacity); } @Override protected FT_Stream getElementFactory() { return ELEMENT_FACTORY; } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code base} field. @NativeType("unsigned char *") public @Nullable ByteBuffer base() { return FT_Stream.nbase(address()); } /** @return the value of the {@code size} field. @NativeType("unsigned long") public long size() { return FT_Stream.nsize(address()); } /** @return the value of the {@code pos} field. @NativeType("unsigned long") public long pos() { return FT_Stream.npos(address()); } /** @return a {@link FT_StreamDesc} view of the {@code descriptor} field. public FT_StreamDesc descriptor() { return FT_Stream.ndescriptor(address()); } /** @return a {@link FT_StreamDesc} view of the {@code pathname} field. public FT_StreamDesc pathname() { return FT_Stream.npathname(address()); } /** @return the value of the {@code read} field. public @Nullable FT_Stream_IoFunc read() { return FT_Stream.nread(address()); } /** @return the value of the {@code close} field. public @Nullable FT_Stream_CloseFunc close$() { return FT_Stream.nclose$(address()); } /** Sets the address of the specified {@link ByteBuffer} to the {@code base} field. public FT_Stream.Buffer base(@Nullable @NativeType("unsigned char *") ByteBuffer value) { FT_Stream.nbase(address(), value); return this; } /** Sets the specified value to the {@code size} field. public FT_Stream.Buffer size(@NativeType("unsigned long") long value) { FT_Stream.nsize(address(), value); return this; } /** Sets the specified value to the {@code pos} field. public FT_Stream.Buffer pos(@NativeType("unsigned long") long value) { FT_Stream.npos(address(), value); return this; } /** Copies the specified {@link FT_StreamDesc} to the {@code descriptor} field. public FT_Stream.Buffer descriptor(FT_StreamDesc value) { FT_Stream.ndescriptor(address(), value); return this; } /** Passes the {@code descriptor} field to the specified {@link java.util.function.Consumer Consumer}.
Buffer::descriptor
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public FT_Stream.Buffer pathname(FT_StreamDesc value) { FT_Stream.npathname(address(), value); return this; }
Creates a new {@code FT_Stream.Buffer} instance backed by the specified container. <p>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 {@link FT_Stream#SIZEOF}, and its mark will be undefined.</p> <p>The created buffer instance holds a strong reference to the container object.</p> public Buffer(ByteBuffer container) { super(container, container.remaining() / SIZEOF); } public Buffer(long address, int cap) { super(address, null, -1, 0, cap, cap); } Buffer(long address, @Nullable ByteBuffer container, int mark, int pos, int lim, int cap) { super(address, container, mark, pos, lim, cap); } @Override protected Buffer self() { return this; } @Override protected Buffer create(long address, @Nullable ByteBuffer container, int mark, int position, int limit, int capacity) { return new Buffer(address, container, mark, position, limit, capacity); } @Override protected FT_Stream getElementFactory() { return ELEMENT_FACTORY; } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code base} field. @NativeType("unsigned char *") public @Nullable ByteBuffer base() { return FT_Stream.nbase(address()); } /** @return the value of the {@code size} field. @NativeType("unsigned long") public long size() { return FT_Stream.nsize(address()); } /** @return the value of the {@code pos} field. @NativeType("unsigned long") public long pos() { return FT_Stream.npos(address()); } /** @return a {@link FT_StreamDesc} view of the {@code descriptor} field. public FT_StreamDesc descriptor() { return FT_Stream.ndescriptor(address()); } /** @return a {@link FT_StreamDesc} view of the {@code pathname} field. public FT_StreamDesc pathname() { return FT_Stream.npathname(address()); } /** @return the value of the {@code read} field. public @Nullable FT_Stream_IoFunc read() { return FT_Stream.nread(address()); } /** @return the value of the {@code close} field. public @Nullable FT_Stream_CloseFunc close$() { return FT_Stream.nclose$(address()); } /** Sets the address of the specified {@link ByteBuffer} to the {@code base} field. public FT_Stream.Buffer base(@Nullable @NativeType("unsigned char *") ByteBuffer value) { FT_Stream.nbase(address(), value); return this; } /** Sets the specified value to the {@code size} field. public FT_Stream.Buffer size(@NativeType("unsigned long") long value) { FT_Stream.nsize(address(), value); return this; } /** Sets the specified value to the {@code pos} field. public FT_Stream.Buffer pos(@NativeType("unsigned long") long value) { FT_Stream.npos(address(), value); return this; } /** Copies the specified {@link FT_StreamDesc} to the {@code descriptor} field. public FT_Stream.Buffer descriptor(FT_StreamDesc value) { FT_Stream.ndescriptor(address(), value); return this; } /** Passes the {@code descriptor} field to the specified {@link java.util.function.Consumer Consumer}. public FT_Stream.Buffer descriptor(java.util.function.Consumer<FT_StreamDesc> consumer) { consumer.accept(descriptor()); return this; } /** Copies the specified {@link FT_StreamDesc} to the {@code pathname} field.
Buffer::pathname
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public FT_Stream.Buffer pathname(java.util.function.Consumer<FT_StreamDesc> consumer) { consumer.accept(pathname()); return this; }
Creates a new {@code FT_Stream.Buffer} instance backed by the specified container. <p>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 {@link FT_Stream#SIZEOF}, and its mark will be undefined.</p> <p>The created buffer instance holds a strong reference to the container object.</p> public Buffer(ByteBuffer container) { super(container, container.remaining() / SIZEOF); } public Buffer(long address, int cap) { super(address, null, -1, 0, cap, cap); } Buffer(long address, @Nullable ByteBuffer container, int mark, int pos, int lim, int cap) { super(address, container, mark, pos, lim, cap); } @Override protected Buffer self() { return this; } @Override protected Buffer create(long address, @Nullable ByteBuffer container, int mark, int position, int limit, int capacity) { return new Buffer(address, container, mark, position, limit, capacity); } @Override protected FT_Stream getElementFactory() { return ELEMENT_FACTORY; } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code base} field. @NativeType("unsigned char *") public @Nullable ByteBuffer base() { return FT_Stream.nbase(address()); } /** @return the value of the {@code size} field. @NativeType("unsigned long") public long size() { return FT_Stream.nsize(address()); } /** @return the value of the {@code pos} field. @NativeType("unsigned long") public long pos() { return FT_Stream.npos(address()); } /** @return a {@link FT_StreamDesc} view of the {@code descriptor} field. public FT_StreamDesc descriptor() { return FT_Stream.ndescriptor(address()); } /** @return a {@link FT_StreamDesc} view of the {@code pathname} field. public FT_StreamDesc pathname() { return FT_Stream.npathname(address()); } /** @return the value of the {@code read} field. public @Nullable FT_Stream_IoFunc read() { return FT_Stream.nread(address()); } /** @return the value of the {@code close} field. public @Nullable FT_Stream_CloseFunc close$() { return FT_Stream.nclose$(address()); } /** Sets the address of the specified {@link ByteBuffer} to the {@code base} field. public FT_Stream.Buffer base(@Nullable @NativeType("unsigned char *") ByteBuffer value) { FT_Stream.nbase(address(), value); return this; } /** Sets the specified value to the {@code size} field. public FT_Stream.Buffer size(@NativeType("unsigned long") long value) { FT_Stream.nsize(address(), value); return this; } /** Sets the specified value to the {@code pos} field. public FT_Stream.Buffer pos(@NativeType("unsigned long") long value) { FT_Stream.npos(address(), value); return this; } /** Copies the specified {@link FT_StreamDesc} to the {@code descriptor} field. public FT_Stream.Buffer descriptor(FT_StreamDesc value) { FT_Stream.ndescriptor(address(), value); return this; } /** Passes the {@code descriptor} field to the specified {@link java.util.function.Consumer Consumer}. public FT_Stream.Buffer descriptor(java.util.function.Consumer<FT_StreamDesc> consumer) { consumer.accept(descriptor()); return this; } /** Copies the specified {@link FT_StreamDesc} to the {@code pathname} field. public FT_Stream.Buffer pathname(FT_StreamDesc value) { FT_Stream.npathname(address(), value); return this; } /** Passes the {@code pathname} field to the specified {@link java.util.function.Consumer Consumer}.
Buffer::pathname
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public FT_Stream.Buffer read(@Nullable @NativeType("FT_Stream_IoFunc") FT_Stream_IoFuncI value) { FT_Stream.nread(address(), value); return this; }
Creates a new {@code FT_Stream.Buffer} instance backed by the specified container. <p>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 {@link FT_Stream#SIZEOF}, and its mark will be undefined.</p> <p>The created buffer instance holds a strong reference to the container object.</p> public Buffer(ByteBuffer container) { super(container, container.remaining() / SIZEOF); } public Buffer(long address, int cap) { super(address, null, -1, 0, cap, cap); } Buffer(long address, @Nullable ByteBuffer container, int mark, int pos, int lim, int cap) { super(address, container, mark, pos, lim, cap); } @Override protected Buffer self() { return this; } @Override protected Buffer create(long address, @Nullable ByteBuffer container, int mark, int position, int limit, int capacity) { return new Buffer(address, container, mark, position, limit, capacity); } @Override protected FT_Stream getElementFactory() { return ELEMENT_FACTORY; } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code base} field. @NativeType("unsigned char *") public @Nullable ByteBuffer base() { return FT_Stream.nbase(address()); } /** @return the value of the {@code size} field. @NativeType("unsigned long") public long size() { return FT_Stream.nsize(address()); } /** @return the value of the {@code pos} field. @NativeType("unsigned long") public long pos() { return FT_Stream.npos(address()); } /** @return a {@link FT_StreamDesc} view of the {@code descriptor} field. public FT_StreamDesc descriptor() { return FT_Stream.ndescriptor(address()); } /** @return a {@link FT_StreamDesc} view of the {@code pathname} field. public FT_StreamDesc pathname() { return FT_Stream.npathname(address()); } /** @return the value of the {@code read} field. public @Nullable FT_Stream_IoFunc read() { return FT_Stream.nread(address()); } /** @return the value of the {@code close} field. public @Nullable FT_Stream_CloseFunc close$() { return FT_Stream.nclose$(address()); } /** Sets the address of the specified {@link ByteBuffer} to the {@code base} field. public FT_Stream.Buffer base(@Nullable @NativeType("unsigned char *") ByteBuffer value) { FT_Stream.nbase(address(), value); return this; } /** Sets the specified value to the {@code size} field. public FT_Stream.Buffer size(@NativeType("unsigned long") long value) { FT_Stream.nsize(address(), value); return this; } /** Sets the specified value to the {@code pos} field. public FT_Stream.Buffer pos(@NativeType("unsigned long") long value) { FT_Stream.npos(address(), value); return this; } /** Copies the specified {@link FT_StreamDesc} to the {@code descriptor} field. public FT_Stream.Buffer descriptor(FT_StreamDesc value) { FT_Stream.ndescriptor(address(), value); return this; } /** Passes the {@code descriptor} field to the specified {@link java.util.function.Consumer Consumer}. public FT_Stream.Buffer descriptor(java.util.function.Consumer<FT_StreamDesc> consumer) { consumer.accept(descriptor()); return this; } /** Copies the specified {@link FT_StreamDesc} to the {@code pathname} field. public FT_Stream.Buffer pathname(FT_StreamDesc value) { FT_Stream.npathname(address(), value); return this; } /** Passes the {@code pathname} field to the specified {@link java.util.function.Consumer Consumer}. public FT_Stream.Buffer pathname(java.util.function.Consumer<FT_StreamDesc> consumer) { consumer.accept(pathname()); return this; } /** Sets the specified value to the {@code read} field.
Buffer::read
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public TT_VertHeader(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); }
Creates a {@code TT_VertHeader} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p>
TT_VertHeader::TT_VertHeader
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
BSD-3-Clause
public static TT_VertHeader create(long address) { return new TT_VertHeader(address, null); }
Creates a {@code TT_VertHeader} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public TT_VertHeader(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code Version} field. @NativeType("FT_Fixed") public long Version() { return nVersion(address()); } /** @return the value of the {@code Ascender} field. @NativeType("FT_Short") public short Ascender() { return nAscender(address()); } /** @return the value of the {@code Descender} field. @NativeType("FT_Short") public short Descender() { return nDescender(address()); } /** @return the value of the {@code Line_Gap} field. @NativeType("FT_Short") public short Line_Gap() { return nLine_Gap(address()); } /** @return the value of the {@code advance_Height_Max} field. @NativeType("FT_UShort") public short advance_Height_Max() { return nadvance_Height_Max(address()); } /** @return the value of the {@code min_Top_Side_Bearing} field. @NativeType("FT_Short") public short min_Top_Side_Bearing() { return nmin_Top_Side_Bearing(address()); } /** @return the value of the {@code min_Bottom_Side_Bearing} field. @NativeType("FT_Short") public short min_Bottom_Side_Bearing() { return nmin_Bottom_Side_Bearing(address()); } /** @return the value of the {@code yMax_Extent} field. @NativeType("FT_Short") public short yMax_Extent() { return nyMax_Extent(address()); } /** @return the value of the {@code caret_Slope_Rise} field. @NativeType("FT_Short") public short caret_Slope_Rise() { return ncaret_Slope_Rise(address()); } /** @return the value of the {@code caret_Slope_Run} field. @NativeType("FT_Short") public short caret_Slope_Run() { return ncaret_Slope_Run(address()); } /** @return the value of the {@code caret_Offset} field. @NativeType("FT_Short") public short caret_Offset() { return ncaret_Offset(address()); } /** @return a {@link ShortBuffer} view of the {@code Reserved} field. @NativeType("FT_Short[4]") public ShortBuffer Reserved() { return nReserved(address()); } /** @return the value at the specified index of the {@code Reserved} field. @NativeType("FT_Short") public short Reserved(int index) { return nReserved(address(), index); } /** @return the value of the {@code metric_Data_Format} field. @NativeType("FT_Short") public short metric_Data_Format() { return nmetric_Data_Format(address()); } /** @return the value of the {@code number_Of_VMetrics} field. @NativeType("FT_UShort") public short number_Of_VMetrics() { return nnumber_Of_VMetrics(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code long_metrics} field. @NativeType("void *") public @Nullable ByteBuffer long_metrics(int capacity) { return nlong_metrics(address(), capacity); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code short_metrics} field. @NativeType("void *") public @Nullable ByteBuffer short_metrics(int capacity) { return nshort_metrics(address(), capacity); } // ----------------------------------- /** Returns a new {@code TT_VertHeader} instance for the specified memory address.
TT_VertHeader::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
BSD-3-Clause
public static @Nullable TT_VertHeader createSafe(long address) { return address == NULL ? null : new TT_VertHeader(address, null); }
Creates a {@code TT_VertHeader} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public TT_VertHeader(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code Version} field. @NativeType("FT_Fixed") public long Version() { return nVersion(address()); } /** @return the value of the {@code Ascender} field. @NativeType("FT_Short") public short Ascender() { return nAscender(address()); } /** @return the value of the {@code Descender} field. @NativeType("FT_Short") public short Descender() { return nDescender(address()); } /** @return the value of the {@code Line_Gap} field. @NativeType("FT_Short") public short Line_Gap() { return nLine_Gap(address()); } /** @return the value of the {@code advance_Height_Max} field. @NativeType("FT_UShort") public short advance_Height_Max() { return nadvance_Height_Max(address()); } /** @return the value of the {@code min_Top_Side_Bearing} field. @NativeType("FT_Short") public short min_Top_Side_Bearing() { return nmin_Top_Side_Bearing(address()); } /** @return the value of the {@code min_Bottom_Side_Bearing} field. @NativeType("FT_Short") public short min_Bottom_Side_Bearing() { return nmin_Bottom_Side_Bearing(address()); } /** @return the value of the {@code yMax_Extent} field. @NativeType("FT_Short") public short yMax_Extent() { return nyMax_Extent(address()); } /** @return the value of the {@code caret_Slope_Rise} field. @NativeType("FT_Short") public short caret_Slope_Rise() { return ncaret_Slope_Rise(address()); } /** @return the value of the {@code caret_Slope_Run} field. @NativeType("FT_Short") public short caret_Slope_Run() { return ncaret_Slope_Run(address()); } /** @return the value of the {@code caret_Offset} field. @NativeType("FT_Short") public short caret_Offset() { return ncaret_Offset(address()); } /** @return a {@link ShortBuffer} view of the {@code Reserved} field. @NativeType("FT_Short[4]") public ShortBuffer Reserved() { return nReserved(address()); } /** @return the value at the specified index of the {@code Reserved} field. @NativeType("FT_Short") public short Reserved(int index) { return nReserved(address(), index); } /** @return the value of the {@code metric_Data_Format} field. @NativeType("FT_Short") public short metric_Data_Format() { return nmetric_Data_Format(address()); } /** @return the value of the {@code number_Of_VMetrics} field. @NativeType("FT_UShort") public short number_Of_VMetrics() { return nnumber_Of_VMetrics(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code long_metrics} field. @NativeType("void *") public @Nullable ByteBuffer long_metrics(int capacity) { return nlong_metrics(address(), capacity); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code short_metrics} field. @NativeType("void *") public @Nullable ByteBuffer short_metrics(int capacity) { return nshort_metrics(address(), capacity); } // ----------------------------------- /** Returns a new {@code TT_VertHeader} instance for the specified memory address. public static TT_VertHeader create(long address) { return new TT_VertHeader(address, null); } /** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}.
TT_VertHeader::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
BSD-3-Clause
public static TT_VertHeader.Buffer create(long address, int capacity) { return new Buffer(address, capacity); }
Create a {@link TT_VertHeader.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity
TT_VertHeader::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
BSD-3-Clause
public static TT_VertHeader.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); }
Create a {@link TT_VertHeader.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_VertHeader.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
TT_VertHeader::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
BSD-3-Clause
public static long nVersion(long struct) { return memGetCLong(struct + TT_VertHeader.VERSION); }
Create a {@link TT_VertHeader.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_VertHeader.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_VertHeader.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}.
TT_VertHeader::nVersion
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
BSD-3-Clause
public static short nAscender(long struct) { return memGetShort(struct + TT_VertHeader.ASCENDER); }
Create a {@link TT_VertHeader.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_VertHeader.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_VertHeader.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_VertHeader.VERSION); } /** Unsafe version of {@link #Ascender}.
TT_VertHeader::nAscender
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
BSD-3-Clause
public static short nDescender(long struct) { return memGetShort(struct + TT_VertHeader.DESCENDER); }
Create a {@link TT_VertHeader.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_VertHeader.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_VertHeader.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_VertHeader.VERSION); } /** Unsafe version of {@link #Ascender}. public static short nAscender(long struct) { return memGetShort(struct + TT_VertHeader.ASCENDER); } /** Unsafe version of {@link #Descender}.
TT_VertHeader::nDescender
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
BSD-3-Clause
public static short nLine_Gap(long struct) { return memGetShort(struct + TT_VertHeader.LINE_GAP); }
Create a {@link TT_VertHeader.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_VertHeader.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_VertHeader.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_VertHeader.VERSION); } /** Unsafe version of {@link #Ascender}. public static short nAscender(long struct) { return memGetShort(struct + TT_VertHeader.ASCENDER); } /** Unsafe version of {@link #Descender}. public static short nDescender(long struct) { return memGetShort(struct + TT_VertHeader.DESCENDER); } /** Unsafe version of {@link #Line_Gap}.
TT_VertHeader::nLine_Gap
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
BSD-3-Clause
public static short nadvance_Height_Max(long struct) { return memGetShort(struct + TT_VertHeader.ADVANCE_HEIGHT_MAX); }
Create a {@link TT_VertHeader.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_VertHeader.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_VertHeader.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_VertHeader.VERSION); } /** Unsafe version of {@link #Ascender}. public static short nAscender(long struct) { return memGetShort(struct + TT_VertHeader.ASCENDER); } /** Unsafe version of {@link #Descender}. public static short nDescender(long struct) { return memGetShort(struct + TT_VertHeader.DESCENDER); } /** Unsafe version of {@link #Line_Gap}. public static short nLine_Gap(long struct) { return memGetShort(struct + TT_VertHeader.LINE_GAP); } /** Unsafe version of {@link #advance_Height_Max}.
TT_VertHeader::nadvance_Height_Max
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
BSD-3-Clause
public static short nmin_Top_Side_Bearing(long struct) { return memGetShort(struct + TT_VertHeader.MIN_TOP_SIDE_BEARING); }
Create a {@link TT_VertHeader.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_VertHeader.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_VertHeader.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_VertHeader.VERSION); } /** Unsafe version of {@link #Ascender}. public static short nAscender(long struct) { return memGetShort(struct + TT_VertHeader.ASCENDER); } /** Unsafe version of {@link #Descender}. public static short nDescender(long struct) { return memGetShort(struct + TT_VertHeader.DESCENDER); } /** Unsafe version of {@link #Line_Gap}. public static short nLine_Gap(long struct) { return memGetShort(struct + TT_VertHeader.LINE_GAP); } /** Unsafe version of {@link #advance_Height_Max}. public static short nadvance_Height_Max(long struct) { return memGetShort(struct + TT_VertHeader.ADVANCE_HEIGHT_MAX); } /** Unsafe version of {@link #min_Top_Side_Bearing}.
TT_VertHeader::nmin_Top_Side_Bearing
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
BSD-3-Clause
public static short nmin_Bottom_Side_Bearing(long struct) { return memGetShort(struct + TT_VertHeader.MIN_BOTTOM_SIDE_BEARING); }
Create a {@link TT_VertHeader.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_VertHeader.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_VertHeader.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_VertHeader.VERSION); } /** Unsafe version of {@link #Ascender}. public static short nAscender(long struct) { return memGetShort(struct + TT_VertHeader.ASCENDER); } /** Unsafe version of {@link #Descender}. public static short nDescender(long struct) { return memGetShort(struct + TT_VertHeader.DESCENDER); } /** Unsafe version of {@link #Line_Gap}. public static short nLine_Gap(long struct) { return memGetShort(struct + TT_VertHeader.LINE_GAP); } /** Unsafe version of {@link #advance_Height_Max}. public static short nadvance_Height_Max(long struct) { return memGetShort(struct + TT_VertHeader.ADVANCE_HEIGHT_MAX); } /** Unsafe version of {@link #min_Top_Side_Bearing}. public static short nmin_Top_Side_Bearing(long struct) { return memGetShort(struct + TT_VertHeader.MIN_TOP_SIDE_BEARING); } /** Unsafe version of {@link #min_Bottom_Side_Bearing}.
TT_VertHeader::nmin_Bottom_Side_Bearing
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
BSD-3-Clause
public static short nyMax_Extent(long struct) { return memGetShort(struct + TT_VertHeader.YMAX_EXTENT); }
Create a {@link TT_VertHeader.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_VertHeader.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_VertHeader.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_VertHeader.VERSION); } /** Unsafe version of {@link #Ascender}. public static short nAscender(long struct) { return memGetShort(struct + TT_VertHeader.ASCENDER); } /** Unsafe version of {@link #Descender}. public static short nDescender(long struct) { return memGetShort(struct + TT_VertHeader.DESCENDER); } /** Unsafe version of {@link #Line_Gap}. public static short nLine_Gap(long struct) { return memGetShort(struct + TT_VertHeader.LINE_GAP); } /** Unsafe version of {@link #advance_Height_Max}. public static short nadvance_Height_Max(long struct) { return memGetShort(struct + TT_VertHeader.ADVANCE_HEIGHT_MAX); } /** Unsafe version of {@link #min_Top_Side_Bearing}. public static short nmin_Top_Side_Bearing(long struct) { return memGetShort(struct + TT_VertHeader.MIN_TOP_SIDE_BEARING); } /** Unsafe version of {@link #min_Bottom_Side_Bearing}. public static short nmin_Bottom_Side_Bearing(long struct) { return memGetShort(struct + TT_VertHeader.MIN_BOTTOM_SIDE_BEARING); } /** Unsafe version of {@link #yMax_Extent}.
TT_VertHeader::nyMax_Extent
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
BSD-3-Clause
public static short ncaret_Slope_Rise(long struct) { return memGetShort(struct + TT_VertHeader.CARET_SLOPE_RISE); }
Create a {@link TT_VertHeader.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_VertHeader.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_VertHeader.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_VertHeader.VERSION); } /** Unsafe version of {@link #Ascender}. public static short nAscender(long struct) { return memGetShort(struct + TT_VertHeader.ASCENDER); } /** Unsafe version of {@link #Descender}. public static short nDescender(long struct) { return memGetShort(struct + TT_VertHeader.DESCENDER); } /** Unsafe version of {@link #Line_Gap}. public static short nLine_Gap(long struct) { return memGetShort(struct + TT_VertHeader.LINE_GAP); } /** Unsafe version of {@link #advance_Height_Max}. public static short nadvance_Height_Max(long struct) { return memGetShort(struct + TT_VertHeader.ADVANCE_HEIGHT_MAX); } /** Unsafe version of {@link #min_Top_Side_Bearing}. public static short nmin_Top_Side_Bearing(long struct) { return memGetShort(struct + TT_VertHeader.MIN_TOP_SIDE_BEARING); } /** Unsafe version of {@link #min_Bottom_Side_Bearing}. public static short nmin_Bottom_Side_Bearing(long struct) { return memGetShort(struct + TT_VertHeader.MIN_BOTTOM_SIDE_BEARING); } /** Unsafe version of {@link #yMax_Extent}. public static short nyMax_Extent(long struct) { return memGetShort(struct + TT_VertHeader.YMAX_EXTENT); } /** Unsafe version of {@link #caret_Slope_Rise}.
TT_VertHeader::ncaret_Slope_Rise
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
BSD-3-Clause
public static short ncaret_Slope_Run(long struct) { return memGetShort(struct + TT_VertHeader.CARET_SLOPE_RUN); }
Create a {@link TT_VertHeader.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_VertHeader.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_VertHeader.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_VertHeader.VERSION); } /** Unsafe version of {@link #Ascender}. public static short nAscender(long struct) { return memGetShort(struct + TT_VertHeader.ASCENDER); } /** Unsafe version of {@link #Descender}. public static short nDescender(long struct) { return memGetShort(struct + TT_VertHeader.DESCENDER); } /** Unsafe version of {@link #Line_Gap}. public static short nLine_Gap(long struct) { return memGetShort(struct + TT_VertHeader.LINE_GAP); } /** Unsafe version of {@link #advance_Height_Max}. public static short nadvance_Height_Max(long struct) { return memGetShort(struct + TT_VertHeader.ADVANCE_HEIGHT_MAX); } /** Unsafe version of {@link #min_Top_Side_Bearing}. public static short nmin_Top_Side_Bearing(long struct) { return memGetShort(struct + TT_VertHeader.MIN_TOP_SIDE_BEARING); } /** Unsafe version of {@link #min_Bottom_Side_Bearing}. public static short nmin_Bottom_Side_Bearing(long struct) { return memGetShort(struct + TT_VertHeader.MIN_BOTTOM_SIDE_BEARING); } /** Unsafe version of {@link #yMax_Extent}. public static short nyMax_Extent(long struct) { return memGetShort(struct + TT_VertHeader.YMAX_EXTENT); } /** Unsafe version of {@link #caret_Slope_Rise}. public static short ncaret_Slope_Rise(long struct) { return memGetShort(struct + TT_VertHeader.CARET_SLOPE_RISE); } /** Unsafe version of {@link #caret_Slope_Run}.
TT_VertHeader::ncaret_Slope_Run
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
BSD-3-Clause
public static short ncaret_Offset(long struct) { return memGetShort(struct + TT_VertHeader.CARET_OFFSET); }
Create a {@link TT_VertHeader.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_VertHeader.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_VertHeader.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_VertHeader.VERSION); } /** Unsafe version of {@link #Ascender}. public static short nAscender(long struct) { return memGetShort(struct + TT_VertHeader.ASCENDER); } /** Unsafe version of {@link #Descender}. public static short nDescender(long struct) { return memGetShort(struct + TT_VertHeader.DESCENDER); } /** Unsafe version of {@link #Line_Gap}. public static short nLine_Gap(long struct) { return memGetShort(struct + TT_VertHeader.LINE_GAP); } /** Unsafe version of {@link #advance_Height_Max}. public static short nadvance_Height_Max(long struct) { return memGetShort(struct + TT_VertHeader.ADVANCE_HEIGHT_MAX); } /** Unsafe version of {@link #min_Top_Side_Bearing}. public static short nmin_Top_Side_Bearing(long struct) { return memGetShort(struct + TT_VertHeader.MIN_TOP_SIDE_BEARING); } /** Unsafe version of {@link #min_Bottom_Side_Bearing}. public static short nmin_Bottom_Side_Bearing(long struct) { return memGetShort(struct + TT_VertHeader.MIN_BOTTOM_SIDE_BEARING); } /** Unsafe version of {@link #yMax_Extent}. public static short nyMax_Extent(long struct) { return memGetShort(struct + TT_VertHeader.YMAX_EXTENT); } /** Unsafe version of {@link #caret_Slope_Rise}. public static short ncaret_Slope_Rise(long struct) { return memGetShort(struct + TT_VertHeader.CARET_SLOPE_RISE); } /** Unsafe version of {@link #caret_Slope_Run}. public static short ncaret_Slope_Run(long struct) { return memGetShort(struct + TT_VertHeader.CARET_SLOPE_RUN); } /** Unsafe version of {@link #caret_Offset}.
TT_VertHeader::ncaret_Offset
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
BSD-3-Clause
public static ShortBuffer nReserved(long struct) { return memShortBuffer(struct + TT_VertHeader.RESERVED, 4); }
Create a {@link TT_VertHeader.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_VertHeader.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_VertHeader.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_VertHeader.VERSION); } /** Unsafe version of {@link #Ascender}. public static short nAscender(long struct) { return memGetShort(struct + TT_VertHeader.ASCENDER); } /** Unsafe version of {@link #Descender}. public static short nDescender(long struct) { return memGetShort(struct + TT_VertHeader.DESCENDER); } /** Unsafe version of {@link #Line_Gap}. public static short nLine_Gap(long struct) { return memGetShort(struct + TT_VertHeader.LINE_GAP); } /** Unsafe version of {@link #advance_Height_Max}. public static short nadvance_Height_Max(long struct) { return memGetShort(struct + TT_VertHeader.ADVANCE_HEIGHT_MAX); } /** Unsafe version of {@link #min_Top_Side_Bearing}. public static short nmin_Top_Side_Bearing(long struct) { return memGetShort(struct + TT_VertHeader.MIN_TOP_SIDE_BEARING); } /** Unsafe version of {@link #min_Bottom_Side_Bearing}. public static short nmin_Bottom_Side_Bearing(long struct) { return memGetShort(struct + TT_VertHeader.MIN_BOTTOM_SIDE_BEARING); } /** Unsafe version of {@link #yMax_Extent}. public static short nyMax_Extent(long struct) { return memGetShort(struct + TT_VertHeader.YMAX_EXTENT); } /** Unsafe version of {@link #caret_Slope_Rise}. public static short ncaret_Slope_Rise(long struct) { return memGetShort(struct + TT_VertHeader.CARET_SLOPE_RISE); } /** Unsafe version of {@link #caret_Slope_Run}. public static short ncaret_Slope_Run(long struct) { return memGetShort(struct + TT_VertHeader.CARET_SLOPE_RUN); } /** Unsafe version of {@link #caret_Offset}. public static short ncaret_Offset(long struct) { return memGetShort(struct + TT_VertHeader.CARET_OFFSET); } /** Unsafe version of {@link #Reserved}.
TT_VertHeader::nReserved
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
BSD-3-Clause
public static short nReserved(long struct, int index) { return memGetShort(struct + TT_VertHeader.RESERVED + check(index, 4) * 2); }
Create a {@link TT_VertHeader.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_VertHeader.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_VertHeader.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_VertHeader.VERSION); } /** Unsafe version of {@link #Ascender}. public static short nAscender(long struct) { return memGetShort(struct + TT_VertHeader.ASCENDER); } /** Unsafe version of {@link #Descender}. public static short nDescender(long struct) { return memGetShort(struct + TT_VertHeader.DESCENDER); } /** Unsafe version of {@link #Line_Gap}. public static short nLine_Gap(long struct) { return memGetShort(struct + TT_VertHeader.LINE_GAP); } /** Unsafe version of {@link #advance_Height_Max}. public static short nadvance_Height_Max(long struct) { return memGetShort(struct + TT_VertHeader.ADVANCE_HEIGHT_MAX); } /** Unsafe version of {@link #min_Top_Side_Bearing}. public static short nmin_Top_Side_Bearing(long struct) { return memGetShort(struct + TT_VertHeader.MIN_TOP_SIDE_BEARING); } /** Unsafe version of {@link #min_Bottom_Side_Bearing}. public static short nmin_Bottom_Side_Bearing(long struct) { return memGetShort(struct + TT_VertHeader.MIN_BOTTOM_SIDE_BEARING); } /** Unsafe version of {@link #yMax_Extent}. public static short nyMax_Extent(long struct) { return memGetShort(struct + TT_VertHeader.YMAX_EXTENT); } /** Unsafe version of {@link #caret_Slope_Rise}. public static short ncaret_Slope_Rise(long struct) { return memGetShort(struct + TT_VertHeader.CARET_SLOPE_RISE); } /** Unsafe version of {@link #caret_Slope_Run}. public static short ncaret_Slope_Run(long struct) { return memGetShort(struct + TT_VertHeader.CARET_SLOPE_RUN); } /** Unsafe version of {@link #caret_Offset}. public static short ncaret_Offset(long struct) { return memGetShort(struct + TT_VertHeader.CARET_OFFSET); } /** Unsafe version of {@link #Reserved}. public static ShortBuffer nReserved(long struct) { return memShortBuffer(struct + TT_VertHeader.RESERVED, 4); } /** Unsafe version of {@link #Reserved(int) Reserved}.
TT_VertHeader::nReserved
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
BSD-3-Clause
public static short nmetric_Data_Format(long struct) { return memGetShort(struct + TT_VertHeader.METRIC_DATA_FORMAT); }
Create a {@link TT_VertHeader.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_VertHeader.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_VertHeader.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_VertHeader.VERSION); } /** Unsafe version of {@link #Ascender}. public static short nAscender(long struct) { return memGetShort(struct + TT_VertHeader.ASCENDER); } /** Unsafe version of {@link #Descender}. public static short nDescender(long struct) { return memGetShort(struct + TT_VertHeader.DESCENDER); } /** Unsafe version of {@link #Line_Gap}. public static short nLine_Gap(long struct) { return memGetShort(struct + TT_VertHeader.LINE_GAP); } /** Unsafe version of {@link #advance_Height_Max}. public static short nadvance_Height_Max(long struct) { return memGetShort(struct + TT_VertHeader.ADVANCE_HEIGHT_MAX); } /** Unsafe version of {@link #min_Top_Side_Bearing}. public static short nmin_Top_Side_Bearing(long struct) { return memGetShort(struct + TT_VertHeader.MIN_TOP_SIDE_BEARING); } /** Unsafe version of {@link #min_Bottom_Side_Bearing}. public static short nmin_Bottom_Side_Bearing(long struct) { return memGetShort(struct + TT_VertHeader.MIN_BOTTOM_SIDE_BEARING); } /** Unsafe version of {@link #yMax_Extent}. public static short nyMax_Extent(long struct) { return memGetShort(struct + TT_VertHeader.YMAX_EXTENT); } /** Unsafe version of {@link #caret_Slope_Rise}. public static short ncaret_Slope_Rise(long struct) { return memGetShort(struct + TT_VertHeader.CARET_SLOPE_RISE); } /** Unsafe version of {@link #caret_Slope_Run}. public static short ncaret_Slope_Run(long struct) { return memGetShort(struct + TT_VertHeader.CARET_SLOPE_RUN); } /** Unsafe version of {@link #caret_Offset}. public static short ncaret_Offset(long struct) { return memGetShort(struct + TT_VertHeader.CARET_OFFSET); } /** Unsafe version of {@link #Reserved}. public static ShortBuffer nReserved(long struct) { return memShortBuffer(struct + TT_VertHeader.RESERVED, 4); } /** Unsafe version of {@link #Reserved(int) Reserved}. public static short nReserved(long struct, int index) { return memGetShort(struct + TT_VertHeader.RESERVED + check(index, 4) * 2); } /** Unsafe version of {@link #metric_Data_Format}.
TT_VertHeader::nmetric_Data_Format
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
BSD-3-Clause
public static short nnumber_Of_VMetrics(long struct) { return memGetShort(struct + TT_VertHeader.NUMBER_OF_VMETRICS); }
Create a {@link TT_VertHeader.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_VertHeader.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_VertHeader.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_VertHeader.VERSION); } /** Unsafe version of {@link #Ascender}. public static short nAscender(long struct) { return memGetShort(struct + TT_VertHeader.ASCENDER); } /** Unsafe version of {@link #Descender}. public static short nDescender(long struct) { return memGetShort(struct + TT_VertHeader.DESCENDER); } /** Unsafe version of {@link #Line_Gap}. public static short nLine_Gap(long struct) { return memGetShort(struct + TT_VertHeader.LINE_GAP); } /** Unsafe version of {@link #advance_Height_Max}. public static short nadvance_Height_Max(long struct) { return memGetShort(struct + TT_VertHeader.ADVANCE_HEIGHT_MAX); } /** Unsafe version of {@link #min_Top_Side_Bearing}. public static short nmin_Top_Side_Bearing(long struct) { return memGetShort(struct + TT_VertHeader.MIN_TOP_SIDE_BEARING); } /** Unsafe version of {@link #min_Bottom_Side_Bearing}. public static short nmin_Bottom_Side_Bearing(long struct) { return memGetShort(struct + TT_VertHeader.MIN_BOTTOM_SIDE_BEARING); } /** Unsafe version of {@link #yMax_Extent}. public static short nyMax_Extent(long struct) { return memGetShort(struct + TT_VertHeader.YMAX_EXTENT); } /** Unsafe version of {@link #caret_Slope_Rise}. public static short ncaret_Slope_Rise(long struct) { return memGetShort(struct + TT_VertHeader.CARET_SLOPE_RISE); } /** Unsafe version of {@link #caret_Slope_Run}. public static short ncaret_Slope_Run(long struct) { return memGetShort(struct + TT_VertHeader.CARET_SLOPE_RUN); } /** Unsafe version of {@link #caret_Offset}. public static short ncaret_Offset(long struct) { return memGetShort(struct + TT_VertHeader.CARET_OFFSET); } /** Unsafe version of {@link #Reserved}. public static ShortBuffer nReserved(long struct) { return memShortBuffer(struct + TT_VertHeader.RESERVED, 4); } /** Unsafe version of {@link #Reserved(int) Reserved}. public static short nReserved(long struct, int index) { return memGetShort(struct + TT_VertHeader.RESERVED + check(index, 4) * 2); } /** Unsafe version of {@link #metric_Data_Format}. public static short nmetric_Data_Format(long struct) { return memGetShort(struct + TT_VertHeader.METRIC_DATA_FORMAT); } /** Unsafe version of {@link #number_Of_VMetrics}.
TT_VertHeader::nnumber_Of_VMetrics
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
BSD-3-Clause
public static @Nullable ByteBuffer nlong_metrics(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + TT_VertHeader.LONG_METRICS), capacity); }
Create a {@link TT_VertHeader.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_VertHeader.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_VertHeader.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_VertHeader.VERSION); } /** Unsafe version of {@link #Ascender}. public static short nAscender(long struct) { return memGetShort(struct + TT_VertHeader.ASCENDER); } /** Unsafe version of {@link #Descender}. public static short nDescender(long struct) { return memGetShort(struct + TT_VertHeader.DESCENDER); } /** Unsafe version of {@link #Line_Gap}. public static short nLine_Gap(long struct) { return memGetShort(struct + TT_VertHeader.LINE_GAP); } /** Unsafe version of {@link #advance_Height_Max}. public static short nadvance_Height_Max(long struct) { return memGetShort(struct + TT_VertHeader.ADVANCE_HEIGHT_MAX); } /** Unsafe version of {@link #min_Top_Side_Bearing}. public static short nmin_Top_Side_Bearing(long struct) { return memGetShort(struct + TT_VertHeader.MIN_TOP_SIDE_BEARING); } /** Unsafe version of {@link #min_Bottom_Side_Bearing}. public static short nmin_Bottom_Side_Bearing(long struct) { return memGetShort(struct + TT_VertHeader.MIN_BOTTOM_SIDE_BEARING); } /** Unsafe version of {@link #yMax_Extent}. public static short nyMax_Extent(long struct) { return memGetShort(struct + TT_VertHeader.YMAX_EXTENT); } /** Unsafe version of {@link #caret_Slope_Rise}. public static short ncaret_Slope_Rise(long struct) { return memGetShort(struct + TT_VertHeader.CARET_SLOPE_RISE); } /** Unsafe version of {@link #caret_Slope_Run}. public static short ncaret_Slope_Run(long struct) { return memGetShort(struct + TT_VertHeader.CARET_SLOPE_RUN); } /** Unsafe version of {@link #caret_Offset}. public static short ncaret_Offset(long struct) { return memGetShort(struct + TT_VertHeader.CARET_OFFSET); } /** Unsafe version of {@link #Reserved}. public static ShortBuffer nReserved(long struct) { return memShortBuffer(struct + TT_VertHeader.RESERVED, 4); } /** Unsafe version of {@link #Reserved(int) Reserved}. public static short nReserved(long struct, int index) { return memGetShort(struct + TT_VertHeader.RESERVED + check(index, 4) * 2); } /** Unsafe version of {@link #metric_Data_Format}. public static short nmetric_Data_Format(long struct) { return memGetShort(struct + TT_VertHeader.METRIC_DATA_FORMAT); } /** Unsafe version of {@link #number_Of_VMetrics}. public static short nnumber_Of_VMetrics(long struct) { return memGetShort(struct + TT_VertHeader.NUMBER_OF_VMETRICS); } /** Unsafe version of {@link #long_metrics(int) long_metrics}.
TT_VertHeader::nlong_metrics
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
BSD-3-Clause
public static @Nullable ByteBuffer nshort_metrics(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + TT_VertHeader.SHORT_METRICS), capacity); }
Create a {@link TT_VertHeader.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_VertHeader.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_VertHeader.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_VertHeader.VERSION); } /** Unsafe version of {@link #Ascender}. public static short nAscender(long struct) { return memGetShort(struct + TT_VertHeader.ASCENDER); } /** Unsafe version of {@link #Descender}. public static short nDescender(long struct) { return memGetShort(struct + TT_VertHeader.DESCENDER); } /** Unsafe version of {@link #Line_Gap}. public static short nLine_Gap(long struct) { return memGetShort(struct + TT_VertHeader.LINE_GAP); } /** Unsafe version of {@link #advance_Height_Max}. public static short nadvance_Height_Max(long struct) { return memGetShort(struct + TT_VertHeader.ADVANCE_HEIGHT_MAX); } /** Unsafe version of {@link #min_Top_Side_Bearing}. public static short nmin_Top_Side_Bearing(long struct) { return memGetShort(struct + TT_VertHeader.MIN_TOP_SIDE_BEARING); } /** Unsafe version of {@link #min_Bottom_Side_Bearing}. public static short nmin_Bottom_Side_Bearing(long struct) { return memGetShort(struct + TT_VertHeader.MIN_BOTTOM_SIDE_BEARING); } /** Unsafe version of {@link #yMax_Extent}. public static short nyMax_Extent(long struct) { return memGetShort(struct + TT_VertHeader.YMAX_EXTENT); } /** Unsafe version of {@link #caret_Slope_Rise}. public static short ncaret_Slope_Rise(long struct) { return memGetShort(struct + TT_VertHeader.CARET_SLOPE_RISE); } /** Unsafe version of {@link #caret_Slope_Run}. public static short ncaret_Slope_Run(long struct) { return memGetShort(struct + TT_VertHeader.CARET_SLOPE_RUN); } /** Unsafe version of {@link #caret_Offset}. public static short ncaret_Offset(long struct) { return memGetShort(struct + TT_VertHeader.CARET_OFFSET); } /** Unsafe version of {@link #Reserved}. public static ShortBuffer nReserved(long struct) { return memShortBuffer(struct + TT_VertHeader.RESERVED, 4); } /** Unsafe version of {@link #Reserved(int) Reserved}. public static short nReserved(long struct, int index) { return memGetShort(struct + TT_VertHeader.RESERVED + check(index, 4) * 2); } /** Unsafe version of {@link #metric_Data_Format}. public static short nmetric_Data_Format(long struct) { return memGetShort(struct + TT_VertHeader.METRIC_DATA_FORMAT); } /** Unsafe version of {@link #number_Of_VMetrics}. public static short nnumber_Of_VMetrics(long struct) { return memGetShort(struct + TT_VertHeader.NUMBER_OF_VMETRICS); } /** Unsafe version of {@link #long_metrics(int) long_metrics}. public static @Nullable ByteBuffer nlong_metrics(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + TT_VertHeader.LONG_METRICS), capacity); } /** Unsafe version of {@link #short_metrics(int) short_metrics}.
TT_VertHeader::nshort_metrics
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_VertHeader.java
BSD-3-Clause
public FT_PaintColrGlyph(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); }
Creates a {@code FT_PaintColrGlyph} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p>
FT_PaintColrGlyph::FT_PaintColrGlyph
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintColrGlyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintColrGlyph.java
BSD-3-Clause
public static FT_PaintColrGlyph create(long address) { return new FT_PaintColrGlyph(address, null); }
Creates a {@code FT_PaintColrGlyph} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_PaintColrGlyph(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code glyphID} field. @NativeType("FT_UInt") public int glyphID() { return nglyphID(address()); } // ----------------------------------- /** Returns a new {@code FT_PaintColrGlyph} instance for the specified memory address.
FT_PaintColrGlyph::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintColrGlyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintColrGlyph.java
BSD-3-Clause
public static @Nullable FT_PaintColrGlyph createSafe(long address) { return address == NULL ? null : new FT_PaintColrGlyph(address, null); }
Creates a {@code FT_PaintColrGlyph} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_PaintColrGlyph(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code glyphID} field. @NativeType("FT_UInt") public int glyphID() { return nglyphID(address()); } // ----------------------------------- /** Returns a new {@code FT_PaintColrGlyph} instance for the specified memory address. public static FT_PaintColrGlyph create(long address) { return new FT_PaintColrGlyph(address, null); } /** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}.
FT_PaintColrGlyph::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintColrGlyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintColrGlyph.java
BSD-3-Clause
public static FT_PaintColrGlyph.Buffer create(long address, int capacity) { return new Buffer(address, capacity); }
Create a {@link FT_PaintColrGlyph.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity
FT_PaintColrGlyph::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintColrGlyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintColrGlyph.java
BSD-3-Clause
public static FT_PaintColrGlyph.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); }
Create a {@link FT_PaintColrGlyph.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_PaintColrGlyph.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
FT_PaintColrGlyph::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintColrGlyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintColrGlyph.java
BSD-3-Clause
public static int nglyphID(long struct) { return memGetInt(struct + FT_PaintColrGlyph.GLYPHID); }
Create a {@link FT_PaintColrGlyph.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_PaintColrGlyph.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static FT_PaintColrGlyph.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #glyphID}.
FT_PaintColrGlyph::nglyphID
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintColrGlyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintColrGlyph.java
BSD-3-Clause
public FT_Incremental_Funcs(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); }
Creates a {@code FT_Incremental_Funcs} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p>
FT_Incremental_Funcs::FT_Incremental_Funcs
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public FT_Incremental_GetGlyphDataFunc get_glyph_data() { return nget_glyph_data(address()); }
Creates a {@code FT_Incremental_Funcs} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_Incremental_Funcs(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code get_glyph_data} field.
FT_Incremental_Funcs::get_glyph_data
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public FT_Incremental_FreeGlyphDataFunc free_glyph_data() { return nfree_glyph_data(address()); }
Creates a {@code FT_Incremental_Funcs} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_Incremental_Funcs(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code get_glyph_data} field. public FT_Incremental_GetGlyphDataFunc get_glyph_data() { return nget_glyph_data(address()); } /** @return the value of the {@code free_glyph_data} field.
FT_Incremental_Funcs::free_glyph_data
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public @Nullable FT_Incremental_GetGlyphMetricsFunc get_glyph_metrics() { return nget_glyph_metrics(address()); }
Creates a {@code FT_Incremental_Funcs} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_Incremental_Funcs(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code get_glyph_data} field. public FT_Incremental_GetGlyphDataFunc get_glyph_data() { return nget_glyph_data(address()); } /** @return the value of the {@code free_glyph_data} field. public FT_Incremental_FreeGlyphDataFunc free_glyph_data() { return nfree_glyph_data(address()); } /** @return the value of the {@code get_glyph_metrics} field.
FT_Incremental_Funcs::get_glyph_metrics
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public FT_Incremental_Funcs get_glyph_data(@NativeType("FT_Incremental_GetGlyphDataFunc") FT_Incremental_GetGlyphDataFuncI value) { nget_glyph_data(address(), value); return this; }
Creates a {@code FT_Incremental_Funcs} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_Incremental_Funcs(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code get_glyph_data} field. public FT_Incremental_GetGlyphDataFunc get_glyph_data() { return nget_glyph_data(address()); } /** @return the value of the {@code free_glyph_data} field. public FT_Incremental_FreeGlyphDataFunc free_glyph_data() { return nfree_glyph_data(address()); } /** @return the value of the {@code get_glyph_metrics} field. public @Nullable FT_Incremental_GetGlyphMetricsFunc get_glyph_metrics() { return nget_glyph_metrics(address()); } /** Sets the specified value to the {@code get_glyph_data} field.
FT_Incremental_Funcs::get_glyph_data
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public FT_Incremental_Funcs free_glyph_data(@NativeType("FT_Incremental_FreeGlyphDataFunc") FT_Incremental_FreeGlyphDataFuncI value) { nfree_glyph_data(address(), value); return this; }
Creates a {@code FT_Incremental_Funcs} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_Incremental_Funcs(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code get_glyph_data} field. public FT_Incremental_GetGlyphDataFunc get_glyph_data() { return nget_glyph_data(address()); } /** @return the value of the {@code free_glyph_data} field. public FT_Incremental_FreeGlyphDataFunc free_glyph_data() { return nfree_glyph_data(address()); } /** @return the value of the {@code get_glyph_metrics} field. public @Nullable FT_Incremental_GetGlyphMetricsFunc get_glyph_metrics() { return nget_glyph_metrics(address()); } /** Sets the specified value to the {@code get_glyph_data} field. public FT_Incremental_Funcs get_glyph_data(@NativeType("FT_Incremental_GetGlyphDataFunc") FT_Incremental_GetGlyphDataFuncI value) { nget_glyph_data(address(), value); return this; } /** Sets the specified value to the {@code free_glyph_data} field.
FT_Incremental_Funcs::free_glyph_data
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public FT_Incremental_Funcs get_glyph_metrics(@Nullable @NativeType("FT_Incremental_GetGlyphMetricsFunc") FT_Incremental_GetGlyphMetricsFuncI value) { nget_glyph_metrics(address(), value); return this; }
Creates a {@code FT_Incremental_Funcs} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_Incremental_Funcs(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code get_glyph_data} field. public FT_Incremental_GetGlyphDataFunc get_glyph_data() { return nget_glyph_data(address()); } /** @return the value of the {@code free_glyph_data} field. public FT_Incremental_FreeGlyphDataFunc free_glyph_data() { return nfree_glyph_data(address()); } /** @return the value of the {@code get_glyph_metrics} field. public @Nullable FT_Incremental_GetGlyphMetricsFunc get_glyph_metrics() { return nget_glyph_metrics(address()); } /** Sets the specified value to the {@code get_glyph_data} field. public FT_Incremental_Funcs get_glyph_data(@NativeType("FT_Incremental_GetGlyphDataFunc") FT_Incremental_GetGlyphDataFuncI value) { nget_glyph_data(address(), value); return this; } /** Sets the specified value to the {@code free_glyph_data} field. public FT_Incremental_Funcs free_glyph_data(@NativeType("FT_Incremental_FreeGlyphDataFunc") FT_Incremental_FreeGlyphDataFuncI value) { nfree_glyph_data(address(), value); return this; } /** Sets the specified value to the {@code get_glyph_metrics} field.
FT_Incremental_Funcs::get_glyph_metrics
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public FT_Incremental_Funcs set( FT_Incremental_GetGlyphDataFuncI get_glyph_data, FT_Incremental_FreeGlyphDataFuncI free_glyph_data, FT_Incremental_GetGlyphMetricsFuncI get_glyph_metrics ) { get_glyph_data(get_glyph_data); free_glyph_data(free_glyph_data); get_glyph_metrics(get_glyph_metrics); return this; }
Creates a {@code FT_Incremental_Funcs} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_Incremental_Funcs(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code get_glyph_data} field. public FT_Incremental_GetGlyphDataFunc get_glyph_data() { return nget_glyph_data(address()); } /** @return the value of the {@code free_glyph_data} field. public FT_Incremental_FreeGlyphDataFunc free_glyph_data() { return nfree_glyph_data(address()); } /** @return the value of the {@code get_glyph_metrics} field. public @Nullable FT_Incremental_GetGlyphMetricsFunc get_glyph_metrics() { return nget_glyph_metrics(address()); } /** Sets the specified value to the {@code get_glyph_data} field. public FT_Incremental_Funcs get_glyph_data(@NativeType("FT_Incremental_GetGlyphDataFunc") FT_Incremental_GetGlyphDataFuncI value) { nget_glyph_data(address(), value); return this; } /** Sets the specified value to the {@code free_glyph_data} field. public FT_Incremental_Funcs free_glyph_data(@NativeType("FT_Incremental_FreeGlyphDataFunc") FT_Incremental_FreeGlyphDataFuncI value) { nfree_glyph_data(address(), value); return this; } /** Sets the specified value to the {@code get_glyph_metrics} field. public FT_Incremental_Funcs get_glyph_metrics(@Nullable @NativeType("FT_Incremental_GetGlyphMetricsFunc") FT_Incremental_GetGlyphMetricsFuncI value) { nget_glyph_metrics(address(), value); return this; } /** Initializes this struct with the specified values.
FT_Incremental_Funcs::set
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public static FT_Incremental_Funcs malloc() { return new FT_Incremental_Funcs(nmemAllocChecked(SIZEOF), null); }
Copies the specified struct data to this struct. @param src the source struct @return this struct public FT_Incremental_Funcs set(FT_Incremental_Funcs src) { memCopy(src.address(), address(), SIZEOF); return this; } // ----------------------------------- /** Returns a new {@code FT_Incremental_Funcs} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
FT_Incremental_Funcs::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public static FT_Incremental_Funcs calloc() { return new FT_Incremental_Funcs(nmemCallocChecked(1, SIZEOF), null); }
Copies the specified struct data to this struct. @param src the source struct @return this struct public FT_Incremental_Funcs set(FT_Incremental_Funcs src) { memCopy(src.address(), address(), SIZEOF); return this; } // ----------------------------------- /** Returns a new {@code FT_Incremental_Funcs} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_Incremental_Funcs malloc() { return new FT_Incremental_Funcs(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_Incremental_Funcs} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
FT_Incremental_Funcs::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public static FT_Incremental_Funcs create() { ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF); return new FT_Incremental_Funcs(memAddress(container), container); }
Copies the specified struct data to this struct. @param src the source struct @return this struct public FT_Incremental_Funcs set(FT_Incremental_Funcs src) { memCopy(src.address(), address(), SIZEOF); return this; } // ----------------------------------- /** Returns a new {@code FT_Incremental_Funcs} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_Incremental_Funcs malloc() { return new FT_Incremental_Funcs(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_Incremental_Funcs} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. public static FT_Incremental_Funcs calloc() { return new FT_Incremental_Funcs(nmemCallocChecked(1, SIZEOF), null); } /** Returns a new {@code FT_Incremental_Funcs} instance allocated with {@link BufferUtils}.
FT_Incremental_Funcs::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public static FT_Incremental_Funcs create(long address) { return new FT_Incremental_Funcs(address, null); }
Copies the specified struct data to this struct. @param src the source struct @return this struct public FT_Incremental_Funcs set(FT_Incremental_Funcs src) { memCopy(src.address(), address(), SIZEOF); return this; } // ----------------------------------- /** Returns a new {@code FT_Incremental_Funcs} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_Incremental_Funcs malloc() { return new FT_Incremental_Funcs(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_Incremental_Funcs} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. public static FT_Incremental_Funcs calloc() { return new FT_Incremental_Funcs(nmemCallocChecked(1, SIZEOF), null); } /** Returns a new {@code FT_Incremental_Funcs} instance allocated with {@link BufferUtils}. public static FT_Incremental_Funcs create() { ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF); return new FT_Incremental_Funcs(memAddress(container), container); } /** Returns a new {@code FT_Incremental_Funcs} instance for the specified memory address.
FT_Incremental_Funcs::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public static @Nullable FT_Incremental_Funcs createSafe(long address) { return address == NULL ? null : new FT_Incremental_Funcs(address, null); }
Copies the specified struct data to this struct. @param src the source struct @return this struct public FT_Incremental_Funcs set(FT_Incremental_Funcs src) { memCopy(src.address(), address(), SIZEOF); return this; } // ----------------------------------- /** Returns a new {@code FT_Incremental_Funcs} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_Incremental_Funcs malloc() { return new FT_Incremental_Funcs(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_Incremental_Funcs} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. public static FT_Incremental_Funcs calloc() { return new FT_Incremental_Funcs(nmemCallocChecked(1, SIZEOF), null); } /** Returns a new {@code FT_Incremental_Funcs} instance allocated with {@link BufferUtils}. public static FT_Incremental_Funcs create() { ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF); return new FT_Incremental_Funcs(memAddress(container), container); } /** Returns a new {@code FT_Incremental_Funcs} instance for the specified memory address. public static FT_Incremental_Funcs create(long address) { return new FT_Incremental_Funcs(address, null); } /** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}.
FT_Incremental_Funcs::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public static FT_Incremental_Funcs.Buffer malloc(int capacity) { return new Buffer(nmemAllocChecked(__checkMalloc(capacity, SIZEOF)), capacity); }
Returns a new {@link FT_Incremental_Funcs.Buffer} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. @param capacity the buffer capacity
FT_Incremental_Funcs::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public static FT_Incremental_Funcs.Buffer calloc(int capacity) { return new Buffer(nmemCallocChecked(capacity, SIZEOF), capacity); }
Returns a new {@link FT_Incremental_Funcs.Buffer} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. @param capacity the buffer capacity
FT_Incremental_Funcs::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public static FT_Incremental_Funcs.Buffer create(int capacity) { ByteBuffer container = __create(capacity, SIZEOF); return new Buffer(memAddress(container), container, -1, 0, capacity, capacity); }
Returns a new {@link FT_Incremental_Funcs.Buffer} instance allocated with {@link BufferUtils}. @param capacity the buffer capacity
FT_Incremental_Funcs::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public static FT_Incremental_Funcs.Buffer create(long address, int capacity) { return new Buffer(address, capacity); }
Create a {@link FT_Incremental_Funcs.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity
FT_Incremental_Funcs::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public static FT_Incremental_Funcs.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); }
Create a {@link FT_Incremental_Funcs.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Incremental_Funcs.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
FT_Incremental_Funcs::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public static FT_Incremental_Funcs malloc(MemoryStack stack) { return new FT_Incremental_Funcs(stack.nmalloc(ALIGNOF, SIZEOF), null); }
Returns a new {@code FT_Incremental_Funcs} instance allocated on the specified {@link MemoryStack}. @param stack the stack from which to allocate
FT_Incremental_Funcs::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public static FT_Incremental_Funcs calloc(MemoryStack stack) { return new FT_Incremental_Funcs(stack.ncalloc(ALIGNOF, 1, SIZEOF), null); }
Returns a new {@code FT_Incremental_Funcs} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate
FT_Incremental_Funcs::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public static FT_Incremental_Funcs.Buffer malloc(int capacity, MemoryStack stack) { return new Buffer(stack.nmalloc(ALIGNOF, capacity * SIZEOF), capacity); }
Returns a new {@link FT_Incremental_Funcs.Buffer} instance allocated on the specified {@link MemoryStack}. @param stack the stack from which to allocate @param capacity the buffer capacity
FT_Incremental_Funcs::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public static FT_Incremental_Funcs.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); }
Returns a new {@link FT_Incremental_Funcs.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity
FT_Incremental_Funcs::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public static FT_Incremental_GetGlyphDataFunc nget_glyph_data(long struct) { return FT_Incremental_GetGlyphDataFunc.create(memGetAddress(struct + FT_Incremental_Funcs.GET_GLYPH_DATA)); }
Returns a new {@link FT_Incremental_Funcs.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity public static FT_Incremental_Funcs.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #get_glyph_data}.
FT_Incremental_Funcs::nget_glyph_data
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public static FT_Incremental_FreeGlyphDataFunc nfree_glyph_data(long struct) { return FT_Incremental_FreeGlyphDataFunc.create(memGetAddress(struct + FT_Incremental_Funcs.FREE_GLYPH_DATA)); }
Returns a new {@link FT_Incremental_Funcs.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity public static FT_Incremental_Funcs.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #get_glyph_data}. public static FT_Incremental_GetGlyphDataFunc nget_glyph_data(long struct) { return FT_Incremental_GetGlyphDataFunc.create(memGetAddress(struct + FT_Incremental_Funcs.GET_GLYPH_DATA)); } /** Unsafe version of {@link #free_glyph_data}.
FT_Incremental_Funcs::nfree_glyph_data
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public static @Nullable FT_Incremental_GetGlyphMetricsFunc nget_glyph_metrics(long struct) { return FT_Incremental_GetGlyphMetricsFunc.createSafe(memGetAddress(struct + FT_Incremental_Funcs.GET_GLYPH_METRICS)); }
Returns a new {@link FT_Incremental_Funcs.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity public static FT_Incremental_Funcs.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #get_glyph_data}. public static FT_Incremental_GetGlyphDataFunc nget_glyph_data(long struct) { return FT_Incremental_GetGlyphDataFunc.create(memGetAddress(struct + FT_Incremental_Funcs.GET_GLYPH_DATA)); } /** Unsafe version of {@link #free_glyph_data}. public static FT_Incremental_FreeGlyphDataFunc nfree_glyph_data(long struct) { return FT_Incremental_FreeGlyphDataFunc.create(memGetAddress(struct + FT_Incremental_Funcs.FREE_GLYPH_DATA)); } /** Unsafe version of {@link #get_glyph_metrics}.
FT_Incremental_Funcs::nget_glyph_metrics
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public static void nget_glyph_data(long struct, FT_Incremental_GetGlyphDataFuncI value) { memPutAddress(struct + FT_Incremental_Funcs.GET_GLYPH_DATA, value.address()); }
Returns a new {@link FT_Incremental_Funcs.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity public static FT_Incremental_Funcs.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #get_glyph_data}. public static FT_Incremental_GetGlyphDataFunc nget_glyph_data(long struct) { return FT_Incremental_GetGlyphDataFunc.create(memGetAddress(struct + FT_Incremental_Funcs.GET_GLYPH_DATA)); } /** Unsafe version of {@link #free_glyph_data}. public static FT_Incremental_FreeGlyphDataFunc nfree_glyph_data(long struct) { return FT_Incremental_FreeGlyphDataFunc.create(memGetAddress(struct + FT_Incremental_Funcs.FREE_GLYPH_DATA)); } /** Unsafe version of {@link #get_glyph_metrics}. public static @Nullable FT_Incremental_GetGlyphMetricsFunc nget_glyph_metrics(long struct) { return FT_Incremental_GetGlyphMetricsFunc.createSafe(memGetAddress(struct + FT_Incremental_Funcs.GET_GLYPH_METRICS)); } /** Unsafe version of {@link #get_glyph_data(FT_Incremental_GetGlyphDataFuncI) get_glyph_data}.
FT_Incremental_Funcs::nget_glyph_data
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public static void nfree_glyph_data(long struct, FT_Incremental_FreeGlyphDataFuncI value) { memPutAddress(struct + FT_Incremental_Funcs.FREE_GLYPH_DATA, value.address()); }
Returns a new {@link FT_Incremental_Funcs.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity public static FT_Incremental_Funcs.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #get_glyph_data}. public static FT_Incremental_GetGlyphDataFunc nget_glyph_data(long struct) { return FT_Incremental_GetGlyphDataFunc.create(memGetAddress(struct + FT_Incremental_Funcs.GET_GLYPH_DATA)); } /** Unsafe version of {@link #free_glyph_data}. public static FT_Incremental_FreeGlyphDataFunc nfree_glyph_data(long struct) { return FT_Incremental_FreeGlyphDataFunc.create(memGetAddress(struct + FT_Incremental_Funcs.FREE_GLYPH_DATA)); } /** Unsafe version of {@link #get_glyph_metrics}. public static @Nullable FT_Incremental_GetGlyphMetricsFunc nget_glyph_metrics(long struct) { return FT_Incremental_GetGlyphMetricsFunc.createSafe(memGetAddress(struct + FT_Incremental_Funcs.GET_GLYPH_METRICS)); } /** Unsafe version of {@link #get_glyph_data(FT_Incremental_GetGlyphDataFuncI) get_glyph_data}. public static void nget_glyph_data(long struct, FT_Incremental_GetGlyphDataFuncI value) { memPutAddress(struct + FT_Incremental_Funcs.GET_GLYPH_DATA, value.address()); } /** Unsafe version of {@link #free_glyph_data(FT_Incremental_FreeGlyphDataFuncI) free_glyph_data}.
FT_Incremental_Funcs::nfree_glyph_data
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public static void nget_glyph_metrics(long struct, @Nullable FT_Incremental_GetGlyphMetricsFuncI value) { memPutAddress(struct + FT_Incremental_Funcs.GET_GLYPH_METRICS, memAddressSafe(value)); }
Returns a new {@link FT_Incremental_Funcs.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity public static FT_Incremental_Funcs.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #get_glyph_data}. public static FT_Incremental_GetGlyphDataFunc nget_glyph_data(long struct) { return FT_Incremental_GetGlyphDataFunc.create(memGetAddress(struct + FT_Incremental_Funcs.GET_GLYPH_DATA)); } /** Unsafe version of {@link #free_glyph_data}. public static FT_Incremental_FreeGlyphDataFunc nfree_glyph_data(long struct) { return FT_Incremental_FreeGlyphDataFunc.create(memGetAddress(struct + FT_Incremental_Funcs.FREE_GLYPH_DATA)); } /** Unsafe version of {@link #get_glyph_metrics}. public static @Nullable FT_Incremental_GetGlyphMetricsFunc nget_glyph_metrics(long struct) { return FT_Incremental_GetGlyphMetricsFunc.createSafe(memGetAddress(struct + FT_Incremental_Funcs.GET_GLYPH_METRICS)); } /** Unsafe version of {@link #get_glyph_data(FT_Incremental_GetGlyphDataFuncI) get_glyph_data}. public static void nget_glyph_data(long struct, FT_Incremental_GetGlyphDataFuncI value) { memPutAddress(struct + FT_Incremental_Funcs.GET_GLYPH_DATA, value.address()); } /** Unsafe version of {@link #free_glyph_data(FT_Incremental_FreeGlyphDataFuncI) free_glyph_data}. public static void nfree_glyph_data(long struct, FT_Incremental_FreeGlyphDataFuncI value) { memPutAddress(struct + FT_Incremental_Funcs.FREE_GLYPH_DATA, value.address()); } /** Unsafe version of {@link #get_glyph_metrics(FT_Incremental_GetGlyphMetricsFuncI) get_glyph_metrics}.
FT_Incremental_Funcs::nget_glyph_metrics
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public FT_Incremental_GetGlyphDataFunc get_glyph_data() { return FT_Incremental_Funcs.nget_glyph_data(address()); }
Creates a new {@code FT_Incremental_Funcs.Buffer} instance backed by the specified container. <p>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 {@link FT_Incremental_Funcs#SIZEOF}, and its mark will be undefined.</p> <p>The created buffer instance holds a strong reference to the container object.</p> public Buffer(ByteBuffer container) { super(container, container.remaining() / SIZEOF); } public Buffer(long address, int cap) { super(address, null, -1, 0, cap, cap); } Buffer(long address, @Nullable ByteBuffer container, int mark, int pos, int lim, int cap) { super(address, container, mark, pos, lim, cap); } @Override protected Buffer self() { return this; } @Override protected Buffer create(long address, @Nullable ByteBuffer container, int mark, int position, int limit, int capacity) { return new Buffer(address, container, mark, position, limit, capacity); } @Override protected FT_Incremental_Funcs getElementFactory() { return ELEMENT_FACTORY; } /** @return the value of the {@code get_glyph_data} field.
Buffer::get_glyph_data
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public FT_Incremental_FreeGlyphDataFunc free_glyph_data() { return FT_Incremental_Funcs.nfree_glyph_data(address()); }
Creates a new {@code FT_Incremental_Funcs.Buffer} instance backed by the specified container. <p>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 {@link FT_Incremental_Funcs#SIZEOF}, and its mark will be undefined.</p> <p>The created buffer instance holds a strong reference to the container object.</p> public Buffer(ByteBuffer container) { super(container, container.remaining() / SIZEOF); } public Buffer(long address, int cap) { super(address, null, -1, 0, cap, cap); } Buffer(long address, @Nullable ByteBuffer container, int mark, int pos, int lim, int cap) { super(address, container, mark, pos, lim, cap); } @Override protected Buffer self() { return this; } @Override protected Buffer create(long address, @Nullable ByteBuffer container, int mark, int position, int limit, int capacity) { return new Buffer(address, container, mark, position, limit, capacity); } @Override protected FT_Incremental_Funcs getElementFactory() { return ELEMENT_FACTORY; } /** @return the value of the {@code get_glyph_data} field. public FT_Incremental_GetGlyphDataFunc get_glyph_data() { return FT_Incremental_Funcs.nget_glyph_data(address()); } /** @return the value of the {@code free_glyph_data} field.
Buffer::free_glyph_data
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause
public @Nullable FT_Incremental_GetGlyphMetricsFunc get_glyph_metrics() { return FT_Incremental_Funcs.nget_glyph_metrics(address()); }
Creates a new {@code FT_Incremental_Funcs.Buffer} instance backed by the specified container. <p>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 {@link FT_Incremental_Funcs#SIZEOF}, and its mark will be undefined.</p> <p>The created buffer instance holds a strong reference to the container object.</p> public Buffer(ByteBuffer container) { super(container, container.remaining() / SIZEOF); } public Buffer(long address, int cap) { super(address, null, -1, 0, cap, cap); } Buffer(long address, @Nullable ByteBuffer container, int mark, int pos, int lim, int cap) { super(address, container, mark, pos, lim, cap); } @Override protected Buffer self() { return this; } @Override protected Buffer create(long address, @Nullable ByteBuffer container, int mark, int position, int limit, int capacity) { return new Buffer(address, container, mark, position, limit, capacity); } @Override protected FT_Incremental_Funcs getElementFactory() { return ELEMENT_FACTORY; } /** @return the value of the {@code get_glyph_data} field. public FT_Incremental_GetGlyphDataFunc get_glyph_data() { return FT_Incremental_Funcs.nget_glyph_data(address()); } /** @return the value of the {@code free_glyph_data} field. public FT_Incremental_FreeGlyphDataFunc free_glyph_data() { return FT_Incremental_Funcs.nfree_glyph_data(address()); } /** @return the value of the {@code get_glyph_metrics} field.
Buffer::get_glyph_metrics
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Funcs.java
BSD-3-Clause