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 static FT_Prop_IncreaseXHeight create(long address) { return new FT_Prop_IncreaseXHeight(address, null); }
Creates a {@code FT_Prop_IncreaseXHeight} 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_Prop_IncreaseXHeight(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link FT_Face} view of the struct pointed to by the {@code face} field. public FT_Face face() { return nface(address()); } /** @return the value of the {@code limit} field. @NativeType("FT_UInt") public int limit$() { return nlimit$(address()); } // ----------------------------------- /** Returns a new {@code FT_Prop_IncreaseXHeight} instance for the specified memory address.
FT_Prop_IncreaseXHeight::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Prop_IncreaseXHeight.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Prop_IncreaseXHeight.java
BSD-3-Clause
public static @Nullable FT_Prop_IncreaseXHeight createSafe(long address) { return address == NULL ? null : new FT_Prop_IncreaseXHeight(address, null); }
Creates a {@code FT_Prop_IncreaseXHeight} 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_Prop_IncreaseXHeight(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link FT_Face} view of the struct pointed to by the {@code face} field. public FT_Face face() { return nface(address()); } /** @return the value of the {@code limit} field. @NativeType("FT_UInt") public int limit$() { return nlimit$(address()); } // ----------------------------------- /** Returns a new {@code FT_Prop_IncreaseXHeight} instance for the specified memory address. public static FT_Prop_IncreaseXHeight create(long address) { return new FT_Prop_IncreaseXHeight(address, null); } /** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}.
FT_Prop_IncreaseXHeight::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Prop_IncreaseXHeight.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Prop_IncreaseXHeight.java
BSD-3-Clause
public static FT_Prop_IncreaseXHeight.Buffer create(long address, int capacity) { return new Buffer(address, capacity); }
Create a {@link FT_Prop_IncreaseXHeight.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity
FT_Prop_IncreaseXHeight::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Prop_IncreaseXHeight.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Prop_IncreaseXHeight.java
BSD-3-Clause
public static FT_Prop_IncreaseXHeight.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); }
Create a {@link FT_Prop_IncreaseXHeight.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Prop_IncreaseXHeight.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_Prop_IncreaseXHeight::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Prop_IncreaseXHeight.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Prop_IncreaseXHeight.java
BSD-3-Clause
public static FT_Face nface(long struct) { return FT_Face.create(memGetAddress(struct + FT_Prop_IncreaseXHeight.FACE)); }
Create a {@link FT_Prop_IncreaseXHeight.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Prop_IncreaseXHeight.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_Prop_IncreaseXHeight.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #face}.
FT_Prop_IncreaseXHeight::nface
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Prop_IncreaseXHeight.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Prop_IncreaseXHeight.java
BSD-3-Clause
public FT_Face face() { return FT_Prop_IncreaseXHeight.nface(address()); }
Creates a new {@code FT_Prop_IncreaseXHeight.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_Prop_IncreaseXHeight#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_Prop_IncreaseXHeight getElementFactory() { return ELEMENT_FACTORY; } /** @return a {@link FT_Face} view of the struct pointed to by the {@code face} field.
Buffer::face
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Prop_IncreaseXHeight.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Prop_IncreaseXHeight.java
BSD-3-Clause
public FT_Open_Args(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); }
Creates a {@code FT_Open_Args} 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_Open_Args::FT_Open_Args
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public FT_Open_Args flags(@NativeType("FT_UInt") int value) { nflags(address(), value); return this; }
Creates a {@code FT_Open_Args} 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_Open_Args(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code flags} field. @NativeType("FT_UInt") public int flags() { return nflags(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code memory_base} field. @NativeType("FT_Byte const *") public @Nullable ByteBuffer memory_base() { return nmemory_base(address()); } /** @return the value of the {@code memory_size} field. @NativeType("FT_Long") public long memory_size() { return nmemory_size(address()); } /** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable ByteBuffer pathname() { return npathname(address()); } /** @return the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable String pathnameString() { return npathnameString(address()); } /** @return a {@link FT_Stream} view of the struct pointed to by the {@code stream} field. public @Nullable FT_Stream stream$() { return nstream$(address()); } /** @return the value of the {@code driver} field. @NativeType("FT_Module") public long driver() { return ndriver(address()); } /** @return the value of the {@code num_params} field. @NativeType("FT_Int") public int num_params() { return nnum_params(address()); } /** @return a {@link FT_Parameter.Buffer} view of the struct array pointed to by the {@code params} field. @NativeType("FT_Parameter *") public FT_Parameter.@Nullable Buffer params() { return nparams(address()); } /** Sets the specified value to the {@code flags} field.
FT_Open_Args::flags
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public FT_Open_Args memory_base(@Nullable @NativeType("FT_Byte const *") ByteBuffer value) { nmemory_base(address(), value); return this; }
Creates a {@code FT_Open_Args} 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_Open_Args(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code flags} field. @NativeType("FT_UInt") public int flags() { return nflags(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code memory_base} field. @NativeType("FT_Byte const *") public @Nullable ByteBuffer memory_base() { return nmemory_base(address()); } /** @return the value of the {@code memory_size} field. @NativeType("FT_Long") public long memory_size() { return nmemory_size(address()); } /** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable ByteBuffer pathname() { return npathname(address()); } /** @return the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable String pathnameString() { return npathnameString(address()); } /** @return a {@link FT_Stream} view of the struct pointed to by the {@code stream} field. public @Nullable FT_Stream stream$() { return nstream$(address()); } /** @return the value of the {@code driver} field. @NativeType("FT_Module") public long driver() { return ndriver(address()); } /** @return the value of the {@code num_params} field. @NativeType("FT_Int") public int num_params() { return nnum_params(address()); } /** @return a {@link FT_Parameter.Buffer} view of the struct array pointed to by the {@code params} field. @NativeType("FT_Parameter *") public FT_Parameter.@Nullable Buffer params() { return nparams(address()); } /** Sets the specified value to the {@code flags} field. public FT_Open_Args flags(@NativeType("FT_UInt") int value) { nflags(address(), value); return this; } /** Sets the address of the specified {@link ByteBuffer} to the {@code memory_base} field.
FT_Open_Args::memory_base
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public FT_Open_Args memory_size(@NativeType("FT_Long") long value) { nmemory_size(address(), value); return this; }
Creates a {@code FT_Open_Args} 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_Open_Args(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code flags} field. @NativeType("FT_UInt") public int flags() { return nflags(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code memory_base} field. @NativeType("FT_Byte const *") public @Nullable ByteBuffer memory_base() { return nmemory_base(address()); } /** @return the value of the {@code memory_size} field. @NativeType("FT_Long") public long memory_size() { return nmemory_size(address()); } /** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable ByteBuffer pathname() { return npathname(address()); } /** @return the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable String pathnameString() { return npathnameString(address()); } /** @return a {@link FT_Stream} view of the struct pointed to by the {@code stream} field. public @Nullable FT_Stream stream$() { return nstream$(address()); } /** @return the value of the {@code driver} field. @NativeType("FT_Module") public long driver() { return ndriver(address()); } /** @return the value of the {@code num_params} field. @NativeType("FT_Int") public int num_params() { return nnum_params(address()); } /** @return a {@link FT_Parameter.Buffer} view of the struct array pointed to by the {@code params} field. @NativeType("FT_Parameter *") public FT_Parameter.@Nullable Buffer params() { return nparams(address()); } /** Sets the specified value to the {@code flags} field. public FT_Open_Args flags(@NativeType("FT_UInt") int value) { nflags(address(), value); return this; } /** Sets the address of the specified {@link ByteBuffer} to the {@code memory_base} field. public FT_Open_Args memory_base(@Nullable @NativeType("FT_Byte const *") ByteBuffer value) { nmemory_base(address(), value); return this; } /** Sets the specified value to the {@code memory_size} field.
FT_Open_Args::memory_size
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public FT_Open_Args pathname(@Nullable @NativeType("FT_String *") ByteBuffer value) { npathname(address(), value); return this; }
Creates a {@code FT_Open_Args} 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_Open_Args(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code flags} field. @NativeType("FT_UInt") public int flags() { return nflags(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code memory_base} field. @NativeType("FT_Byte const *") public @Nullable ByteBuffer memory_base() { return nmemory_base(address()); } /** @return the value of the {@code memory_size} field. @NativeType("FT_Long") public long memory_size() { return nmemory_size(address()); } /** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable ByteBuffer pathname() { return npathname(address()); } /** @return the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable String pathnameString() { return npathnameString(address()); } /** @return a {@link FT_Stream} view of the struct pointed to by the {@code stream} field. public @Nullable FT_Stream stream$() { return nstream$(address()); } /** @return the value of the {@code driver} field. @NativeType("FT_Module") public long driver() { return ndriver(address()); } /** @return the value of the {@code num_params} field. @NativeType("FT_Int") public int num_params() { return nnum_params(address()); } /** @return a {@link FT_Parameter.Buffer} view of the struct array pointed to by the {@code params} field. @NativeType("FT_Parameter *") public FT_Parameter.@Nullable Buffer params() { return nparams(address()); } /** Sets the specified value to the {@code flags} field. public FT_Open_Args flags(@NativeType("FT_UInt") int value) { nflags(address(), value); return this; } /** Sets the address of the specified {@link ByteBuffer} to the {@code memory_base} field. public FT_Open_Args memory_base(@Nullable @NativeType("FT_Byte const *") ByteBuffer value) { nmemory_base(address(), value); return this; } /** Sets the specified value to the {@code memory_size} field. public FT_Open_Args memory_size(@NativeType("FT_Long") long value) { nmemory_size(address(), value); return this; } /** Sets the address of the specified encoded string to the {@code pathname} field.
FT_Open_Args::pathname
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public FT_Open_Args driver(@NativeType("FT_Module") long value) { ndriver(address(), value); return this; }
Creates a {@code FT_Open_Args} 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_Open_Args(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code flags} field. @NativeType("FT_UInt") public int flags() { return nflags(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code memory_base} field. @NativeType("FT_Byte const *") public @Nullable ByteBuffer memory_base() { return nmemory_base(address()); } /** @return the value of the {@code memory_size} field. @NativeType("FT_Long") public long memory_size() { return nmemory_size(address()); } /** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable ByteBuffer pathname() { return npathname(address()); } /** @return the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable String pathnameString() { return npathnameString(address()); } /** @return a {@link FT_Stream} view of the struct pointed to by the {@code stream} field. public @Nullable FT_Stream stream$() { return nstream$(address()); } /** @return the value of the {@code driver} field. @NativeType("FT_Module") public long driver() { return ndriver(address()); } /** @return the value of the {@code num_params} field. @NativeType("FT_Int") public int num_params() { return nnum_params(address()); } /** @return a {@link FT_Parameter.Buffer} view of the struct array pointed to by the {@code params} field. @NativeType("FT_Parameter *") public FT_Parameter.@Nullable Buffer params() { return nparams(address()); } /** Sets the specified value to the {@code flags} field. public FT_Open_Args flags(@NativeType("FT_UInt") int value) { nflags(address(), value); return this; } /** Sets the address of the specified {@link ByteBuffer} to the {@code memory_base} field. public FT_Open_Args memory_base(@Nullable @NativeType("FT_Byte const *") ByteBuffer value) { nmemory_base(address(), value); return this; } /** Sets the specified value to the {@code memory_size} field. public FT_Open_Args memory_size(@NativeType("FT_Long") long value) { nmemory_size(address(), value); return this; } /** Sets the address of the specified encoded string to the {@code pathname} field. public FT_Open_Args pathname(@Nullable @NativeType("FT_String *") ByteBuffer value) { npathname(address(), value); return this; } /** Sets the address of the specified {@link FT_Stream} to the {@code stream} field. public FT_Open_Args stream$(@Nullable FT_Stream value) { nstream$(address(), value); return this; } /** Sets the specified value to the {@code driver} field.
FT_Open_Args::driver
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public FT_Open_Args num_params(@NativeType("FT_Int") int value) { nnum_params(address(), value); return this; }
Creates a {@code FT_Open_Args} 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_Open_Args(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code flags} field. @NativeType("FT_UInt") public int flags() { return nflags(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code memory_base} field. @NativeType("FT_Byte const *") public @Nullable ByteBuffer memory_base() { return nmemory_base(address()); } /** @return the value of the {@code memory_size} field. @NativeType("FT_Long") public long memory_size() { return nmemory_size(address()); } /** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable ByteBuffer pathname() { return npathname(address()); } /** @return the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable String pathnameString() { return npathnameString(address()); } /** @return a {@link FT_Stream} view of the struct pointed to by the {@code stream} field. public @Nullable FT_Stream stream$() { return nstream$(address()); } /** @return the value of the {@code driver} field. @NativeType("FT_Module") public long driver() { return ndriver(address()); } /** @return the value of the {@code num_params} field. @NativeType("FT_Int") public int num_params() { return nnum_params(address()); } /** @return a {@link FT_Parameter.Buffer} view of the struct array pointed to by the {@code params} field. @NativeType("FT_Parameter *") public FT_Parameter.@Nullable Buffer params() { return nparams(address()); } /** Sets the specified value to the {@code flags} field. public FT_Open_Args flags(@NativeType("FT_UInt") int value) { nflags(address(), value); return this; } /** Sets the address of the specified {@link ByteBuffer} to the {@code memory_base} field. public FT_Open_Args memory_base(@Nullable @NativeType("FT_Byte const *") ByteBuffer value) { nmemory_base(address(), value); return this; } /** Sets the specified value to the {@code memory_size} field. public FT_Open_Args memory_size(@NativeType("FT_Long") long value) { nmemory_size(address(), value); return this; } /** Sets the address of the specified encoded string to the {@code pathname} field. public FT_Open_Args pathname(@Nullable @NativeType("FT_String *") ByteBuffer value) { npathname(address(), value); return this; } /** Sets the address of the specified {@link FT_Stream} to the {@code stream} field. public FT_Open_Args stream$(@Nullable FT_Stream value) { nstream$(address(), value); return this; } /** Sets the specified value to the {@code driver} field. public FT_Open_Args driver(@NativeType("FT_Module") long value) { ndriver(address(), value); return this; } /** Sets the specified value to the {@code num_params} field.
FT_Open_Args::num_params
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public FT_Open_Args params(@NativeType("FT_Parameter *") FT_Parameter.@Nullable Buffer value) { nparams(address(), value); return this; }
Creates a {@code FT_Open_Args} 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_Open_Args(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code flags} field. @NativeType("FT_UInt") public int flags() { return nflags(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code memory_base} field. @NativeType("FT_Byte const *") public @Nullable ByteBuffer memory_base() { return nmemory_base(address()); } /** @return the value of the {@code memory_size} field. @NativeType("FT_Long") public long memory_size() { return nmemory_size(address()); } /** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable ByteBuffer pathname() { return npathname(address()); } /** @return the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable String pathnameString() { return npathnameString(address()); } /** @return a {@link FT_Stream} view of the struct pointed to by the {@code stream} field. public @Nullable FT_Stream stream$() { return nstream$(address()); } /** @return the value of the {@code driver} field. @NativeType("FT_Module") public long driver() { return ndriver(address()); } /** @return the value of the {@code num_params} field. @NativeType("FT_Int") public int num_params() { return nnum_params(address()); } /** @return a {@link FT_Parameter.Buffer} view of the struct array pointed to by the {@code params} field. @NativeType("FT_Parameter *") public FT_Parameter.@Nullable Buffer params() { return nparams(address()); } /** Sets the specified value to the {@code flags} field. public FT_Open_Args flags(@NativeType("FT_UInt") int value) { nflags(address(), value); return this; } /** Sets the address of the specified {@link ByteBuffer} to the {@code memory_base} field. public FT_Open_Args memory_base(@Nullable @NativeType("FT_Byte const *") ByteBuffer value) { nmemory_base(address(), value); return this; } /** Sets the specified value to the {@code memory_size} field. public FT_Open_Args memory_size(@NativeType("FT_Long") long value) { nmemory_size(address(), value); return this; } /** Sets the address of the specified encoded string to the {@code pathname} field. public FT_Open_Args pathname(@Nullable @NativeType("FT_String *") ByteBuffer value) { npathname(address(), value); return this; } /** Sets the address of the specified {@link FT_Stream} to the {@code stream} field. public FT_Open_Args stream$(@Nullable FT_Stream value) { nstream$(address(), value); return this; } /** Sets the specified value to the {@code driver} field. public FT_Open_Args driver(@NativeType("FT_Module") long value) { ndriver(address(), value); return this; } /** Sets the specified value to the {@code num_params} field. public FT_Open_Args num_params(@NativeType("FT_Int") int value) { nnum_params(address(), value); return this; } /** Sets the address of the specified {@link FT_Parameter.Buffer} to the {@code params} field.
FT_Open_Args::params
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public FT_Open_Args set( int flags, @Nullable ByteBuffer memory_base, long memory_size, @Nullable ByteBuffer pathname, @Nullable FT_Stream stream$, long driver, int num_params, FT_Parameter.@Nullable Buffer params ) { flags(flags); memory_base(memory_base); memory_size(memory_size); pathname(pathname); stream$(stream$); driver(driver); num_params(num_params); params(params); return this; }
Creates a {@code FT_Open_Args} 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_Open_Args(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code flags} field. @NativeType("FT_UInt") public int flags() { return nflags(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code memory_base} field. @NativeType("FT_Byte const *") public @Nullable ByteBuffer memory_base() { return nmemory_base(address()); } /** @return the value of the {@code memory_size} field. @NativeType("FT_Long") public long memory_size() { return nmemory_size(address()); } /** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable ByteBuffer pathname() { return npathname(address()); } /** @return the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable String pathnameString() { return npathnameString(address()); } /** @return a {@link FT_Stream} view of the struct pointed to by the {@code stream} field. public @Nullable FT_Stream stream$() { return nstream$(address()); } /** @return the value of the {@code driver} field. @NativeType("FT_Module") public long driver() { return ndriver(address()); } /** @return the value of the {@code num_params} field. @NativeType("FT_Int") public int num_params() { return nnum_params(address()); } /** @return a {@link FT_Parameter.Buffer} view of the struct array pointed to by the {@code params} field. @NativeType("FT_Parameter *") public FT_Parameter.@Nullable Buffer params() { return nparams(address()); } /** Sets the specified value to the {@code flags} field. public FT_Open_Args flags(@NativeType("FT_UInt") int value) { nflags(address(), value); return this; } /** Sets the address of the specified {@link ByteBuffer} to the {@code memory_base} field. public FT_Open_Args memory_base(@Nullable @NativeType("FT_Byte const *") ByteBuffer value) { nmemory_base(address(), value); return this; } /** Sets the specified value to the {@code memory_size} field. public FT_Open_Args memory_size(@NativeType("FT_Long") long value) { nmemory_size(address(), value); return this; } /** Sets the address of the specified encoded string to the {@code pathname} field. public FT_Open_Args pathname(@Nullable @NativeType("FT_String *") ByteBuffer value) { npathname(address(), value); return this; } /** Sets the address of the specified {@link FT_Stream} to the {@code stream} field. public FT_Open_Args stream$(@Nullable FT_Stream value) { nstream$(address(), value); return this; } /** Sets the specified value to the {@code driver} field. public FT_Open_Args driver(@NativeType("FT_Module") long value) { ndriver(address(), value); return this; } /** Sets the specified value to the {@code num_params} field. public FT_Open_Args num_params(@NativeType("FT_Int") int value) { nnum_params(address(), value); return this; } /** Sets the address of the specified {@link FT_Parameter.Buffer} to the {@code params} field. public FT_Open_Args params(@NativeType("FT_Parameter *") FT_Parameter.@Nullable Buffer value) { nparams(address(), value); return this; } /** Initializes this struct with the specified values.
FT_Open_Args::set
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static FT_Open_Args malloc() { return new FT_Open_Args(nmemAllocChecked(SIZEOF), null); }
Copies the specified struct data to this struct. @param src the source struct @return this struct public FT_Open_Args set(FT_Open_Args src) { memCopy(src.address(), address(), SIZEOF); return this; } // ----------------------------------- /** Returns a new {@code FT_Open_Args} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
FT_Open_Args::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static FT_Open_Args calloc() { return new FT_Open_Args(nmemCallocChecked(1, SIZEOF), null); }
Copies the specified struct data to this struct. @param src the source struct @return this struct public FT_Open_Args set(FT_Open_Args src) { memCopy(src.address(), address(), SIZEOF); return this; } // ----------------------------------- /** Returns a new {@code FT_Open_Args} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_Open_Args malloc() { return new FT_Open_Args(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_Open_Args} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
FT_Open_Args::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static FT_Open_Args create() { ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF); return new FT_Open_Args(memAddress(container), container); }
Copies the specified struct data to this struct. @param src the source struct @return this struct public FT_Open_Args set(FT_Open_Args src) { memCopy(src.address(), address(), SIZEOF); return this; } // ----------------------------------- /** Returns a new {@code FT_Open_Args} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_Open_Args malloc() { return new FT_Open_Args(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_Open_Args} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. public static FT_Open_Args calloc() { return new FT_Open_Args(nmemCallocChecked(1, SIZEOF), null); } /** Returns a new {@code FT_Open_Args} instance allocated with {@link BufferUtils}.
FT_Open_Args::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static FT_Open_Args create(long address) { return new FT_Open_Args(address, null); }
Copies the specified struct data to this struct. @param src the source struct @return this struct public FT_Open_Args set(FT_Open_Args src) { memCopy(src.address(), address(), SIZEOF); return this; } // ----------------------------------- /** Returns a new {@code FT_Open_Args} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_Open_Args malloc() { return new FT_Open_Args(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_Open_Args} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. public static FT_Open_Args calloc() { return new FT_Open_Args(nmemCallocChecked(1, SIZEOF), null); } /** Returns a new {@code FT_Open_Args} instance allocated with {@link BufferUtils}. public static FT_Open_Args create() { ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF); return new FT_Open_Args(memAddress(container), container); } /** Returns a new {@code FT_Open_Args} instance for the specified memory address.
FT_Open_Args::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static @Nullable FT_Open_Args createSafe(long address) { return address == NULL ? null : new FT_Open_Args(address, null); }
Copies the specified struct data to this struct. @param src the source struct @return this struct public FT_Open_Args set(FT_Open_Args src) { memCopy(src.address(), address(), SIZEOF); return this; } // ----------------------------------- /** Returns a new {@code FT_Open_Args} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_Open_Args malloc() { return new FT_Open_Args(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_Open_Args} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. public static FT_Open_Args calloc() { return new FT_Open_Args(nmemCallocChecked(1, SIZEOF), null); } /** Returns a new {@code FT_Open_Args} instance allocated with {@link BufferUtils}. public static FT_Open_Args create() { ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF); return new FT_Open_Args(memAddress(container), container); } /** Returns a new {@code FT_Open_Args} instance for the specified memory address. public static FT_Open_Args create(long address) { return new FT_Open_Args(address, null); } /** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}.
FT_Open_Args::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static FT_Open_Args.Buffer malloc(int capacity) { return new Buffer(nmemAllocChecked(__checkMalloc(capacity, SIZEOF)), capacity); }
Returns a new {@link FT_Open_Args.Buffer} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. @param capacity the buffer capacity
FT_Open_Args::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static FT_Open_Args.Buffer calloc(int capacity) { return new Buffer(nmemCallocChecked(capacity, SIZEOF), capacity); }
Returns a new {@link FT_Open_Args.Buffer} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. @param capacity the buffer capacity
FT_Open_Args::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static FT_Open_Args.Buffer create(int capacity) { ByteBuffer container = __create(capacity, SIZEOF); return new Buffer(memAddress(container), container, -1, 0, capacity, capacity); }
Returns a new {@link FT_Open_Args.Buffer} instance allocated with {@link BufferUtils}. @param capacity the buffer capacity
FT_Open_Args::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static FT_Open_Args.Buffer create(long address, int capacity) { return new Buffer(address, capacity); }
Create a {@link FT_Open_Args.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity
FT_Open_Args::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static FT_Open_Args.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); }
Create a {@link FT_Open_Args.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Open_Args.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_Open_Args::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static FT_Open_Args malloc(MemoryStack stack) { return new FT_Open_Args(stack.nmalloc(ALIGNOF, SIZEOF), null); }
Returns a new {@code FT_Open_Args} instance allocated on the specified {@link MemoryStack}. @param stack the stack from which to allocate
FT_Open_Args::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static FT_Open_Args calloc(MemoryStack stack) { return new FT_Open_Args(stack.ncalloc(ALIGNOF, 1, SIZEOF), null); }
Returns a new {@code FT_Open_Args} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate
FT_Open_Args::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static FT_Open_Args.Buffer malloc(int capacity, MemoryStack stack) { return new Buffer(stack.nmalloc(ALIGNOF, capacity * SIZEOF), capacity); }
Returns a new {@link FT_Open_Args.Buffer} instance allocated on the specified {@link MemoryStack}. @param stack the stack from which to allocate @param capacity the buffer capacity
FT_Open_Args::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static FT_Open_Args.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); }
Returns a new {@link FT_Open_Args.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_Open_Args::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static int nflags(long struct) { return memGetInt(struct + FT_Open_Args.FLAGS); }
Returns a new {@link FT_Open_Args.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_Open_Args.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #flags}.
FT_Open_Args::nflags
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static @Nullable ByteBuffer nmemory_base(long struct) { return memByteBufferSafe(memGetAddress(struct + FT_Open_Args.MEMORY_BASE), (int)nmemory_size(struct)); }
Returns a new {@link FT_Open_Args.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_Open_Args.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #flags}. public static int nflags(long struct) { return memGetInt(struct + FT_Open_Args.FLAGS); } /** Unsafe version of {@link #memory_base() memory_base}.
FT_Open_Args::nmemory_base
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static long nmemory_size(long struct) { return memGetCLong(struct + FT_Open_Args.MEMORY_SIZE); }
Returns a new {@link FT_Open_Args.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_Open_Args.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #flags}. public static int nflags(long struct) { return memGetInt(struct + FT_Open_Args.FLAGS); } /** Unsafe version of {@link #memory_base() memory_base}. public static @Nullable ByteBuffer nmemory_base(long struct) { return memByteBufferSafe(memGetAddress(struct + FT_Open_Args.MEMORY_BASE), (int)nmemory_size(struct)); } /** Unsafe version of {@link #memory_size}.
FT_Open_Args::nmemory_size
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static @Nullable ByteBuffer npathname(long struct) { return memByteBufferNT1Safe(memGetAddress(struct + FT_Open_Args.PATHNAME)); }
Returns a new {@link FT_Open_Args.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_Open_Args.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #flags}. public static int nflags(long struct) { return memGetInt(struct + FT_Open_Args.FLAGS); } /** Unsafe version of {@link #memory_base() memory_base}. public static @Nullable ByteBuffer nmemory_base(long struct) { return memByteBufferSafe(memGetAddress(struct + FT_Open_Args.MEMORY_BASE), (int)nmemory_size(struct)); } /** Unsafe version of {@link #memory_size}. public static long nmemory_size(long struct) { return memGetCLong(struct + FT_Open_Args.MEMORY_SIZE); } /** Unsafe version of {@link #pathname}.
FT_Open_Args::npathname
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static @Nullable String npathnameString(long struct) { return memUTF8Safe(memGetAddress(struct + FT_Open_Args.PATHNAME)); }
Returns a new {@link FT_Open_Args.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_Open_Args.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #flags}. public static int nflags(long struct) { return memGetInt(struct + FT_Open_Args.FLAGS); } /** Unsafe version of {@link #memory_base() memory_base}. public static @Nullable ByteBuffer nmemory_base(long struct) { return memByteBufferSafe(memGetAddress(struct + FT_Open_Args.MEMORY_BASE), (int)nmemory_size(struct)); } /** Unsafe version of {@link #memory_size}. public static long nmemory_size(long struct) { return memGetCLong(struct + FT_Open_Args.MEMORY_SIZE); } /** Unsafe version of {@link #pathname}. public static @Nullable ByteBuffer npathname(long struct) { return memByteBufferNT1Safe(memGetAddress(struct + FT_Open_Args.PATHNAME)); } /** Unsafe version of {@link #pathnameString}.
FT_Open_Args::npathnameString
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static long ndriver(long struct) { return memGetAddress(struct + FT_Open_Args.DRIVER); }
Returns a new {@link FT_Open_Args.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_Open_Args.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #flags}. public static int nflags(long struct) { return memGetInt(struct + FT_Open_Args.FLAGS); } /** Unsafe version of {@link #memory_base() memory_base}. public static @Nullable ByteBuffer nmemory_base(long struct) { return memByteBufferSafe(memGetAddress(struct + FT_Open_Args.MEMORY_BASE), (int)nmemory_size(struct)); } /** Unsafe version of {@link #memory_size}. public static long nmemory_size(long struct) { return memGetCLong(struct + FT_Open_Args.MEMORY_SIZE); } /** Unsafe version of {@link #pathname}. public static @Nullable ByteBuffer npathname(long struct) { return memByteBufferNT1Safe(memGetAddress(struct + FT_Open_Args.PATHNAME)); } /** Unsafe version of {@link #pathnameString}. public static @Nullable String npathnameString(long struct) { return memUTF8Safe(memGetAddress(struct + FT_Open_Args.PATHNAME)); } /** Unsafe version of {@link #stream$}. public static @Nullable FT_Stream nstream$(long struct) { return FT_Stream.createSafe(memGetAddress(struct + FT_Open_Args.STREAM)); } /** Unsafe version of {@link #driver}.
FT_Open_Args::ndriver
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static int nnum_params(long struct) { return memGetInt(struct + FT_Open_Args.NUM_PARAMS); }
Returns a new {@link FT_Open_Args.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_Open_Args.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #flags}. public static int nflags(long struct) { return memGetInt(struct + FT_Open_Args.FLAGS); } /** Unsafe version of {@link #memory_base() memory_base}. public static @Nullable ByteBuffer nmemory_base(long struct) { return memByteBufferSafe(memGetAddress(struct + FT_Open_Args.MEMORY_BASE), (int)nmemory_size(struct)); } /** Unsafe version of {@link #memory_size}. public static long nmemory_size(long struct) { return memGetCLong(struct + FT_Open_Args.MEMORY_SIZE); } /** Unsafe version of {@link #pathname}. public static @Nullable ByteBuffer npathname(long struct) { return memByteBufferNT1Safe(memGetAddress(struct + FT_Open_Args.PATHNAME)); } /** Unsafe version of {@link #pathnameString}. public static @Nullable String npathnameString(long struct) { return memUTF8Safe(memGetAddress(struct + FT_Open_Args.PATHNAME)); } /** Unsafe version of {@link #stream$}. public static @Nullable FT_Stream nstream$(long struct) { return FT_Stream.createSafe(memGetAddress(struct + FT_Open_Args.STREAM)); } /** Unsafe version of {@link #driver}. public static long ndriver(long struct) { return memGetAddress(struct + FT_Open_Args.DRIVER); } /** Unsafe version of {@link #num_params}.
FT_Open_Args::nnum_params
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static FT_Parameter.@Nullable Buffer nparams(long struct) { return FT_Parameter.createSafe(memGetAddress(struct + FT_Open_Args.PARAMS), nnum_params(struct)); }
Returns a new {@link FT_Open_Args.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_Open_Args.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #flags}. public static int nflags(long struct) { return memGetInt(struct + FT_Open_Args.FLAGS); } /** Unsafe version of {@link #memory_base() memory_base}. public static @Nullable ByteBuffer nmemory_base(long struct) { return memByteBufferSafe(memGetAddress(struct + FT_Open_Args.MEMORY_BASE), (int)nmemory_size(struct)); } /** Unsafe version of {@link #memory_size}. public static long nmemory_size(long struct) { return memGetCLong(struct + FT_Open_Args.MEMORY_SIZE); } /** Unsafe version of {@link #pathname}. public static @Nullable ByteBuffer npathname(long struct) { return memByteBufferNT1Safe(memGetAddress(struct + FT_Open_Args.PATHNAME)); } /** Unsafe version of {@link #pathnameString}. public static @Nullable String npathnameString(long struct) { return memUTF8Safe(memGetAddress(struct + FT_Open_Args.PATHNAME)); } /** Unsafe version of {@link #stream$}. public static @Nullable FT_Stream nstream$(long struct) { return FT_Stream.createSafe(memGetAddress(struct + FT_Open_Args.STREAM)); } /** Unsafe version of {@link #driver}. public static long ndriver(long struct) { return memGetAddress(struct + FT_Open_Args.DRIVER); } /** Unsafe version of {@link #num_params}. public static int nnum_params(long struct) { return memGetInt(struct + FT_Open_Args.NUM_PARAMS); } /** Unsafe version of {@link #params}.
FT_Open_Args::nparams
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static void nflags(long struct, int value) { memPutInt(struct + FT_Open_Args.FLAGS, value); }
Returns a new {@link FT_Open_Args.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_Open_Args.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #flags}. public static int nflags(long struct) { return memGetInt(struct + FT_Open_Args.FLAGS); } /** Unsafe version of {@link #memory_base() memory_base}. public static @Nullable ByteBuffer nmemory_base(long struct) { return memByteBufferSafe(memGetAddress(struct + FT_Open_Args.MEMORY_BASE), (int)nmemory_size(struct)); } /** Unsafe version of {@link #memory_size}. public static long nmemory_size(long struct) { return memGetCLong(struct + FT_Open_Args.MEMORY_SIZE); } /** Unsafe version of {@link #pathname}. public static @Nullable ByteBuffer npathname(long struct) { return memByteBufferNT1Safe(memGetAddress(struct + FT_Open_Args.PATHNAME)); } /** Unsafe version of {@link #pathnameString}. public static @Nullable String npathnameString(long struct) { return memUTF8Safe(memGetAddress(struct + FT_Open_Args.PATHNAME)); } /** Unsafe version of {@link #stream$}. public static @Nullable FT_Stream nstream$(long struct) { return FT_Stream.createSafe(memGetAddress(struct + FT_Open_Args.STREAM)); } /** Unsafe version of {@link #driver}. public static long ndriver(long struct) { return memGetAddress(struct + FT_Open_Args.DRIVER); } /** Unsafe version of {@link #num_params}. public static int nnum_params(long struct) { return memGetInt(struct + FT_Open_Args.NUM_PARAMS); } /** Unsafe version of {@link #params}. public static FT_Parameter.@Nullable Buffer nparams(long struct) { return FT_Parameter.createSafe(memGetAddress(struct + FT_Open_Args.PARAMS), nnum_params(struct)); } /** Unsafe version of {@link #flags(int) flags}.
FT_Open_Args::nflags
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static void nmemory_base(long struct, @Nullable ByteBuffer value) { memPutAddress(struct + FT_Open_Args.MEMORY_BASE, memAddressSafe(value)); nmemory_size(struct, value == null ? 0 : value.remaining()); }
Returns a new {@link FT_Open_Args.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_Open_Args.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #flags}. public static int nflags(long struct) { return memGetInt(struct + FT_Open_Args.FLAGS); } /** Unsafe version of {@link #memory_base() memory_base}. public static @Nullable ByteBuffer nmemory_base(long struct) { return memByteBufferSafe(memGetAddress(struct + FT_Open_Args.MEMORY_BASE), (int)nmemory_size(struct)); } /** Unsafe version of {@link #memory_size}. public static long nmemory_size(long struct) { return memGetCLong(struct + FT_Open_Args.MEMORY_SIZE); } /** Unsafe version of {@link #pathname}. public static @Nullable ByteBuffer npathname(long struct) { return memByteBufferNT1Safe(memGetAddress(struct + FT_Open_Args.PATHNAME)); } /** Unsafe version of {@link #pathnameString}. public static @Nullable String npathnameString(long struct) { return memUTF8Safe(memGetAddress(struct + FT_Open_Args.PATHNAME)); } /** Unsafe version of {@link #stream$}. public static @Nullable FT_Stream nstream$(long struct) { return FT_Stream.createSafe(memGetAddress(struct + FT_Open_Args.STREAM)); } /** Unsafe version of {@link #driver}. public static long ndriver(long struct) { return memGetAddress(struct + FT_Open_Args.DRIVER); } /** Unsafe version of {@link #num_params}. public static int nnum_params(long struct) { return memGetInt(struct + FT_Open_Args.NUM_PARAMS); } /** Unsafe version of {@link #params}. public static FT_Parameter.@Nullable Buffer nparams(long struct) { return FT_Parameter.createSafe(memGetAddress(struct + FT_Open_Args.PARAMS), nnum_params(struct)); } /** Unsafe version of {@link #flags(int) flags}. public static void nflags(long struct, int value) { memPutInt(struct + FT_Open_Args.FLAGS, value); } /** Unsafe version of {@link #memory_base(ByteBuffer) memory_base}.
FT_Open_Args::nmemory_base
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static void nmemory_size(long struct, long value) { memPutCLong(struct + FT_Open_Args.MEMORY_SIZE, value); }
Returns a new {@link FT_Open_Args.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_Open_Args.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #flags}. public static int nflags(long struct) { return memGetInt(struct + FT_Open_Args.FLAGS); } /** Unsafe version of {@link #memory_base() memory_base}. public static @Nullable ByteBuffer nmemory_base(long struct) { return memByteBufferSafe(memGetAddress(struct + FT_Open_Args.MEMORY_BASE), (int)nmemory_size(struct)); } /** Unsafe version of {@link #memory_size}. public static long nmemory_size(long struct) { return memGetCLong(struct + FT_Open_Args.MEMORY_SIZE); } /** Unsafe version of {@link #pathname}. public static @Nullable ByteBuffer npathname(long struct) { return memByteBufferNT1Safe(memGetAddress(struct + FT_Open_Args.PATHNAME)); } /** Unsafe version of {@link #pathnameString}. public static @Nullable String npathnameString(long struct) { return memUTF8Safe(memGetAddress(struct + FT_Open_Args.PATHNAME)); } /** Unsafe version of {@link #stream$}. public static @Nullable FT_Stream nstream$(long struct) { return FT_Stream.createSafe(memGetAddress(struct + FT_Open_Args.STREAM)); } /** Unsafe version of {@link #driver}. public static long ndriver(long struct) { return memGetAddress(struct + FT_Open_Args.DRIVER); } /** Unsafe version of {@link #num_params}. public static int nnum_params(long struct) { return memGetInt(struct + FT_Open_Args.NUM_PARAMS); } /** Unsafe version of {@link #params}. public static FT_Parameter.@Nullable Buffer nparams(long struct) { return FT_Parameter.createSafe(memGetAddress(struct + FT_Open_Args.PARAMS), nnum_params(struct)); } /** Unsafe version of {@link #flags(int) flags}. public static void nflags(long struct, int value) { memPutInt(struct + FT_Open_Args.FLAGS, value); } /** Unsafe version of {@link #memory_base(ByteBuffer) memory_base}. public static void nmemory_base(long struct, @Nullable ByteBuffer value) { memPutAddress(struct + FT_Open_Args.MEMORY_BASE, memAddressSafe(value)); nmemory_size(struct, value == null ? 0 : value.remaining()); } /** Sets the specified value to the {@code memory_size} field of the specified {@code struct}.
FT_Open_Args::nmemory_size
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static void npathname(long struct, @Nullable ByteBuffer value) { if (CHECKS) { checkNT1Safe(value); } memPutAddress(struct + FT_Open_Args.PATHNAME, memAddressSafe(value)); }
Returns a new {@link FT_Open_Args.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_Open_Args.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #flags}. public static int nflags(long struct) { return memGetInt(struct + FT_Open_Args.FLAGS); } /** Unsafe version of {@link #memory_base() memory_base}. public static @Nullable ByteBuffer nmemory_base(long struct) { return memByteBufferSafe(memGetAddress(struct + FT_Open_Args.MEMORY_BASE), (int)nmemory_size(struct)); } /** Unsafe version of {@link #memory_size}. public static long nmemory_size(long struct) { return memGetCLong(struct + FT_Open_Args.MEMORY_SIZE); } /** Unsafe version of {@link #pathname}. public static @Nullable ByteBuffer npathname(long struct) { return memByteBufferNT1Safe(memGetAddress(struct + FT_Open_Args.PATHNAME)); } /** Unsafe version of {@link #pathnameString}. public static @Nullable String npathnameString(long struct) { return memUTF8Safe(memGetAddress(struct + FT_Open_Args.PATHNAME)); } /** Unsafe version of {@link #stream$}. public static @Nullable FT_Stream nstream$(long struct) { return FT_Stream.createSafe(memGetAddress(struct + FT_Open_Args.STREAM)); } /** Unsafe version of {@link #driver}. public static long ndriver(long struct) { return memGetAddress(struct + FT_Open_Args.DRIVER); } /** Unsafe version of {@link #num_params}. public static int nnum_params(long struct) { return memGetInt(struct + FT_Open_Args.NUM_PARAMS); } /** Unsafe version of {@link #params}. public static FT_Parameter.@Nullable Buffer nparams(long struct) { return FT_Parameter.createSafe(memGetAddress(struct + FT_Open_Args.PARAMS), nnum_params(struct)); } /** Unsafe version of {@link #flags(int) flags}. public static void nflags(long struct, int value) { memPutInt(struct + FT_Open_Args.FLAGS, value); } /** Unsafe version of {@link #memory_base(ByteBuffer) memory_base}. public static void nmemory_base(long struct, @Nullable ByteBuffer value) { memPutAddress(struct + FT_Open_Args.MEMORY_BASE, memAddressSafe(value)); nmemory_size(struct, value == null ? 0 : value.remaining()); } /** Sets the specified value to the {@code memory_size} field of the specified {@code struct}. public static void nmemory_size(long struct, long value) { memPutCLong(struct + FT_Open_Args.MEMORY_SIZE, value); } /** Unsafe version of {@link #pathname(ByteBuffer) pathname}.
FT_Open_Args::npathname
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static void ndriver(long struct, long value) { memPutAddress(struct + FT_Open_Args.DRIVER, value); }
Returns a new {@link FT_Open_Args.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_Open_Args.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #flags}. public static int nflags(long struct) { return memGetInt(struct + FT_Open_Args.FLAGS); } /** Unsafe version of {@link #memory_base() memory_base}. public static @Nullable ByteBuffer nmemory_base(long struct) { return memByteBufferSafe(memGetAddress(struct + FT_Open_Args.MEMORY_BASE), (int)nmemory_size(struct)); } /** Unsafe version of {@link #memory_size}. public static long nmemory_size(long struct) { return memGetCLong(struct + FT_Open_Args.MEMORY_SIZE); } /** Unsafe version of {@link #pathname}. public static @Nullable ByteBuffer npathname(long struct) { return memByteBufferNT1Safe(memGetAddress(struct + FT_Open_Args.PATHNAME)); } /** Unsafe version of {@link #pathnameString}. public static @Nullable String npathnameString(long struct) { return memUTF8Safe(memGetAddress(struct + FT_Open_Args.PATHNAME)); } /** Unsafe version of {@link #stream$}. public static @Nullable FT_Stream nstream$(long struct) { return FT_Stream.createSafe(memGetAddress(struct + FT_Open_Args.STREAM)); } /** Unsafe version of {@link #driver}. public static long ndriver(long struct) { return memGetAddress(struct + FT_Open_Args.DRIVER); } /** Unsafe version of {@link #num_params}. public static int nnum_params(long struct) { return memGetInt(struct + FT_Open_Args.NUM_PARAMS); } /** Unsafe version of {@link #params}. public static FT_Parameter.@Nullable Buffer nparams(long struct) { return FT_Parameter.createSafe(memGetAddress(struct + FT_Open_Args.PARAMS), nnum_params(struct)); } /** Unsafe version of {@link #flags(int) flags}. public static void nflags(long struct, int value) { memPutInt(struct + FT_Open_Args.FLAGS, value); } /** Unsafe version of {@link #memory_base(ByteBuffer) memory_base}. public static void nmemory_base(long struct, @Nullable ByteBuffer value) { memPutAddress(struct + FT_Open_Args.MEMORY_BASE, memAddressSafe(value)); nmemory_size(struct, value == null ? 0 : value.remaining()); } /** Sets the specified value to the {@code memory_size} field of the specified {@code struct}. public static void nmemory_size(long struct, long value) { memPutCLong(struct + FT_Open_Args.MEMORY_SIZE, value); } /** Unsafe version of {@link #pathname(ByteBuffer) pathname}. public static void npathname(long struct, @Nullable ByteBuffer value) { if (CHECKS) { checkNT1Safe(value); } memPutAddress(struct + FT_Open_Args.PATHNAME, memAddressSafe(value)); } /** Unsafe version of {@link #stream$(FT_Stream) stream$}. public static void nstream$(long struct, @Nullable FT_Stream value) { memPutAddress(struct + FT_Open_Args.STREAM, memAddressSafe(value)); } /** Unsafe version of {@link #driver(long) driver}.
FT_Open_Args::ndriver
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static void nnum_params(long struct, int value) { memPutInt(struct + FT_Open_Args.NUM_PARAMS, value); }
Returns a new {@link FT_Open_Args.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_Open_Args.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #flags}. public static int nflags(long struct) { return memGetInt(struct + FT_Open_Args.FLAGS); } /** Unsafe version of {@link #memory_base() memory_base}. public static @Nullable ByteBuffer nmemory_base(long struct) { return memByteBufferSafe(memGetAddress(struct + FT_Open_Args.MEMORY_BASE), (int)nmemory_size(struct)); } /** Unsafe version of {@link #memory_size}. public static long nmemory_size(long struct) { return memGetCLong(struct + FT_Open_Args.MEMORY_SIZE); } /** Unsafe version of {@link #pathname}. public static @Nullable ByteBuffer npathname(long struct) { return memByteBufferNT1Safe(memGetAddress(struct + FT_Open_Args.PATHNAME)); } /** Unsafe version of {@link #pathnameString}. public static @Nullable String npathnameString(long struct) { return memUTF8Safe(memGetAddress(struct + FT_Open_Args.PATHNAME)); } /** Unsafe version of {@link #stream$}. public static @Nullable FT_Stream nstream$(long struct) { return FT_Stream.createSafe(memGetAddress(struct + FT_Open_Args.STREAM)); } /** Unsafe version of {@link #driver}. public static long ndriver(long struct) { return memGetAddress(struct + FT_Open_Args.DRIVER); } /** Unsafe version of {@link #num_params}. public static int nnum_params(long struct) { return memGetInt(struct + FT_Open_Args.NUM_PARAMS); } /** Unsafe version of {@link #params}. public static FT_Parameter.@Nullable Buffer nparams(long struct) { return FT_Parameter.createSafe(memGetAddress(struct + FT_Open_Args.PARAMS), nnum_params(struct)); } /** Unsafe version of {@link #flags(int) flags}. public static void nflags(long struct, int value) { memPutInt(struct + FT_Open_Args.FLAGS, value); } /** Unsafe version of {@link #memory_base(ByteBuffer) memory_base}. public static void nmemory_base(long struct, @Nullable ByteBuffer value) { memPutAddress(struct + FT_Open_Args.MEMORY_BASE, memAddressSafe(value)); nmemory_size(struct, value == null ? 0 : value.remaining()); } /** Sets the specified value to the {@code memory_size} field of the specified {@code struct}. public static void nmemory_size(long struct, long value) { memPutCLong(struct + FT_Open_Args.MEMORY_SIZE, value); } /** Unsafe version of {@link #pathname(ByteBuffer) pathname}. public static void npathname(long struct, @Nullable ByteBuffer value) { if (CHECKS) { checkNT1Safe(value); } memPutAddress(struct + FT_Open_Args.PATHNAME, memAddressSafe(value)); } /** Unsafe version of {@link #stream$(FT_Stream) stream$}. public static void nstream$(long struct, @Nullable FT_Stream value) { memPutAddress(struct + FT_Open_Args.STREAM, memAddressSafe(value)); } /** Unsafe version of {@link #driver(long) driver}. public static void ndriver(long struct, long value) { memPutAddress(struct + FT_Open_Args.DRIVER, value); } /** Sets the specified value to the {@code num_params} field of the specified {@code struct}.
FT_Open_Args::nnum_params
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static void nparams(long struct, FT_Parameter.@Nullable Buffer value) { memPutAddress(struct + FT_Open_Args.PARAMS, memAddressSafe(value)); nnum_params(struct, value == null ? 0 : value.remaining()); }
Returns a new {@link FT_Open_Args.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_Open_Args.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #flags}. public static int nflags(long struct) { return memGetInt(struct + FT_Open_Args.FLAGS); } /** Unsafe version of {@link #memory_base() memory_base}. public static @Nullable ByteBuffer nmemory_base(long struct) { return memByteBufferSafe(memGetAddress(struct + FT_Open_Args.MEMORY_BASE), (int)nmemory_size(struct)); } /** Unsafe version of {@link #memory_size}. public static long nmemory_size(long struct) { return memGetCLong(struct + FT_Open_Args.MEMORY_SIZE); } /** Unsafe version of {@link #pathname}. public static @Nullable ByteBuffer npathname(long struct) { return memByteBufferNT1Safe(memGetAddress(struct + FT_Open_Args.PATHNAME)); } /** Unsafe version of {@link #pathnameString}. public static @Nullable String npathnameString(long struct) { return memUTF8Safe(memGetAddress(struct + FT_Open_Args.PATHNAME)); } /** Unsafe version of {@link #stream$}. public static @Nullable FT_Stream nstream$(long struct) { return FT_Stream.createSafe(memGetAddress(struct + FT_Open_Args.STREAM)); } /** Unsafe version of {@link #driver}. public static long ndriver(long struct) { return memGetAddress(struct + FT_Open_Args.DRIVER); } /** Unsafe version of {@link #num_params}. public static int nnum_params(long struct) { return memGetInt(struct + FT_Open_Args.NUM_PARAMS); } /** Unsafe version of {@link #params}. public static FT_Parameter.@Nullable Buffer nparams(long struct) { return FT_Parameter.createSafe(memGetAddress(struct + FT_Open_Args.PARAMS), nnum_params(struct)); } /** Unsafe version of {@link #flags(int) flags}. public static void nflags(long struct, int value) { memPutInt(struct + FT_Open_Args.FLAGS, value); } /** Unsafe version of {@link #memory_base(ByteBuffer) memory_base}. public static void nmemory_base(long struct, @Nullable ByteBuffer value) { memPutAddress(struct + FT_Open_Args.MEMORY_BASE, memAddressSafe(value)); nmemory_size(struct, value == null ? 0 : value.remaining()); } /** Sets the specified value to the {@code memory_size} field of the specified {@code struct}. public static void nmemory_size(long struct, long value) { memPutCLong(struct + FT_Open_Args.MEMORY_SIZE, value); } /** Unsafe version of {@link #pathname(ByteBuffer) pathname}. public static void npathname(long struct, @Nullable ByteBuffer value) { if (CHECKS) { checkNT1Safe(value); } memPutAddress(struct + FT_Open_Args.PATHNAME, memAddressSafe(value)); } /** Unsafe version of {@link #stream$(FT_Stream) stream$}. public static void nstream$(long struct, @Nullable FT_Stream value) { memPutAddress(struct + FT_Open_Args.STREAM, memAddressSafe(value)); } /** Unsafe version of {@link #driver(long) driver}. public static void ndriver(long struct, long value) { memPutAddress(struct + FT_Open_Args.DRIVER, value); } /** Sets the specified value to the {@code num_params} field of the specified {@code struct}. public static void nnum_params(long struct, int value) { memPutInt(struct + FT_Open_Args.NUM_PARAMS, value); } /** Unsafe version of {@link #params(FT_Parameter.Buffer) params}.
FT_Open_Args::nparams
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public FT_Open_Args.Buffer flags(@NativeType("FT_UInt") int value) { FT_Open_Args.nflags(address(), value); return this; }
Creates a new {@code FT_Open_Args.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_Open_Args#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_Open_Args getElementFactory() { return ELEMENT_FACTORY; } /** @return the value of the {@code flags} field. @NativeType("FT_UInt") public int flags() { return FT_Open_Args.nflags(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code memory_base} field. @NativeType("FT_Byte const *") public @Nullable ByteBuffer memory_base() { return FT_Open_Args.nmemory_base(address()); } /** @return the value of the {@code memory_size} field. @NativeType("FT_Long") public long memory_size() { return FT_Open_Args.nmemory_size(address()); } /** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable ByteBuffer pathname() { return FT_Open_Args.npathname(address()); } /** @return the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable String pathnameString() { return FT_Open_Args.npathnameString(address()); } /** @return a {@link FT_Stream} view of the struct pointed to by the {@code stream} field. public @Nullable FT_Stream stream$() { return FT_Open_Args.nstream$(address()); } /** @return the value of the {@code driver} field. @NativeType("FT_Module") public long driver() { return FT_Open_Args.ndriver(address()); } /** @return the value of the {@code num_params} field. @NativeType("FT_Int") public int num_params() { return FT_Open_Args.nnum_params(address()); } /** @return a {@link FT_Parameter.Buffer} view of the struct array pointed to by the {@code params} field. @NativeType("FT_Parameter *") public FT_Parameter.@Nullable Buffer params() { return FT_Open_Args.nparams(address()); } /** Sets the specified value to the {@code flags} field.
Buffer::flags
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public FT_Open_Args.Buffer memory_base(@Nullable @NativeType("FT_Byte const *") ByteBuffer value) { FT_Open_Args.nmemory_base(address(), value); return this; }
Creates a new {@code FT_Open_Args.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_Open_Args#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_Open_Args getElementFactory() { return ELEMENT_FACTORY; } /** @return the value of the {@code flags} field. @NativeType("FT_UInt") public int flags() { return FT_Open_Args.nflags(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code memory_base} field. @NativeType("FT_Byte const *") public @Nullable ByteBuffer memory_base() { return FT_Open_Args.nmemory_base(address()); } /** @return the value of the {@code memory_size} field. @NativeType("FT_Long") public long memory_size() { return FT_Open_Args.nmemory_size(address()); } /** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable ByteBuffer pathname() { return FT_Open_Args.npathname(address()); } /** @return the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable String pathnameString() { return FT_Open_Args.npathnameString(address()); } /** @return a {@link FT_Stream} view of the struct pointed to by the {@code stream} field. public @Nullable FT_Stream stream$() { return FT_Open_Args.nstream$(address()); } /** @return the value of the {@code driver} field. @NativeType("FT_Module") public long driver() { return FT_Open_Args.ndriver(address()); } /** @return the value of the {@code num_params} field. @NativeType("FT_Int") public int num_params() { return FT_Open_Args.nnum_params(address()); } /** @return a {@link FT_Parameter.Buffer} view of the struct array pointed to by the {@code params} field. @NativeType("FT_Parameter *") public FT_Parameter.@Nullable Buffer params() { return FT_Open_Args.nparams(address()); } /** Sets the specified value to the {@code flags} field. public FT_Open_Args.Buffer flags(@NativeType("FT_UInt") int value) { FT_Open_Args.nflags(address(), value); return this; } /** Sets the address of the specified {@link ByteBuffer} to the {@code memory_base} field.
Buffer::memory_base
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public FT_Open_Args.Buffer memory_size(@NativeType("FT_Long") long value) { FT_Open_Args.nmemory_size(address(), value); return this; }
Creates a new {@code FT_Open_Args.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_Open_Args#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_Open_Args getElementFactory() { return ELEMENT_FACTORY; } /** @return the value of the {@code flags} field. @NativeType("FT_UInt") public int flags() { return FT_Open_Args.nflags(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code memory_base} field. @NativeType("FT_Byte const *") public @Nullable ByteBuffer memory_base() { return FT_Open_Args.nmemory_base(address()); } /** @return the value of the {@code memory_size} field. @NativeType("FT_Long") public long memory_size() { return FT_Open_Args.nmemory_size(address()); } /** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable ByteBuffer pathname() { return FT_Open_Args.npathname(address()); } /** @return the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable String pathnameString() { return FT_Open_Args.npathnameString(address()); } /** @return a {@link FT_Stream} view of the struct pointed to by the {@code stream} field. public @Nullable FT_Stream stream$() { return FT_Open_Args.nstream$(address()); } /** @return the value of the {@code driver} field. @NativeType("FT_Module") public long driver() { return FT_Open_Args.ndriver(address()); } /** @return the value of the {@code num_params} field. @NativeType("FT_Int") public int num_params() { return FT_Open_Args.nnum_params(address()); } /** @return a {@link FT_Parameter.Buffer} view of the struct array pointed to by the {@code params} field. @NativeType("FT_Parameter *") public FT_Parameter.@Nullable Buffer params() { return FT_Open_Args.nparams(address()); } /** Sets the specified value to the {@code flags} field. public FT_Open_Args.Buffer flags(@NativeType("FT_UInt") int value) { FT_Open_Args.nflags(address(), value); return this; } /** Sets the address of the specified {@link ByteBuffer} to the {@code memory_base} field. public FT_Open_Args.Buffer memory_base(@Nullable @NativeType("FT_Byte const *") ByteBuffer value) { FT_Open_Args.nmemory_base(address(), value); return this; } /** Sets the specified value to the {@code memory_size} field.
Buffer::memory_size
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public FT_Open_Args.Buffer pathname(@Nullable @NativeType("FT_String *") ByteBuffer value) { FT_Open_Args.npathname(address(), value); return this; }
Creates a new {@code FT_Open_Args.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_Open_Args#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_Open_Args getElementFactory() { return ELEMENT_FACTORY; } /** @return the value of the {@code flags} field. @NativeType("FT_UInt") public int flags() { return FT_Open_Args.nflags(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code memory_base} field. @NativeType("FT_Byte const *") public @Nullable ByteBuffer memory_base() { return FT_Open_Args.nmemory_base(address()); } /** @return the value of the {@code memory_size} field. @NativeType("FT_Long") public long memory_size() { return FT_Open_Args.nmemory_size(address()); } /** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable ByteBuffer pathname() { return FT_Open_Args.npathname(address()); } /** @return the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable String pathnameString() { return FT_Open_Args.npathnameString(address()); } /** @return a {@link FT_Stream} view of the struct pointed to by the {@code stream} field. public @Nullable FT_Stream stream$() { return FT_Open_Args.nstream$(address()); } /** @return the value of the {@code driver} field. @NativeType("FT_Module") public long driver() { return FT_Open_Args.ndriver(address()); } /** @return the value of the {@code num_params} field. @NativeType("FT_Int") public int num_params() { return FT_Open_Args.nnum_params(address()); } /** @return a {@link FT_Parameter.Buffer} view of the struct array pointed to by the {@code params} field. @NativeType("FT_Parameter *") public FT_Parameter.@Nullable Buffer params() { return FT_Open_Args.nparams(address()); } /** Sets the specified value to the {@code flags} field. public FT_Open_Args.Buffer flags(@NativeType("FT_UInt") int value) { FT_Open_Args.nflags(address(), value); return this; } /** Sets the address of the specified {@link ByteBuffer} to the {@code memory_base} field. public FT_Open_Args.Buffer memory_base(@Nullable @NativeType("FT_Byte const *") ByteBuffer value) { FT_Open_Args.nmemory_base(address(), value); return this; } /** Sets the specified value to the {@code memory_size} field. public FT_Open_Args.Buffer memory_size(@NativeType("FT_Long") long value) { FT_Open_Args.nmemory_size(address(), value); return this; } /** Sets the address of the specified encoded string to the {@code pathname} field.
Buffer::pathname
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public FT_Open_Args.Buffer driver(@NativeType("FT_Module") long value) { FT_Open_Args.ndriver(address(), value); return this; }
Creates a new {@code FT_Open_Args.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_Open_Args#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_Open_Args getElementFactory() { return ELEMENT_FACTORY; } /** @return the value of the {@code flags} field. @NativeType("FT_UInt") public int flags() { return FT_Open_Args.nflags(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code memory_base} field. @NativeType("FT_Byte const *") public @Nullable ByteBuffer memory_base() { return FT_Open_Args.nmemory_base(address()); } /** @return the value of the {@code memory_size} field. @NativeType("FT_Long") public long memory_size() { return FT_Open_Args.nmemory_size(address()); } /** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable ByteBuffer pathname() { return FT_Open_Args.npathname(address()); } /** @return the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable String pathnameString() { return FT_Open_Args.npathnameString(address()); } /** @return a {@link FT_Stream} view of the struct pointed to by the {@code stream} field. public @Nullable FT_Stream stream$() { return FT_Open_Args.nstream$(address()); } /** @return the value of the {@code driver} field. @NativeType("FT_Module") public long driver() { return FT_Open_Args.ndriver(address()); } /** @return the value of the {@code num_params} field. @NativeType("FT_Int") public int num_params() { return FT_Open_Args.nnum_params(address()); } /** @return a {@link FT_Parameter.Buffer} view of the struct array pointed to by the {@code params} field. @NativeType("FT_Parameter *") public FT_Parameter.@Nullable Buffer params() { return FT_Open_Args.nparams(address()); } /** Sets the specified value to the {@code flags} field. public FT_Open_Args.Buffer flags(@NativeType("FT_UInt") int value) { FT_Open_Args.nflags(address(), value); return this; } /** Sets the address of the specified {@link ByteBuffer} to the {@code memory_base} field. public FT_Open_Args.Buffer memory_base(@Nullable @NativeType("FT_Byte const *") ByteBuffer value) { FT_Open_Args.nmemory_base(address(), value); return this; } /** Sets the specified value to the {@code memory_size} field. public FT_Open_Args.Buffer memory_size(@NativeType("FT_Long") long value) { FT_Open_Args.nmemory_size(address(), value); return this; } /** Sets the address of the specified encoded string to the {@code pathname} field. public FT_Open_Args.Buffer pathname(@Nullable @NativeType("FT_String *") ByteBuffer value) { FT_Open_Args.npathname(address(), value); return this; } /** Sets the address of the specified {@link FT_Stream} to the {@code stream} field. public FT_Open_Args.Buffer stream$(@Nullable FT_Stream value) { FT_Open_Args.nstream$(address(), value); return this; } /** Sets the specified value to the {@code driver} field.
Buffer::driver
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public FT_Open_Args.Buffer num_params(@NativeType("FT_Int") int value) { FT_Open_Args.nnum_params(address(), value); return this; }
Creates a new {@code FT_Open_Args.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_Open_Args#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_Open_Args getElementFactory() { return ELEMENT_FACTORY; } /** @return the value of the {@code flags} field. @NativeType("FT_UInt") public int flags() { return FT_Open_Args.nflags(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code memory_base} field. @NativeType("FT_Byte const *") public @Nullable ByteBuffer memory_base() { return FT_Open_Args.nmemory_base(address()); } /** @return the value of the {@code memory_size} field. @NativeType("FT_Long") public long memory_size() { return FT_Open_Args.nmemory_size(address()); } /** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable ByteBuffer pathname() { return FT_Open_Args.npathname(address()); } /** @return the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable String pathnameString() { return FT_Open_Args.npathnameString(address()); } /** @return a {@link FT_Stream} view of the struct pointed to by the {@code stream} field. public @Nullable FT_Stream stream$() { return FT_Open_Args.nstream$(address()); } /** @return the value of the {@code driver} field. @NativeType("FT_Module") public long driver() { return FT_Open_Args.ndriver(address()); } /** @return the value of the {@code num_params} field. @NativeType("FT_Int") public int num_params() { return FT_Open_Args.nnum_params(address()); } /** @return a {@link FT_Parameter.Buffer} view of the struct array pointed to by the {@code params} field. @NativeType("FT_Parameter *") public FT_Parameter.@Nullable Buffer params() { return FT_Open_Args.nparams(address()); } /** Sets the specified value to the {@code flags} field. public FT_Open_Args.Buffer flags(@NativeType("FT_UInt") int value) { FT_Open_Args.nflags(address(), value); return this; } /** Sets the address of the specified {@link ByteBuffer} to the {@code memory_base} field. public FT_Open_Args.Buffer memory_base(@Nullable @NativeType("FT_Byte const *") ByteBuffer value) { FT_Open_Args.nmemory_base(address(), value); return this; } /** Sets the specified value to the {@code memory_size} field. public FT_Open_Args.Buffer memory_size(@NativeType("FT_Long") long value) { FT_Open_Args.nmemory_size(address(), value); return this; } /** Sets the address of the specified encoded string to the {@code pathname} field. public FT_Open_Args.Buffer pathname(@Nullable @NativeType("FT_String *") ByteBuffer value) { FT_Open_Args.npathname(address(), value); return this; } /** Sets the address of the specified {@link FT_Stream} to the {@code stream} field. public FT_Open_Args.Buffer stream$(@Nullable FT_Stream value) { FT_Open_Args.nstream$(address(), value); return this; } /** Sets the specified value to the {@code driver} field. public FT_Open_Args.Buffer driver(@NativeType("FT_Module") long value) { FT_Open_Args.ndriver(address(), value); return this; } /** Sets the specified value to the {@code num_params} field.
Buffer::num_params
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public FT_Open_Args.Buffer params(@NativeType("FT_Parameter *") FT_Parameter.@Nullable Buffer value) { FT_Open_Args.nparams(address(), value); return this; }
Creates a new {@code FT_Open_Args.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_Open_Args#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_Open_Args getElementFactory() { return ELEMENT_FACTORY; } /** @return the value of the {@code flags} field. @NativeType("FT_UInt") public int flags() { return FT_Open_Args.nflags(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code memory_base} field. @NativeType("FT_Byte const *") public @Nullable ByteBuffer memory_base() { return FT_Open_Args.nmemory_base(address()); } /** @return the value of the {@code memory_size} field. @NativeType("FT_Long") public long memory_size() { return FT_Open_Args.nmemory_size(address()); } /** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable ByteBuffer pathname() { return FT_Open_Args.npathname(address()); } /** @return the null-terminated string pointed to by the {@code pathname} field. @NativeType("FT_String *") public @Nullable String pathnameString() { return FT_Open_Args.npathnameString(address()); } /** @return a {@link FT_Stream} view of the struct pointed to by the {@code stream} field. public @Nullable FT_Stream stream$() { return FT_Open_Args.nstream$(address()); } /** @return the value of the {@code driver} field. @NativeType("FT_Module") public long driver() { return FT_Open_Args.ndriver(address()); } /** @return the value of the {@code num_params} field. @NativeType("FT_Int") public int num_params() { return FT_Open_Args.nnum_params(address()); } /** @return a {@link FT_Parameter.Buffer} view of the struct array pointed to by the {@code params} field. @NativeType("FT_Parameter *") public FT_Parameter.@Nullable Buffer params() { return FT_Open_Args.nparams(address()); } /** Sets the specified value to the {@code flags} field. public FT_Open_Args.Buffer flags(@NativeType("FT_UInt") int value) { FT_Open_Args.nflags(address(), value); return this; } /** Sets the address of the specified {@link ByteBuffer} to the {@code memory_base} field. public FT_Open_Args.Buffer memory_base(@Nullable @NativeType("FT_Byte const *") ByteBuffer value) { FT_Open_Args.nmemory_base(address(), value); return this; } /** Sets the specified value to the {@code memory_size} field. public FT_Open_Args.Buffer memory_size(@NativeType("FT_Long") long value) { FT_Open_Args.nmemory_size(address(), value); return this; } /** Sets the address of the specified encoded string to the {@code pathname} field. public FT_Open_Args.Buffer pathname(@Nullable @NativeType("FT_String *") ByteBuffer value) { FT_Open_Args.npathname(address(), value); return this; } /** Sets the address of the specified {@link FT_Stream} to the {@code stream} field. public FT_Open_Args.Buffer stream$(@Nullable FT_Stream value) { FT_Open_Args.nstream$(address(), value); return this; } /** Sets the specified value to the {@code driver} field. public FT_Open_Args.Buffer driver(@NativeType("FT_Module") long value) { FT_Open_Args.ndriver(address(), value); return this; } /** Sets the specified value to the {@code num_params} field. public FT_Open_Args.Buffer num_params(@NativeType("FT_Int") int value) { FT_Open_Args.nnum_params(address(), value); return this; } /** Sets the address of the specified {@link FT_Parameter.Buffer} to the {@code params} field.
Buffer::params
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Open_Args.java
BSD-3-Clause
public static FT_Raster_SetModeFunc create(long functionPointer) { FT_Raster_SetModeFuncI instance = Callback.get(functionPointer); return instance instanceof FT_Raster_SetModeFunc ? (FT_Raster_SetModeFunc)instance : new Container(functionPointer, instance); }
Creates a {@code FT_Raster_SetModeFunc} instance from the specified function pointer. @return the new {@code FT_Raster_SetModeFunc}
FT_Raster_SetModeFunc::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Raster_SetModeFunc.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Raster_SetModeFunc.java
BSD-3-Clause
public static @Nullable FT_Raster_SetModeFunc createSafe(long functionPointer) { return functionPointer == NULL ? null : create(functionPointer); }
Creates a {@code FT_Raster_SetModeFunc} instance from the specified function pointer. @return the new {@code FT_Raster_SetModeFunc} public static FT_Raster_SetModeFunc create(long functionPointer) { FT_Raster_SetModeFuncI instance = Callback.get(functionPointer); return instance instanceof FT_Raster_SetModeFunc ? (FT_Raster_SetModeFunc)instance : new Container(functionPointer, instance); } /** Like {@link #create(long) create}, but returns {@code null} if {@code functionPointer} is {@code NULL}.
FT_Raster_SetModeFunc::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Raster_SetModeFunc.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Raster_SetModeFunc.java
BSD-3-Clause
public static FT_Raster_SetModeFunc create(FT_Raster_SetModeFuncI instance) { return instance instanceof FT_Raster_SetModeFunc ? (FT_Raster_SetModeFunc)instance : new Container(instance.address(), instance); }
Creates a {@code FT_Raster_SetModeFunc} instance from the specified function pointer. @return the new {@code FT_Raster_SetModeFunc} public static FT_Raster_SetModeFunc create(long functionPointer) { FT_Raster_SetModeFuncI instance = Callback.get(functionPointer); return instance instanceof FT_Raster_SetModeFunc ? (FT_Raster_SetModeFunc)instance : new Container(functionPointer, instance); } /** Like {@link #create(long) create}, but returns {@code null} if {@code functionPointer} is {@code NULL}. public static @Nullable FT_Raster_SetModeFunc createSafe(long functionPointer) { return functionPointer == NULL ? null : create(functionPointer); } /** Creates a {@code FT_Raster_SetModeFunc} instance that delegates to the specified {@code FT_Raster_SetModeFuncI} instance.
FT_Raster_SetModeFunc::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Raster_SetModeFunc.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Raster_SetModeFunc.java
BSD-3-Clause
public FT_Palette_Data(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); }
Creates a {@code FT_Palette_Data} 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_Palette_Data::FT_Palette_Data
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
BSD-3-Clause
public static FT_Palette_Data malloc() { return new FT_Palette_Data(nmemAllocChecked(SIZEOF), null); }
Creates a {@code FT_Palette_Data} 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_Palette_Data(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code num_palettes} field. @NativeType("FT_UShort") public short num_palettes() { return nnum_palettes(address()); } /** @return a {@link ShortBuffer} view of the data pointed to by the {@code palette_name_ids} field. @NativeType("FT_UShort const *") public @Nullable ShortBuffer palette_name_ids() { return npalette_name_ids(address()); } /** @return a {@link ShortBuffer} view of the data pointed to by the {@code palette_flags} field. @NativeType("FT_UShort const *") public @Nullable ShortBuffer palette_flags() { return npalette_flags(address()); } /** @return the value of the {@code num_palette_entries} field. @NativeType("FT_UShort") public short num_palette_entries() { return nnum_palette_entries(address()); } /** @return a {@link ShortBuffer} view of the data pointed to by the {@code palette_entry_name_ids} field. @NativeType("FT_UShort const *") public @Nullable ShortBuffer palette_entry_name_ids() { return npalette_entry_name_ids(address()); } // ----------------------------------- /** Returns a new {@code FT_Palette_Data} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
FT_Palette_Data::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
BSD-3-Clause
public static FT_Palette_Data calloc() { return new FT_Palette_Data(nmemCallocChecked(1, SIZEOF), null); }
Creates a {@code FT_Palette_Data} 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_Palette_Data(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code num_palettes} field. @NativeType("FT_UShort") public short num_palettes() { return nnum_palettes(address()); } /** @return a {@link ShortBuffer} view of the data pointed to by the {@code palette_name_ids} field. @NativeType("FT_UShort const *") public @Nullable ShortBuffer palette_name_ids() { return npalette_name_ids(address()); } /** @return a {@link ShortBuffer} view of the data pointed to by the {@code palette_flags} field. @NativeType("FT_UShort const *") public @Nullable ShortBuffer palette_flags() { return npalette_flags(address()); } /** @return the value of the {@code num_palette_entries} field. @NativeType("FT_UShort") public short num_palette_entries() { return nnum_palette_entries(address()); } /** @return a {@link ShortBuffer} view of the data pointed to by the {@code palette_entry_name_ids} field. @NativeType("FT_UShort const *") public @Nullable ShortBuffer palette_entry_name_ids() { return npalette_entry_name_ids(address()); } // ----------------------------------- /** Returns a new {@code FT_Palette_Data} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_Palette_Data malloc() { return new FT_Palette_Data(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_Palette_Data} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
FT_Palette_Data::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
BSD-3-Clause
public static FT_Palette_Data create() { ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF); return new FT_Palette_Data(memAddress(container), container); }
Creates a {@code FT_Palette_Data} 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_Palette_Data(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code num_palettes} field. @NativeType("FT_UShort") public short num_palettes() { return nnum_palettes(address()); } /** @return a {@link ShortBuffer} view of the data pointed to by the {@code palette_name_ids} field. @NativeType("FT_UShort const *") public @Nullable ShortBuffer palette_name_ids() { return npalette_name_ids(address()); } /** @return a {@link ShortBuffer} view of the data pointed to by the {@code palette_flags} field. @NativeType("FT_UShort const *") public @Nullable ShortBuffer palette_flags() { return npalette_flags(address()); } /** @return the value of the {@code num_palette_entries} field. @NativeType("FT_UShort") public short num_palette_entries() { return nnum_palette_entries(address()); } /** @return a {@link ShortBuffer} view of the data pointed to by the {@code palette_entry_name_ids} field. @NativeType("FT_UShort const *") public @Nullable ShortBuffer palette_entry_name_ids() { return npalette_entry_name_ids(address()); } // ----------------------------------- /** Returns a new {@code FT_Palette_Data} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_Palette_Data malloc() { return new FT_Palette_Data(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_Palette_Data} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. public static FT_Palette_Data calloc() { return new FT_Palette_Data(nmemCallocChecked(1, SIZEOF), null); } /** Returns a new {@code FT_Palette_Data} instance allocated with {@link BufferUtils}.
FT_Palette_Data::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
BSD-3-Clause
public static FT_Palette_Data create(long address) { return new FT_Palette_Data(address, null); }
Creates a {@code FT_Palette_Data} 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_Palette_Data(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code num_palettes} field. @NativeType("FT_UShort") public short num_palettes() { return nnum_palettes(address()); } /** @return a {@link ShortBuffer} view of the data pointed to by the {@code palette_name_ids} field. @NativeType("FT_UShort const *") public @Nullable ShortBuffer palette_name_ids() { return npalette_name_ids(address()); } /** @return a {@link ShortBuffer} view of the data pointed to by the {@code palette_flags} field. @NativeType("FT_UShort const *") public @Nullable ShortBuffer palette_flags() { return npalette_flags(address()); } /** @return the value of the {@code num_palette_entries} field. @NativeType("FT_UShort") public short num_palette_entries() { return nnum_palette_entries(address()); } /** @return a {@link ShortBuffer} view of the data pointed to by the {@code palette_entry_name_ids} field. @NativeType("FT_UShort const *") public @Nullable ShortBuffer palette_entry_name_ids() { return npalette_entry_name_ids(address()); } // ----------------------------------- /** Returns a new {@code FT_Palette_Data} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_Palette_Data malloc() { return new FT_Palette_Data(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_Palette_Data} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. public static FT_Palette_Data calloc() { return new FT_Palette_Data(nmemCallocChecked(1, SIZEOF), null); } /** Returns a new {@code FT_Palette_Data} instance allocated with {@link BufferUtils}. public static FT_Palette_Data create() { ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF); return new FT_Palette_Data(memAddress(container), container); } /** Returns a new {@code FT_Palette_Data} instance for the specified memory address.
FT_Palette_Data::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
BSD-3-Clause
public static @Nullable FT_Palette_Data createSafe(long address) { return address == NULL ? null : new FT_Palette_Data(address, null); }
Creates a {@code FT_Palette_Data} 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_Palette_Data(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code num_palettes} field. @NativeType("FT_UShort") public short num_palettes() { return nnum_palettes(address()); } /** @return a {@link ShortBuffer} view of the data pointed to by the {@code palette_name_ids} field. @NativeType("FT_UShort const *") public @Nullable ShortBuffer palette_name_ids() { return npalette_name_ids(address()); } /** @return a {@link ShortBuffer} view of the data pointed to by the {@code palette_flags} field. @NativeType("FT_UShort const *") public @Nullable ShortBuffer palette_flags() { return npalette_flags(address()); } /** @return the value of the {@code num_palette_entries} field. @NativeType("FT_UShort") public short num_palette_entries() { return nnum_palette_entries(address()); } /** @return a {@link ShortBuffer} view of the data pointed to by the {@code palette_entry_name_ids} field. @NativeType("FT_UShort const *") public @Nullable ShortBuffer palette_entry_name_ids() { return npalette_entry_name_ids(address()); } // ----------------------------------- /** Returns a new {@code FT_Palette_Data} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_Palette_Data malloc() { return new FT_Palette_Data(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_Palette_Data} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. public static FT_Palette_Data calloc() { return new FT_Palette_Data(nmemCallocChecked(1, SIZEOF), null); } /** Returns a new {@code FT_Palette_Data} instance allocated with {@link BufferUtils}. public static FT_Palette_Data create() { ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF); return new FT_Palette_Data(memAddress(container), container); } /** Returns a new {@code FT_Palette_Data} instance for the specified memory address. public static FT_Palette_Data create(long address) { return new FT_Palette_Data(address, null); } /** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}.
FT_Palette_Data::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
BSD-3-Clause
public static FT_Palette_Data.Buffer malloc(int capacity) { return new Buffer(nmemAllocChecked(__checkMalloc(capacity, SIZEOF)), capacity); }
Returns a new {@link FT_Palette_Data.Buffer} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. @param capacity the buffer capacity
FT_Palette_Data::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
BSD-3-Clause
public static FT_Palette_Data.Buffer calloc(int capacity) { return new Buffer(nmemCallocChecked(capacity, SIZEOF), capacity); }
Returns a new {@link FT_Palette_Data.Buffer} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. @param capacity the buffer capacity
FT_Palette_Data::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
BSD-3-Clause
public static FT_Palette_Data.Buffer create(int capacity) { ByteBuffer container = __create(capacity, SIZEOF); return new Buffer(memAddress(container), container, -1, 0, capacity, capacity); }
Returns a new {@link FT_Palette_Data.Buffer} instance allocated with {@link BufferUtils}. @param capacity the buffer capacity
FT_Palette_Data::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
BSD-3-Clause
public static FT_Palette_Data.Buffer create(long address, int capacity) { return new Buffer(address, capacity); }
Create a {@link FT_Palette_Data.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity
FT_Palette_Data::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
BSD-3-Clause
public static FT_Palette_Data.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); }
Create a {@link FT_Palette_Data.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Palette_Data.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_Palette_Data::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
BSD-3-Clause
public static FT_Palette_Data malloc(MemoryStack stack) { return new FT_Palette_Data(stack.nmalloc(ALIGNOF, SIZEOF), null); }
Returns a new {@code FT_Palette_Data} instance allocated on the specified {@link MemoryStack}. @param stack the stack from which to allocate
FT_Palette_Data::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
BSD-3-Clause
public static FT_Palette_Data calloc(MemoryStack stack) { return new FT_Palette_Data(stack.ncalloc(ALIGNOF, 1, SIZEOF), null); }
Returns a new {@code FT_Palette_Data} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate
FT_Palette_Data::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
BSD-3-Clause
public static FT_Palette_Data.Buffer malloc(int capacity, MemoryStack stack) { return new Buffer(stack.nmalloc(ALIGNOF, capacity * SIZEOF), capacity); }
Returns a new {@link FT_Palette_Data.Buffer} instance allocated on the specified {@link MemoryStack}. @param stack the stack from which to allocate @param capacity the buffer capacity
FT_Palette_Data::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
BSD-3-Clause
public static FT_Palette_Data.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); }
Returns a new {@link FT_Palette_Data.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_Palette_Data::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
BSD-3-Clause
public static short nnum_palettes(long struct) { return memGetShort(struct + FT_Palette_Data.NUM_PALETTES); }
Returns a new {@link FT_Palette_Data.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_Palette_Data.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #num_palettes}.
FT_Palette_Data::nnum_palettes
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
BSD-3-Clause
public static @Nullable ShortBuffer npalette_name_ids(long struct) { return memShortBufferSafe(memGetAddress(struct + FT_Palette_Data.PALETTE_NAME_IDS), Short.toUnsignedInt(nnum_palettes(struct))); }
Returns a new {@link FT_Palette_Data.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_Palette_Data.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #num_palettes}. public static short nnum_palettes(long struct) { return memGetShort(struct + FT_Palette_Data.NUM_PALETTES); } /** Unsafe version of {@link #palette_name_ids() palette_name_ids}.
FT_Palette_Data::npalette_name_ids
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
BSD-3-Clause
public static @Nullable ShortBuffer npalette_flags(long struct) { return memShortBufferSafe(memGetAddress(struct + FT_Palette_Data.PALETTE_FLAGS), Short.toUnsignedInt(nnum_palettes(struct))); }
Returns a new {@link FT_Palette_Data.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_Palette_Data.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #num_palettes}. public static short nnum_palettes(long struct) { return memGetShort(struct + FT_Palette_Data.NUM_PALETTES); } /** Unsafe version of {@link #palette_name_ids() palette_name_ids}. public static @Nullable ShortBuffer npalette_name_ids(long struct) { return memShortBufferSafe(memGetAddress(struct + FT_Palette_Data.PALETTE_NAME_IDS), Short.toUnsignedInt(nnum_palettes(struct))); } /** Unsafe version of {@link #palette_flags() palette_flags}.
FT_Palette_Data::npalette_flags
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
BSD-3-Clause
public static short nnum_palette_entries(long struct) { return memGetShort(struct + FT_Palette_Data.NUM_PALETTE_ENTRIES); }
Returns a new {@link FT_Palette_Data.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_Palette_Data.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #num_palettes}. public static short nnum_palettes(long struct) { return memGetShort(struct + FT_Palette_Data.NUM_PALETTES); } /** Unsafe version of {@link #palette_name_ids() palette_name_ids}. public static @Nullable ShortBuffer npalette_name_ids(long struct) { return memShortBufferSafe(memGetAddress(struct + FT_Palette_Data.PALETTE_NAME_IDS), Short.toUnsignedInt(nnum_palettes(struct))); } /** Unsafe version of {@link #palette_flags() palette_flags}. public static @Nullable ShortBuffer npalette_flags(long struct) { return memShortBufferSafe(memGetAddress(struct + FT_Palette_Data.PALETTE_FLAGS), Short.toUnsignedInt(nnum_palettes(struct))); } /** Unsafe version of {@link #num_palette_entries}.
FT_Palette_Data::nnum_palette_entries
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
BSD-3-Clause
public static @Nullable ShortBuffer npalette_entry_name_ids(long struct) { return memShortBufferSafe(memGetAddress(struct + FT_Palette_Data.PALETTE_ENTRY_NAME_IDS), Short.toUnsignedInt(nnum_palette_entries(struct))); }
Returns a new {@link FT_Palette_Data.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_Palette_Data.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #num_palettes}. public static short nnum_palettes(long struct) { return memGetShort(struct + FT_Palette_Data.NUM_PALETTES); } /** Unsafe version of {@link #palette_name_ids() palette_name_ids}. public static @Nullable ShortBuffer npalette_name_ids(long struct) { return memShortBufferSafe(memGetAddress(struct + FT_Palette_Data.PALETTE_NAME_IDS), Short.toUnsignedInt(nnum_palettes(struct))); } /** Unsafe version of {@link #palette_flags() palette_flags}. public static @Nullable ShortBuffer npalette_flags(long struct) { return memShortBufferSafe(memGetAddress(struct + FT_Palette_Data.PALETTE_FLAGS), Short.toUnsignedInt(nnum_palettes(struct))); } /** Unsafe version of {@link #num_palette_entries}. public static short nnum_palette_entries(long struct) { return memGetShort(struct + FT_Palette_Data.NUM_PALETTE_ENTRIES); } /** Unsafe version of {@link #palette_entry_name_ids() palette_entry_name_ids}.
FT_Palette_Data::npalette_entry_name_ids
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Palette_Data.java
BSD-3-Clause
public FT_Outline(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); }
Creates a {@code FT_Outline} 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_Outline::FT_Outline
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
BSD-3-Clause
public static FT_Outline malloc() { return new FT_Outline(nmemAllocChecked(SIZEOF), null); }
Creates a {@code FT_Outline} 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_Outline(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code n_contours} field. @NativeType("unsigned short") public short n_contours() { return nn_contours(address()); } /** @return the value of the {@code n_points} field. @NativeType("unsigned short") public short n_points() { return nn_points(address()); } /** @return a {@link FT_Vector.Buffer} view of the struct array pointed to by the {@code points} field. @NativeType("FT_Vector *") public FT_Vector.Buffer points() { return npoints(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code tags} field. @NativeType("unsigned char *") public ByteBuffer tags() { return ntags(address()); } /** @return a {@link ShortBuffer} view of the data pointed to by the {@code contours} field. @NativeType("unsigned short *") public ShortBuffer contours() { return ncontours(address()); } /** @return the value of the {@code flags} field. public int flags() { return nflags(address()); } // ----------------------------------- /** Returns a new {@code FT_Outline} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
FT_Outline::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
BSD-3-Clause
public static FT_Outline calloc() { return new FT_Outline(nmemCallocChecked(1, SIZEOF), null); }
Creates a {@code FT_Outline} 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_Outline(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code n_contours} field. @NativeType("unsigned short") public short n_contours() { return nn_contours(address()); } /** @return the value of the {@code n_points} field. @NativeType("unsigned short") public short n_points() { return nn_points(address()); } /** @return a {@link FT_Vector.Buffer} view of the struct array pointed to by the {@code points} field. @NativeType("FT_Vector *") public FT_Vector.Buffer points() { return npoints(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code tags} field. @NativeType("unsigned char *") public ByteBuffer tags() { return ntags(address()); } /** @return a {@link ShortBuffer} view of the data pointed to by the {@code contours} field. @NativeType("unsigned short *") public ShortBuffer contours() { return ncontours(address()); } /** @return the value of the {@code flags} field. public int flags() { return nflags(address()); } // ----------------------------------- /** Returns a new {@code FT_Outline} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_Outline malloc() { return new FT_Outline(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_Outline} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
FT_Outline::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
BSD-3-Clause
public static FT_Outline create() { ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF); return new FT_Outline(memAddress(container), container); }
Creates a {@code FT_Outline} 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_Outline(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code n_contours} field. @NativeType("unsigned short") public short n_contours() { return nn_contours(address()); } /** @return the value of the {@code n_points} field. @NativeType("unsigned short") public short n_points() { return nn_points(address()); } /** @return a {@link FT_Vector.Buffer} view of the struct array pointed to by the {@code points} field. @NativeType("FT_Vector *") public FT_Vector.Buffer points() { return npoints(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code tags} field. @NativeType("unsigned char *") public ByteBuffer tags() { return ntags(address()); } /** @return a {@link ShortBuffer} view of the data pointed to by the {@code contours} field. @NativeType("unsigned short *") public ShortBuffer contours() { return ncontours(address()); } /** @return the value of the {@code flags} field. public int flags() { return nflags(address()); } // ----------------------------------- /** Returns a new {@code FT_Outline} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_Outline malloc() { return new FT_Outline(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_Outline} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. public static FT_Outline calloc() { return new FT_Outline(nmemCallocChecked(1, SIZEOF), null); } /** Returns a new {@code FT_Outline} instance allocated with {@link BufferUtils}.
FT_Outline::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
BSD-3-Clause
public static FT_Outline create(long address) { return new FT_Outline(address, null); }
Creates a {@code FT_Outline} 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_Outline(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code n_contours} field. @NativeType("unsigned short") public short n_contours() { return nn_contours(address()); } /** @return the value of the {@code n_points} field. @NativeType("unsigned short") public short n_points() { return nn_points(address()); } /** @return a {@link FT_Vector.Buffer} view of the struct array pointed to by the {@code points} field. @NativeType("FT_Vector *") public FT_Vector.Buffer points() { return npoints(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code tags} field. @NativeType("unsigned char *") public ByteBuffer tags() { return ntags(address()); } /** @return a {@link ShortBuffer} view of the data pointed to by the {@code contours} field. @NativeType("unsigned short *") public ShortBuffer contours() { return ncontours(address()); } /** @return the value of the {@code flags} field. public int flags() { return nflags(address()); } // ----------------------------------- /** Returns a new {@code FT_Outline} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_Outline malloc() { return new FT_Outline(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_Outline} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. public static FT_Outline calloc() { return new FT_Outline(nmemCallocChecked(1, SIZEOF), null); } /** Returns a new {@code FT_Outline} instance allocated with {@link BufferUtils}. public static FT_Outline create() { ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF); return new FT_Outline(memAddress(container), container); } /** Returns a new {@code FT_Outline} instance for the specified memory address.
FT_Outline::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
BSD-3-Clause
public static @Nullable FT_Outline createSafe(long address) { return address == NULL ? null : new FT_Outline(address, null); }
Creates a {@code FT_Outline} 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_Outline(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code n_contours} field. @NativeType("unsigned short") public short n_contours() { return nn_contours(address()); } /** @return the value of the {@code n_points} field. @NativeType("unsigned short") public short n_points() { return nn_points(address()); } /** @return a {@link FT_Vector.Buffer} view of the struct array pointed to by the {@code points} field. @NativeType("FT_Vector *") public FT_Vector.Buffer points() { return npoints(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code tags} field. @NativeType("unsigned char *") public ByteBuffer tags() { return ntags(address()); } /** @return a {@link ShortBuffer} view of the data pointed to by the {@code contours} field. @NativeType("unsigned short *") public ShortBuffer contours() { return ncontours(address()); } /** @return the value of the {@code flags} field. public int flags() { return nflags(address()); } // ----------------------------------- /** Returns a new {@code FT_Outline} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_Outline malloc() { return new FT_Outline(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_Outline} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. public static FT_Outline calloc() { return new FT_Outline(nmemCallocChecked(1, SIZEOF), null); } /** Returns a new {@code FT_Outline} instance allocated with {@link BufferUtils}. public static FT_Outline create() { ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF); return new FT_Outline(memAddress(container), container); } /** Returns a new {@code FT_Outline} instance for the specified memory address. public static FT_Outline create(long address) { return new FT_Outline(address, null); } /** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}.
FT_Outline::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
BSD-3-Clause
public static FT_Outline.Buffer malloc(int capacity) { return new Buffer(nmemAllocChecked(__checkMalloc(capacity, SIZEOF)), capacity); }
Returns a new {@link FT_Outline.Buffer} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. @param capacity the buffer capacity
FT_Outline::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
BSD-3-Clause
public static FT_Outline.Buffer calloc(int capacity) { return new Buffer(nmemCallocChecked(capacity, SIZEOF), capacity); }
Returns a new {@link FT_Outline.Buffer} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. @param capacity the buffer capacity
FT_Outline::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
BSD-3-Clause
public static FT_Outline.Buffer create(int capacity) { ByteBuffer container = __create(capacity, SIZEOF); return new Buffer(memAddress(container), container, -1, 0, capacity, capacity); }
Returns a new {@link FT_Outline.Buffer} instance allocated with {@link BufferUtils}. @param capacity the buffer capacity
FT_Outline::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
BSD-3-Clause
public static FT_Outline.Buffer create(long address, int capacity) { return new Buffer(address, capacity); }
Create a {@link FT_Outline.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity
FT_Outline::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
BSD-3-Clause
public static FT_Outline.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); }
Create a {@link FT_Outline.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Outline.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_Outline::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
BSD-3-Clause
public static FT_Outline malloc(MemoryStack stack) { return new FT_Outline(stack.nmalloc(ALIGNOF, SIZEOF), null); }
Returns a new {@code FT_Outline} instance allocated on the specified {@link MemoryStack}. @param stack the stack from which to allocate
FT_Outline::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
BSD-3-Clause
public static FT_Outline calloc(MemoryStack stack) { return new FT_Outline(stack.ncalloc(ALIGNOF, 1, SIZEOF), null); }
Returns a new {@code FT_Outline} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate
FT_Outline::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
BSD-3-Clause
public static FT_Outline.Buffer malloc(int capacity, MemoryStack stack) { return new Buffer(stack.nmalloc(ALIGNOF, capacity * SIZEOF), capacity); }
Returns a new {@link FT_Outline.Buffer} instance allocated on the specified {@link MemoryStack}. @param stack the stack from which to allocate @param capacity the buffer capacity
FT_Outline::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
BSD-3-Clause
public static FT_Outline.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); }
Returns a new {@link FT_Outline.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_Outline::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
BSD-3-Clause
public static short nn_contours(long struct) { return memGetShort(struct + FT_Outline.N_CONTOURS); }
Returns a new {@link FT_Outline.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_Outline.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #n_contours}.
FT_Outline::nn_contours
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
BSD-3-Clause
public static short nn_points(long struct) { return memGetShort(struct + FT_Outline.N_POINTS); }
Returns a new {@link FT_Outline.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_Outline.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #n_contours}. public static short nn_contours(long struct) { return memGetShort(struct + FT_Outline.N_CONTOURS); } /** Unsafe version of {@link #n_points}.
FT_Outline::nn_points
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
BSD-3-Clause
public static FT_Vector.Buffer npoints(long struct) { return FT_Vector.create(memGetAddress(struct + FT_Outline.POINTS), Short.toUnsignedInt(nn_points(struct))); }
Returns a new {@link FT_Outline.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_Outline.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #n_contours}. public static short nn_contours(long struct) { return memGetShort(struct + FT_Outline.N_CONTOURS); } /** Unsafe version of {@link #n_points}. public static short nn_points(long struct) { return memGetShort(struct + FT_Outline.N_POINTS); } /** Unsafe version of {@link #points}.
FT_Outline::npoints
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
BSD-3-Clause
public static ByteBuffer ntags(long struct) { return memByteBuffer(memGetAddress(struct + FT_Outline.TAGS), Short.toUnsignedInt(nn_points(struct))); }
Returns a new {@link FT_Outline.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_Outline.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #n_contours}. public static short nn_contours(long struct) { return memGetShort(struct + FT_Outline.N_CONTOURS); } /** Unsafe version of {@link #n_points}. public static short nn_points(long struct) { return memGetShort(struct + FT_Outline.N_POINTS); } /** Unsafe version of {@link #points}. public static FT_Vector.Buffer npoints(long struct) { return FT_Vector.create(memGetAddress(struct + FT_Outline.POINTS), Short.toUnsignedInt(nn_points(struct))); } /** Unsafe version of {@link #tags() tags}.
FT_Outline::ntags
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
BSD-3-Clause
public static ShortBuffer ncontours(long struct) { return memShortBuffer(memGetAddress(struct + FT_Outline.CONTOURS), Short.toUnsignedInt(nn_contours(struct))); }
Returns a new {@link FT_Outline.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_Outline.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #n_contours}. public static short nn_contours(long struct) { return memGetShort(struct + FT_Outline.N_CONTOURS); } /** Unsafe version of {@link #n_points}. public static short nn_points(long struct) { return memGetShort(struct + FT_Outline.N_POINTS); } /** Unsafe version of {@link #points}. public static FT_Vector.Buffer npoints(long struct) { return FT_Vector.create(memGetAddress(struct + FT_Outline.POINTS), Short.toUnsignedInt(nn_points(struct))); } /** Unsafe version of {@link #tags() tags}. public static ByteBuffer ntags(long struct) { return memByteBuffer(memGetAddress(struct + FT_Outline.TAGS), Short.toUnsignedInt(nn_points(struct))); } /** Unsafe version of {@link #contours() contours}.
FT_Outline::ncontours
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
BSD-3-Clause
public static int nflags(long struct) { return memGetInt(struct + FT_Outline.FLAGS); }
Returns a new {@link FT_Outline.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_Outline.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #n_contours}. public static short nn_contours(long struct) { return memGetShort(struct + FT_Outline.N_CONTOURS); } /** Unsafe version of {@link #n_points}. public static short nn_points(long struct) { return memGetShort(struct + FT_Outline.N_POINTS); } /** Unsafe version of {@link #points}. public static FT_Vector.Buffer npoints(long struct) { return FT_Vector.create(memGetAddress(struct + FT_Outline.POINTS), Short.toUnsignedInt(nn_points(struct))); } /** Unsafe version of {@link #tags() tags}. public static ByteBuffer ntags(long struct) { return memByteBuffer(memGetAddress(struct + FT_Outline.TAGS), Short.toUnsignedInt(nn_points(struct))); } /** Unsafe version of {@link #contours() contours}. public static ShortBuffer ncontours(long struct) { return memShortBuffer(memGetAddress(struct + FT_Outline.CONTOURS), Short.toUnsignedInt(nn_contours(struct))); } /** Unsafe version of {@link #flags}.
FT_Outline::nflags
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
BSD-3-Clause
public int flags() { return FT_Outline.nflags(address()); }
Creates a new {@code FT_Outline.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_Outline#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_Outline getElementFactory() { return ELEMENT_FACTORY; } /** @return the value of the {@code n_contours} field. @NativeType("unsigned short") public short n_contours() { return FT_Outline.nn_contours(address()); } /** @return the value of the {@code n_points} field. @NativeType("unsigned short") public short n_points() { return FT_Outline.nn_points(address()); } /** @return a {@link FT_Vector.Buffer} view of the struct array pointed to by the {@code points} field. @NativeType("FT_Vector *") public FT_Vector.Buffer points() { return FT_Outline.npoints(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code tags} field. @NativeType("unsigned char *") public ByteBuffer tags() { return FT_Outline.ntags(address()); } /** @return a {@link ShortBuffer} view of the data pointed to by the {@code contours} field. @NativeType("unsigned short *") public ShortBuffer contours() { return FT_Outline.ncontours(address()); } /** @return the value of the {@code flags} field.
Buffer::flags
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline.java
BSD-3-Clause
public FT_PaintRotate(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); }
Creates a {@code FT_PaintRotate} 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_PaintRotate::FT_PaintRotate
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRotate.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRotate.java
BSD-3-Clause
public static FT_PaintRotate create(long address) { return new FT_PaintRotate(address, null); }
Creates a {@code FT_PaintRotate} 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_PaintRotate(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link FT_OpaquePaint} view of the {@code paint} field. @NativeType("FT_OpaquePaintRec") public FT_OpaquePaint paint() { return npaint(address()); } /** @return the value of the {@code angle} field. @NativeType("FT_Fixed") public long angle() { return nangle(address()); } /** @return the value of the {@code center_x} field. @NativeType("FT_Fixed") public long center_x() { return ncenter_x(address()); } /** @return the value of the {@code center_y} field. @NativeType("FT_Fixed") public long center_y() { return ncenter_y(address()); } // ----------------------------------- /** Returns a new {@code FT_PaintRotate} instance for the specified memory address.
FT_PaintRotate::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRotate.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRotate.java
BSD-3-Clause
public static @Nullable FT_PaintRotate createSafe(long address) { return address == NULL ? null : new FT_PaintRotate(address, null); }
Creates a {@code FT_PaintRotate} 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_PaintRotate(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link FT_OpaquePaint} view of the {@code paint} field. @NativeType("FT_OpaquePaintRec") public FT_OpaquePaint paint() { return npaint(address()); } /** @return the value of the {@code angle} field. @NativeType("FT_Fixed") public long angle() { return nangle(address()); } /** @return the value of the {@code center_x} field. @NativeType("FT_Fixed") public long center_x() { return ncenter_x(address()); } /** @return the value of the {@code center_y} field. @NativeType("FT_Fixed") public long center_y() { return ncenter_y(address()); } // ----------------------------------- /** Returns a new {@code FT_PaintRotate} instance for the specified memory address. public static FT_PaintRotate create(long address) { return new FT_PaintRotate(address, null); } /** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}.
FT_PaintRotate::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRotate.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRotate.java
BSD-3-Clause
public static FT_PaintRotate.Buffer create(long address, int capacity) { return new Buffer(address, capacity); }
Create a {@link FT_PaintRotate.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity
FT_PaintRotate::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRotate.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRotate.java
BSD-3-Clause