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_ClipBox malloc() {
return new FT_ClipBox(nmemAllocChecked(SIZEOF), null);
} |
Creates a {@code FT_ClipBox} 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_ClipBox(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return a {@link FT_Vector} view of the {@code bottom_left} field.
public FT_Vector bottom_left() { return nbottom_left(address()); }
/** @return a {@link FT_Vector} view of the {@code top_left} field.
public FT_Vector top_left() { return ntop_left(address()); }
/** @return a {@link FT_Vector} view of the {@code top_right} field.
public FT_Vector top_right() { return ntop_right(address()); }
/** @return a {@link FT_Vector} view of the {@code bottom_right} field.
public FT_Vector bottom_right() { return nbottom_right(address()); }
// -----------------------------------
/** Returns a new {@code FT_ClipBox} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. | FT_ClipBox::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | BSD-3-Clause |
public static FT_ClipBox calloc() {
return new FT_ClipBox(nmemCallocChecked(1, SIZEOF), null);
} |
Creates a {@code FT_ClipBox} 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_ClipBox(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return a {@link FT_Vector} view of the {@code bottom_left} field.
public FT_Vector bottom_left() { return nbottom_left(address()); }
/** @return a {@link FT_Vector} view of the {@code top_left} field.
public FT_Vector top_left() { return ntop_left(address()); }
/** @return a {@link FT_Vector} view of the {@code top_right} field.
public FT_Vector top_right() { return ntop_right(address()); }
/** @return a {@link FT_Vector} view of the {@code bottom_right} field.
public FT_Vector bottom_right() { return nbottom_right(address()); }
// -----------------------------------
/** Returns a new {@code FT_ClipBox} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_ClipBox malloc() {
return new FT_ClipBox(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_ClipBox} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. | FT_ClipBox::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | BSD-3-Clause |
public static FT_ClipBox create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new FT_ClipBox(memAddress(container), container);
} |
Creates a {@code FT_ClipBox} 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_ClipBox(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return a {@link FT_Vector} view of the {@code bottom_left} field.
public FT_Vector bottom_left() { return nbottom_left(address()); }
/** @return a {@link FT_Vector} view of the {@code top_left} field.
public FT_Vector top_left() { return ntop_left(address()); }
/** @return a {@link FT_Vector} view of the {@code top_right} field.
public FT_Vector top_right() { return ntop_right(address()); }
/** @return a {@link FT_Vector} view of the {@code bottom_right} field.
public FT_Vector bottom_right() { return nbottom_right(address()); }
// -----------------------------------
/** Returns a new {@code FT_ClipBox} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_ClipBox malloc() {
return new FT_ClipBox(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_ClipBox} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static FT_ClipBox calloc() {
return new FT_ClipBox(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code FT_ClipBox} instance allocated with {@link BufferUtils}. | FT_ClipBox::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | BSD-3-Clause |
public static FT_ClipBox create(long address) {
return new FT_ClipBox(address, null);
} |
Creates a {@code FT_ClipBox} 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_ClipBox(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return a {@link FT_Vector} view of the {@code bottom_left} field.
public FT_Vector bottom_left() { return nbottom_left(address()); }
/** @return a {@link FT_Vector} view of the {@code top_left} field.
public FT_Vector top_left() { return ntop_left(address()); }
/** @return a {@link FT_Vector} view of the {@code top_right} field.
public FT_Vector top_right() { return ntop_right(address()); }
/** @return a {@link FT_Vector} view of the {@code bottom_right} field.
public FT_Vector bottom_right() { return nbottom_right(address()); }
// -----------------------------------
/** Returns a new {@code FT_ClipBox} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_ClipBox malloc() {
return new FT_ClipBox(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_ClipBox} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static FT_ClipBox calloc() {
return new FT_ClipBox(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code FT_ClipBox} instance allocated with {@link BufferUtils}.
public static FT_ClipBox create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new FT_ClipBox(memAddress(container), container);
}
/** Returns a new {@code FT_ClipBox} instance for the specified memory address. | FT_ClipBox::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | BSD-3-Clause |
public static @Nullable FT_ClipBox createSafe(long address) {
return address == NULL ? null : new FT_ClipBox(address, null);
} |
Creates a {@code FT_ClipBox} 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_ClipBox(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return a {@link FT_Vector} view of the {@code bottom_left} field.
public FT_Vector bottom_left() { return nbottom_left(address()); }
/** @return a {@link FT_Vector} view of the {@code top_left} field.
public FT_Vector top_left() { return ntop_left(address()); }
/** @return a {@link FT_Vector} view of the {@code top_right} field.
public FT_Vector top_right() { return ntop_right(address()); }
/** @return a {@link FT_Vector} view of the {@code bottom_right} field.
public FT_Vector bottom_right() { return nbottom_right(address()); }
// -----------------------------------
/** Returns a new {@code FT_ClipBox} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_ClipBox malloc() {
return new FT_ClipBox(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_ClipBox} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static FT_ClipBox calloc() {
return new FT_ClipBox(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code FT_ClipBox} instance allocated with {@link BufferUtils}.
public static FT_ClipBox create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new FT_ClipBox(memAddress(container), container);
}
/** Returns a new {@code FT_ClipBox} instance for the specified memory address.
public static FT_ClipBox create(long address) {
return new FT_ClipBox(address, null);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}. | FT_ClipBox::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | BSD-3-Clause |
public static FT_ClipBox.Buffer malloc(int capacity) {
return new Buffer(nmemAllocChecked(__checkMalloc(capacity, SIZEOF)), capacity);
} |
Returns a new {@link FT_ClipBox.Buffer} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
@param capacity the buffer capacity
| FT_ClipBox::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | BSD-3-Clause |
public static FT_ClipBox.Buffer calloc(int capacity) {
return new Buffer(nmemCallocChecked(capacity, SIZEOF), capacity);
} |
Returns a new {@link FT_ClipBox.Buffer} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
@param capacity the buffer capacity
| FT_ClipBox::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | BSD-3-Clause |
public static FT_ClipBox.Buffer create(int capacity) {
ByteBuffer container = __create(capacity, SIZEOF);
return new Buffer(memAddress(container), container, -1, 0, capacity, capacity);
} |
Returns a new {@link FT_ClipBox.Buffer} instance allocated with {@link BufferUtils}.
@param capacity the buffer capacity
| FT_ClipBox::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | BSD-3-Clause |
public static FT_ClipBox.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
} |
Create a {@link FT_ClipBox.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
| FT_ClipBox::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | BSD-3-Clause |
public static FT_ClipBox.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
} |
Create a {@link FT_ClipBox.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_ClipBox.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_ClipBox::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | BSD-3-Clause |
public static FT_ClipBox malloc(MemoryStack stack) {
return new FT_ClipBox(stack.nmalloc(ALIGNOF, SIZEOF), null);
} |
Returns a new {@code FT_ClipBox} instance allocated on the specified {@link MemoryStack}.
@param stack the stack from which to allocate
| FT_ClipBox::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | BSD-3-Clause |
public static FT_ClipBox calloc(MemoryStack stack) {
return new FT_ClipBox(stack.ncalloc(ALIGNOF, 1, SIZEOF), null);
} |
Returns a new {@code FT_ClipBox} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero.
@param stack the stack from which to allocate
| FT_ClipBox::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | BSD-3-Clause |
public static FT_ClipBox.Buffer malloc(int capacity, MemoryStack stack) {
return new Buffer(stack.nmalloc(ALIGNOF, capacity * SIZEOF), capacity);
} |
Returns a new {@link FT_ClipBox.Buffer} instance allocated on the specified {@link MemoryStack}.
@param stack the stack from which to allocate
@param capacity the buffer capacity
| FT_ClipBox::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | BSD-3-Clause |
public static FT_ClipBox.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
} |
Returns a new {@link FT_ClipBox.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_ClipBox::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | BSD-3-Clause |
public static FT_Vector nbottom_left(long struct) { return FT_Vector.create(struct + FT_ClipBox.BOTTOM_LEFT); } |
Returns a new {@link FT_ClipBox.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_ClipBox.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #bottom_left}. | FT_ClipBox::nbottom_left | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | BSD-3-Clause |
public static FT_Vector ntop_left(long struct) { return FT_Vector.create(struct + FT_ClipBox.TOP_LEFT); } |
Returns a new {@link FT_ClipBox.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_ClipBox.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #bottom_left}.
public static FT_Vector nbottom_left(long struct) { return FT_Vector.create(struct + FT_ClipBox.BOTTOM_LEFT); }
/** Unsafe version of {@link #top_left}. | FT_ClipBox::ntop_left | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | BSD-3-Clause |
public static FT_Vector ntop_right(long struct) { return FT_Vector.create(struct + FT_ClipBox.TOP_RIGHT); } |
Returns a new {@link FT_ClipBox.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_ClipBox.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #bottom_left}.
public static FT_Vector nbottom_left(long struct) { return FT_Vector.create(struct + FT_ClipBox.BOTTOM_LEFT); }
/** Unsafe version of {@link #top_left}.
public static FT_Vector ntop_left(long struct) { return FT_Vector.create(struct + FT_ClipBox.TOP_LEFT); }
/** Unsafe version of {@link #top_right}. | FT_ClipBox::ntop_right | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | BSD-3-Clause |
public static FT_Vector nbottom_right(long struct) { return FT_Vector.create(struct + FT_ClipBox.BOTTOM_RIGHT); } |
Returns a new {@link FT_ClipBox.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_ClipBox.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #bottom_left}.
public static FT_Vector nbottom_left(long struct) { return FT_Vector.create(struct + FT_ClipBox.BOTTOM_LEFT); }
/** Unsafe version of {@link #top_left}.
public static FT_Vector ntop_left(long struct) { return FT_Vector.create(struct + FT_ClipBox.TOP_LEFT); }
/** Unsafe version of {@link #top_right}.
public static FT_Vector ntop_right(long struct) { return FT_Vector.create(struct + FT_ClipBox.TOP_RIGHT); }
/** Unsafe version of {@link #bottom_right}. | FT_ClipBox::nbottom_right | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | BSD-3-Clause |
public FT_Vector bottom_left() { return FT_ClipBox.nbottom_left(address()); } |
Creates a new {@code FT_ClipBox.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_ClipBox#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_ClipBox getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return a {@link FT_Vector} view of the {@code bottom_left} field. | Buffer::bottom_left | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | BSD-3-Clause |
public FT_Vector top_left() { return FT_ClipBox.ntop_left(address()); } |
Creates a new {@code FT_ClipBox.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_ClipBox#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_ClipBox getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return a {@link FT_Vector} view of the {@code bottom_left} field.
public FT_Vector bottom_left() { return FT_ClipBox.nbottom_left(address()); }
/** @return a {@link FT_Vector} view of the {@code top_left} field. | Buffer::top_left | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | BSD-3-Clause |
public FT_Vector top_right() { return FT_ClipBox.ntop_right(address()); } |
Creates a new {@code FT_ClipBox.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_ClipBox#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_ClipBox getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return a {@link FT_Vector} view of the {@code bottom_left} field.
public FT_Vector bottom_left() { return FT_ClipBox.nbottom_left(address()); }
/** @return a {@link FT_Vector} view of the {@code top_left} field.
public FT_Vector top_left() { return FT_ClipBox.ntop_left(address()); }
/** @return a {@link FT_Vector} view of the {@code top_right} field. | Buffer::top_right | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | BSD-3-Clause |
public FT_Vector bottom_right() { return FT_ClipBox.nbottom_right(address()); } |
Creates a new {@code FT_ClipBox.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_ClipBox#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_ClipBox getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return a {@link FT_Vector} view of the {@code bottom_left} field.
public FT_Vector bottom_left() { return FT_ClipBox.nbottom_left(address()); }
/** @return a {@link FT_Vector} view of the {@code top_left} field.
public FT_Vector top_left() { return FT_ClipBox.ntop_left(address()); }
/** @return a {@link FT_Vector} view of the {@code top_right} field.
public FT_Vector top_right() { return FT_ClipBox.ntop_right(address()); }
/** @return a {@link FT_Vector} view of the {@code bottom_right} field. | Buffer::bottom_right | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java | BSD-3-Clause |
public FT_Module_Class(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
} |
Creates a {@code FT_Module_Class} 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_Module_Class::FT_Module_Class | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public @Nullable FT_Module_Constructor module_init() { return nmodule_init(address()); } |
Creates a {@code FT_Module_Class} 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_Module_Class(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code module_flags} field.
@NativeType("FT_ULong")
public long module_flags() { return nmodule_flags(address()); }
/** @return the value of the {@code module_size} field.
@NativeType("FT_Long")
public long module_size() { return nmodule_size(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public ByteBuffer module_name() { return nmodule_name(address()); }
/** @return the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public String module_nameString() { return nmodule_nameString(address()); }
/** @return the value of the {@code module_version} field.
@NativeType("FT_Fixed")
public long module_version() { return nmodule_version(address()); }
/** @return the value of the {@code module_requires} field.
@NativeType("FT_Fixed")
public long module_requires() { return nmodule_requires(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code module_interface} field.
@NativeType("void const *")
public @Nullable ByteBuffer module_interface(int capacity) { return nmodule_interface(address(), capacity); }
/** @return the value of the {@code module_init} field. | FT_Module_Class::module_init | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public @Nullable FT_Module_Destructor module_done() { return nmodule_done(address()); } |
Creates a {@code FT_Module_Class} 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_Module_Class(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code module_flags} field.
@NativeType("FT_ULong")
public long module_flags() { return nmodule_flags(address()); }
/** @return the value of the {@code module_size} field.
@NativeType("FT_Long")
public long module_size() { return nmodule_size(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public ByteBuffer module_name() { return nmodule_name(address()); }
/** @return the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public String module_nameString() { return nmodule_nameString(address()); }
/** @return the value of the {@code module_version} field.
@NativeType("FT_Fixed")
public long module_version() { return nmodule_version(address()); }
/** @return the value of the {@code module_requires} field.
@NativeType("FT_Fixed")
public long module_requires() { return nmodule_requires(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code module_interface} field.
@NativeType("void const *")
public @Nullable ByteBuffer module_interface(int capacity) { return nmodule_interface(address(), capacity); }
/** @return the value of the {@code module_init} field.
public @Nullable FT_Module_Constructor module_init() { return nmodule_init(address()); }
/** @return the value of the {@code module_done} field. | FT_Module_Class::module_done | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public @Nullable FT_Module_Requester get_interface() { return nget_interface(address()); } |
Creates a {@code FT_Module_Class} 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_Module_Class(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code module_flags} field.
@NativeType("FT_ULong")
public long module_flags() { return nmodule_flags(address()); }
/** @return the value of the {@code module_size} field.
@NativeType("FT_Long")
public long module_size() { return nmodule_size(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public ByteBuffer module_name() { return nmodule_name(address()); }
/** @return the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public String module_nameString() { return nmodule_nameString(address()); }
/** @return the value of the {@code module_version} field.
@NativeType("FT_Fixed")
public long module_version() { return nmodule_version(address()); }
/** @return the value of the {@code module_requires} field.
@NativeType("FT_Fixed")
public long module_requires() { return nmodule_requires(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code module_interface} field.
@NativeType("void const *")
public @Nullable ByteBuffer module_interface(int capacity) { return nmodule_interface(address(), capacity); }
/** @return the value of the {@code module_init} field.
public @Nullable FT_Module_Constructor module_init() { return nmodule_init(address()); }
/** @return the value of the {@code module_done} field.
public @Nullable FT_Module_Destructor module_done() { return nmodule_done(address()); }
/** @return the value of the {@code get_interface} field. | FT_Module_Class::get_interface | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public FT_Module_Class module_flags(@NativeType("FT_ULong") long value) { nmodule_flags(address(), value); return this; } |
Creates a {@code FT_Module_Class} 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_Module_Class(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code module_flags} field.
@NativeType("FT_ULong")
public long module_flags() { return nmodule_flags(address()); }
/** @return the value of the {@code module_size} field.
@NativeType("FT_Long")
public long module_size() { return nmodule_size(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public ByteBuffer module_name() { return nmodule_name(address()); }
/** @return the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public String module_nameString() { return nmodule_nameString(address()); }
/** @return the value of the {@code module_version} field.
@NativeType("FT_Fixed")
public long module_version() { return nmodule_version(address()); }
/** @return the value of the {@code module_requires} field.
@NativeType("FT_Fixed")
public long module_requires() { return nmodule_requires(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code module_interface} field.
@NativeType("void const *")
public @Nullable ByteBuffer module_interface(int capacity) { return nmodule_interface(address(), capacity); }
/** @return the value of the {@code module_init} field.
public @Nullable FT_Module_Constructor module_init() { return nmodule_init(address()); }
/** @return the value of the {@code module_done} field.
public @Nullable FT_Module_Destructor module_done() { return nmodule_done(address()); }
/** @return the value of the {@code get_interface} field.
public @Nullable FT_Module_Requester get_interface() { return nget_interface(address()); }
/** Sets the specified value to the {@code module_flags} field. | FT_Module_Class::module_flags | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public FT_Module_Class module_size(@NativeType("FT_Long") long value) { nmodule_size(address(), value); return this; } |
Creates a {@code FT_Module_Class} 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_Module_Class(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code module_flags} field.
@NativeType("FT_ULong")
public long module_flags() { return nmodule_flags(address()); }
/** @return the value of the {@code module_size} field.
@NativeType("FT_Long")
public long module_size() { return nmodule_size(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public ByteBuffer module_name() { return nmodule_name(address()); }
/** @return the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public String module_nameString() { return nmodule_nameString(address()); }
/** @return the value of the {@code module_version} field.
@NativeType("FT_Fixed")
public long module_version() { return nmodule_version(address()); }
/** @return the value of the {@code module_requires} field.
@NativeType("FT_Fixed")
public long module_requires() { return nmodule_requires(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code module_interface} field.
@NativeType("void const *")
public @Nullable ByteBuffer module_interface(int capacity) { return nmodule_interface(address(), capacity); }
/** @return the value of the {@code module_init} field.
public @Nullable FT_Module_Constructor module_init() { return nmodule_init(address()); }
/** @return the value of the {@code module_done} field.
public @Nullable FT_Module_Destructor module_done() { return nmodule_done(address()); }
/** @return the value of the {@code get_interface} field.
public @Nullable FT_Module_Requester get_interface() { return nget_interface(address()); }
/** Sets the specified value to the {@code module_flags} field.
public FT_Module_Class module_flags(@NativeType("FT_ULong") long value) { nmodule_flags(address(), value); return this; }
/** Sets the specified value to the {@code module_size} field. | FT_Module_Class::module_size | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public FT_Module_Class module_name(@NativeType("FT_String const *") ByteBuffer value) { nmodule_name(address(), value); return this; } |
Creates a {@code FT_Module_Class} 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_Module_Class(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code module_flags} field.
@NativeType("FT_ULong")
public long module_flags() { return nmodule_flags(address()); }
/** @return the value of the {@code module_size} field.
@NativeType("FT_Long")
public long module_size() { return nmodule_size(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public ByteBuffer module_name() { return nmodule_name(address()); }
/** @return the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public String module_nameString() { return nmodule_nameString(address()); }
/** @return the value of the {@code module_version} field.
@NativeType("FT_Fixed")
public long module_version() { return nmodule_version(address()); }
/** @return the value of the {@code module_requires} field.
@NativeType("FT_Fixed")
public long module_requires() { return nmodule_requires(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code module_interface} field.
@NativeType("void const *")
public @Nullable ByteBuffer module_interface(int capacity) { return nmodule_interface(address(), capacity); }
/** @return the value of the {@code module_init} field.
public @Nullable FT_Module_Constructor module_init() { return nmodule_init(address()); }
/** @return the value of the {@code module_done} field.
public @Nullable FT_Module_Destructor module_done() { return nmodule_done(address()); }
/** @return the value of the {@code get_interface} field.
public @Nullable FT_Module_Requester get_interface() { return nget_interface(address()); }
/** Sets the specified value to the {@code module_flags} field.
public FT_Module_Class module_flags(@NativeType("FT_ULong") long value) { nmodule_flags(address(), value); return this; }
/** Sets the specified value to the {@code module_size} field.
public FT_Module_Class module_size(@NativeType("FT_Long") long value) { nmodule_size(address(), value); return this; }
/** Sets the address of the specified encoded string to the {@code module_name} field. | FT_Module_Class::module_name | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public FT_Module_Class module_version(@NativeType("FT_Fixed") long value) { nmodule_version(address(), value); return this; } |
Creates a {@code FT_Module_Class} 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_Module_Class(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code module_flags} field.
@NativeType("FT_ULong")
public long module_flags() { return nmodule_flags(address()); }
/** @return the value of the {@code module_size} field.
@NativeType("FT_Long")
public long module_size() { return nmodule_size(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public ByteBuffer module_name() { return nmodule_name(address()); }
/** @return the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public String module_nameString() { return nmodule_nameString(address()); }
/** @return the value of the {@code module_version} field.
@NativeType("FT_Fixed")
public long module_version() { return nmodule_version(address()); }
/** @return the value of the {@code module_requires} field.
@NativeType("FT_Fixed")
public long module_requires() { return nmodule_requires(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code module_interface} field.
@NativeType("void const *")
public @Nullable ByteBuffer module_interface(int capacity) { return nmodule_interface(address(), capacity); }
/** @return the value of the {@code module_init} field.
public @Nullable FT_Module_Constructor module_init() { return nmodule_init(address()); }
/** @return the value of the {@code module_done} field.
public @Nullable FT_Module_Destructor module_done() { return nmodule_done(address()); }
/** @return the value of the {@code get_interface} field.
public @Nullable FT_Module_Requester get_interface() { return nget_interface(address()); }
/** Sets the specified value to the {@code module_flags} field.
public FT_Module_Class module_flags(@NativeType("FT_ULong") long value) { nmodule_flags(address(), value); return this; }
/** Sets the specified value to the {@code module_size} field.
public FT_Module_Class module_size(@NativeType("FT_Long") long value) { nmodule_size(address(), value); return this; }
/** Sets the address of the specified encoded string to the {@code module_name} field.
public FT_Module_Class module_name(@NativeType("FT_String const *") ByteBuffer value) { nmodule_name(address(), value); return this; }
/** Sets the specified value to the {@code module_version} field. | FT_Module_Class::module_version | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public FT_Module_Class module_requires(@NativeType("FT_Fixed") long value) { nmodule_requires(address(), value); return this; } |
Creates a {@code FT_Module_Class} 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_Module_Class(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code module_flags} field.
@NativeType("FT_ULong")
public long module_flags() { return nmodule_flags(address()); }
/** @return the value of the {@code module_size} field.
@NativeType("FT_Long")
public long module_size() { return nmodule_size(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public ByteBuffer module_name() { return nmodule_name(address()); }
/** @return the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public String module_nameString() { return nmodule_nameString(address()); }
/** @return the value of the {@code module_version} field.
@NativeType("FT_Fixed")
public long module_version() { return nmodule_version(address()); }
/** @return the value of the {@code module_requires} field.
@NativeType("FT_Fixed")
public long module_requires() { return nmodule_requires(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code module_interface} field.
@NativeType("void const *")
public @Nullable ByteBuffer module_interface(int capacity) { return nmodule_interface(address(), capacity); }
/** @return the value of the {@code module_init} field.
public @Nullable FT_Module_Constructor module_init() { return nmodule_init(address()); }
/** @return the value of the {@code module_done} field.
public @Nullable FT_Module_Destructor module_done() { return nmodule_done(address()); }
/** @return the value of the {@code get_interface} field.
public @Nullable FT_Module_Requester get_interface() { return nget_interface(address()); }
/** Sets the specified value to the {@code module_flags} field.
public FT_Module_Class module_flags(@NativeType("FT_ULong") long value) { nmodule_flags(address(), value); return this; }
/** Sets the specified value to the {@code module_size} field.
public FT_Module_Class module_size(@NativeType("FT_Long") long value) { nmodule_size(address(), value); return this; }
/** Sets the address of the specified encoded string to the {@code module_name} field.
public FT_Module_Class module_name(@NativeType("FT_String const *") ByteBuffer value) { nmodule_name(address(), value); return this; }
/** Sets the specified value to the {@code module_version} field.
public FT_Module_Class module_version(@NativeType("FT_Fixed") long value) { nmodule_version(address(), value); return this; }
/** Sets the specified value to the {@code module_requires} field. | FT_Module_Class::module_requires | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public FT_Module_Class module_interface(@Nullable @NativeType("void const *") ByteBuffer value) { nmodule_interface(address(), value); return this; } |
Creates a {@code FT_Module_Class} 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_Module_Class(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code module_flags} field.
@NativeType("FT_ULong")
public long module_flags() { return nmodule_flags(address()); }
/** @return the value of the {@code module_size} field.
@NativeType("FT_Long")
public long module_size() { return nmodule_size(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public ByteBuffer module_name() { return nmodule_name(address()); }
/** @return the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public String module_nameString() { return nmodule_nameString(address()); }
/** @return the value of the {@code module_version} field.
@NativeType("FT_Fixed")
public long module_version() { return nmodule_version(address()); }
/** @return the value of the {@code module_requires} field.
@NativeType("FT_Fixed")
public long module_requires() { return nmodule_requires(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code module_interface} field.
@NativeType("void const *")
public @Nullable ByteBuffer module_interface(int capacity) { return nmodule_interface(address(), capacity); }
/** @return the value of the {@code module_init} field.
public @Nullable FT_Module_Constructor module_init() { return nmodule_init(address()); }
/** @return the value of the {@code module_done} field.
public @Nullable FT_Module_Destructor module_done() { return nmodule_done(address()); }
/** @return the value of the {@code get_interface} field.
public @Nullable FT_Module_Requester get_interface() { return nget_interface(address()); }
/** Sets the specified value to the {@code module_flags} field.
public FT_Module_Class module_flags(@NativeType("FT_ULong") long value) { nmodule_flags(address(), value); return this; }
/** Sets the specified value to the {@code module_size} field.
public FT_Module_Class module_size(@NativeType("FT_Long") long value) { nmodule_size(address(), value); return this; }
/** Sets the address of the specified encoded string to the {@code module_name} field.
public FT_Module_Class module_name(@NativeType("FT_String const *") ByteBuffer value) { nmodule_name(address(), value); return this; }
/** Sets the specified value to the {@code module_version} field.
public FT_Module_Class module_version(@NativeType("FT_Fixed") long value) { nmodule_version(address(), value); return this; }
/** Sets the specified value to the {@code module_requires} field.
public FT_Module_Class module_requires(@NativeType("FT_Fixed") long value) { nmodule_requires(address(), value); return this; }
/** Sets the address of the specified {@link ByteBuffer} to the {@code module_interface} field. | FT_Module_Class::module_interface | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public FT_Module_Class module_init(@Nullable @NativeType("FT_Module_Constructor") FT_Module_ConstructorI value) { nmodule_init(address(), value); return this; } |
Creates a {@code FT_Module_Class} 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_Module_Class(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code module_flags} field.
@NativeType("FT_ULong")
public long module_flags() { return nmodule_flags(address()); }
/** @return the value of the {@code module_size} field.
@NativeType("FT_Long")
public long module_size() { return nmodule_size(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public ByteBuffer module_name() { return nmodule_name(address()); }
/** @return the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public String module_nameString() { return nmodule_nameString(address()); }
/** @return the value of the {@code module_version} field.
@NativeType("FT_Fixed")
public long module_version() { return nmodule_version(address()); }
/** @return the value of the {@code module_requires} field.
@NativeType("FT_Fixed")
public long module_requires() { return nmodule_requires(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code module_interface} field.
@NativeType("void const *")
public @Nullable ByteBuffer module_interface(int capacity) { return nmodule_interface(address(), capacity); }
/** @return the value of the {@code module_init} field.
public @Nullable FT_Module_Constructor module_init() { return nmodule_init(address()); }
/** @return the value of the {@code module_done} field.
public @Nullable FT_Module_Destructor module_done() { return nmodule_done(address()); }
/** @return the value of the {@code get_interface} field.
public @Nullable FT_Module_Requester get_interface() { return nget_interface(address()); }
/** Sets the specified value to the {@code module_flags} field.
public FT_Module_Class module_flags(@NativeType("FT_ULong") long value) { nmodule_flags(address(), value); return this; }
/** Sets the specified value to the {@code module_size} field.
public FT_Module_Class module_size(@NativeType("FT_Long") long value) { nmodule_size(address(), value); return this; }
/** Sets the address of the specified encoded string to the {@code module_name} field.
public FT_Module_Class module_name(@NativeType("FT_String const *") ByteBuffer value) { nmodule_name(address(), value); return this; }
/** Sets the specified value to the {@code module_version} field.
public FT_Module_Class module_version(@NativeType("FT_Fixed") long value) { nmodule_version(address(), value); return this; }
/** Sets the specified value to the {@code module_requires} field.
public FT_Module_Class module_requires(@NativeType("FT_Fixed") long value) { nmodule_requires(address(), value); return this; }
/** Sets the address of the specified {@link ByteBuffer} to the {@code module_interface} field.
public FT_Module_Class module_interface(@Nullable @NativeType("void const *") ByteBuffer value) { nmodule_interface(address(), value); return this; }
/** Sets the specified value to the {@code module_init} field. | FT_Module_Class::module_init | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public FT_Module_Class module_done(@Nullable @NativeType("FT_Module_Destructor") FT_Module_DestructorI value) { nmodule_done(address(), value); return this; } |
Creates a {@code FT_Module_Class} 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_Module_Class(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code module_flags} field.
@NativeType("FT_ULong")
public long module_flags() { return nmodule_flags(address()); }
/** @return the value of the {@code module_size} field.
@NativeType("FT_Long")
public long module_size() { return nmodule_size(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public ByteBuffer module_name() { return nmodule_name(address()); }
/** @return the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public String module_nameString() { return nmodule_nameString(address()); }
/** @return the value of the {@code module_version} field.
@NativeType("FT_Fixed")
public long module_version() { return nmodule_version(address()); }
/** @return the value of the {@code module_requires} field.
@NativeType("FT_Fixed")
public long module_requires() { return nmodule_requires(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code module_interface} field.
@NativeType("void const *")
public @Nullable ByteBuffer module_interface(int capacity) { return nmodule_interface(address(), capacity); }
/** @return the value of the {@code module_init} field.
public @Nullable FT_Module_Constructor module_init() { return nmodule_init(address()); }
/** @return the value of the {@code module_done} field.
public @Nullable FT_Module_Destructor module_done() { return nmodule_done(address()); }
/** @return the value of the {@code get_interface} field.
public @Nullable FT_Module_Requester get_interface() { return nget_interface(address()); }
/** Sets the specified value to the {@code module_flags} field.
public FT_Module_Class module_flags(@NativeType("FT_ULong") long value) { nmodule_flags(address(), value); return this; }
/** Sets the specified value to the {@code module_size} field.
public FT_Module_Class module_size(@NativeType("FT_Long") long value) { nmodule_size(address(), value); return this; }
/** Sets the address of the specified encoded string to the {@code module_name} field.
public FT_Module_Class module_name(@NativeType("FT_String const *") ByteBuffer value) { nmodule_name(address(), value); return this; }
/** Sets the specified value to the {@code module_version} field.
public FT_Module_Class module_version(@NativeType("FT_Fixed") long value) { nmodule_version(address(), value); return this; }
/** Sets the specified value to the {@code module_requires} field.
public FT_Module_Class module_requires(@NativeType("FT_Fixed") long value) { nmodule_requires(address(), value); return this; }
/** Sets the address of the specified {@link ByteBuffer} to the {@code module_interface} field.
public FT_Module_Class module_interface(@Nullable @NativeType("void const *") ByteBuffer value) { nmodule_interface(address(), value); return this; }
/** Sets the specified value to the {@code module_init} field.
public FT_Module_Class module_init(@Nullable @NativeType("FT_Module_Constructor") FT_Module_ConstructorI value) { nmodule_init(address(), value); return this; }
/** Sets the specified value to the {@code module_done} field. | FT_Module_Class::module_done | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public FT_Module_Class get_interface(@Nullable @NativeType("FT_Module_Requester") FT_Module_RequesterI value) { nget_interface(address(), value); return this; } |
Creates a {@code FT_Module_Class} 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_Module_Class(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code module_flags} field.
@NativeType("FT_ULong")
public long module_flags() { return nmodule_flags(address()); }
/** @return the value of the {@code module_size} field.
@NativeType("FT_Long")
public long module_size() { return nmodule_size(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public ByteBuffer module_name() { return nmodule_name(address()); }
/** @return the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public String module_nameString() { return nmodule_nameString(address()); }
/** @return the value of the {@code module_version} field.
@NativeType("FT_Fixed")
public long module_version() { return nmodule_version(address()); }
/** @return the value of the {@code module_requires} field.
@NativeType("FT_Fixed")
public long module_requires() { return nmodule_requires(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code module_interface} field.
@NativeType("void const *")
public @Nullable ByteBuffer module_interface(int capacity) { return nmodule_interface(address(), capacity); }
/** @return the value of the {@code module_init} field.
public @Nullable FT_Module_Constructor module_init() { return nmodule_init(address()); }
/** @return the value of the {@code module_done} field.
public @Nullable FT_Module_Destructor module_done() { return nmodule_done(address()); }
/** @return the value of the {@code get_interface} field.
public @Nullable FT_Module_Requester get_interface() { return nget_interface(address()); }
/** Sets the specified value to the {@code module_flags} field.
public FT_Module_Class module_flags(@NativeType("FT_ULong") long value) { nmodule_flags(address(), value); return this; }
/** Sets the specified value to the {@code module_size} field.
public FT_Module_Class module_size(@NativeType("FT_Long") long value) { nmodule_size(address(), value); return this; }
/** Sets the address of the specified encoded string to the {@code module_name} field.
public FT_Module_Class module_name(@NativeType("FT_String const *") ByteBuffer value) { nmodule_name(address(), value); return this; }
/** Sets the specified value to the {@code module_version} field.
public FT_Module_Class module_version(@NativeType("FT_Fixed") long value) { nmodule_version(address(), value); return this; }
/** Sets the specified value to the {@code module_requires} field.
public FT_Module_Class module_requires(@NativeType("FT_Fixed") long value) { nmodule_requires(address(), value); return this; }
/** Sets the address of the specified {@link ByteBuffer} to the {@code module_interface} field.
public FT_Module_Class module_interface(@Nullable @NativeType("void const *") ByteBuffer value) { nmodule_interface(address(), value); return this; }
/** Sets the specified value to the {@code module_init} field.
public FT_Module_Class module_init(@Nullable @NativeType("FT_Module_Constructor") FT_Module_ConstructorI value) { nmodule_init(address(), value); return this; }
/** Sets the specified value to the {@code module_done} field.
public FT_Module_Class module_done(@Nullable @NativeType("FT_Module_Destructor") FT_Module_DestructorI value) { nmodule_done(address(), value); return this; }
/** Sets the specified value to the {@code get_interface} field. | FT_Module_Class::get_interface | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public FT_Module_Class set(
long module_flags,
long module_size,
ByteBuffer module_name,
long module_version,
long module_requires,
@Nullable ByteBuffer module_interface,
@Nullable FT_Module_ConstructorI module_init,
@Nullable FT_Module_DestructorI module_done,
@Nullable FT_Module_RequesterI get_interface
) {
module_flags(module_flags);
module_size(module_size);
module_name(module_name);
module_version(module_version);
module_requires(module_requires);
module_interface(module_interface);
module_init(module_init);
module_done(module_done);
get_interface(get_interface);
return this;
} |
Creates a {@code FT_Module_Class} 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_Module_Class(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code module_flags} field.
@NativeType("FT_ULong")
public long module_flags() { return nmodule_flags(address()); }
/** @return the value of the {@code module_size} field.
@NativeType("FT_Long")
public long module_size() { return nmodule_size(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public ByteBuffer module_name() { return nmodule_name(address()); }
/** @return the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public String module_nameString() { return nmodule_nameString(address()); }
/** @return the value of the {@code module_version} field.
@NativeType("FT_Fixed")
public long module_version() { return nmodule_version(address()); }
/** @return the value of the {@code module_requires} field.
@NativeType("FT_Fixed")
public long module_requires() { return nmodule_requires(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code module_interface} field.
@NativeType("void const *")
public @Nullable ByteBuffer module_interface(int capacity) { return nmodule_interface(address(), capacity); }
/** @return the value of the {@code module_init} field.
public @Nullable FT_Module_Constructor module_init() { return nmodule_init(address()); }
/** @return the value of the {@code module_done} field.
public @Nullable FT_Module_Destructor module_done() { return nmodule_done(address()); }
/** @return the value of the {@code get_interface} field.
public @Nullable FT_Module_Requester get_interface() { return nget_interface(address()); }
/** Sets the specified value to the {@code module_flags} field.
public FT_Module_Class module_flags(@NativeType("FT_ULong") long value) { nmodule_flags(address(), value); return this; }
/** Sets the specified value to the {@code module_size} field.
public FT_Module_Class module_size(@NativeType("FT_Long") long value) { nmodule_size(address(), value); return this; }
/** Sets the address of the specified encoded string to the {@code module_name} field.
public FT_Module_Class module_name(@NativeType("FT_String const *") ByteBuffer value) { nmodule_name(address(), value); return this; }
/** Sets the specified value to the {@code module_version} field.
public FT_Module_Class module_version(@NativeType("FT_Fixed") long value) { nmodule_version(address(), value); return this; }
/** Sets the specified value to the {@code module_requires} field.
public FT_Module_Class module_requires(@NativeType("FT_Fixed") long value) { nmodule_requires(address(), value); return this; }
/** Sets the address of the specified {@link ByteBuffer} to the {@code module_interface} field.
public FT_Module_Class module_interface(@Nullable @NativeType("void const *") ByteBuffer value) { nmodule_interface(address(), value); return this; }
/** Sets the specified value to the {@code module_init} field.
public FT_Module_Class module_init(@Nullable @NativeType("FT_Module_Constructor") FT_Module_ConstructorI value) { nmodule_init(address(), value); return this; }
/** Sets the specified value to the {@code module_done} field.
public FT_Module_Class module_done(@Nullable @NativeType("FT_Module_Destructor") FT_Module_DestructorI value) { nmodule_done(address(), value); return this; }
/** Sets the specified value to the {@code get_interface} field.
public FT_Module_Class get_interface(@Nullable @NativeType("FT_Module_Requester") FT_Module_RequesterI value) { nget_interface(address(), value); return this; }
/** Initializes this struct with the specified values. | FT_Module_Class::set | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static FT_Module_Class malloc() {
return new FT_Module_Class(nmemAllocChecked(SIZEOF), null);
} |
Copies the specified struct data to this struct.
@param src the source struct
@return this struct
public FT_Module_Class set(FT_Module_Class src) {
memCopy(src.address(), address(), SIZEOF);
return this;
}
// -----------------------------------
/** Returns a new {@code FT_Module_Class} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. | FT_Module_Class::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static FT_Module_Class calloc() {
return new FT_Module_Class(nmemCallocChecked(1, SIZEOF), null);
} |
Copies the specified struct data to this struct.
@param src the source struct
@return this struct
public FT_Module_Class set(FT_Module_Class src) {
memCopy(src.address(), address(), SIZEOF);
return this;
}
// -----------------------------------
/** Returns a new {@code FT_Module_Class} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_Module_Class malloc() {
return new FT_Module_Class(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_Module_Class} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. | FT_Module_Class::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static FT_Module_Class create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new FT_Module_Class(memAddress(container), container);
} |
Copies the specified struct data to this struct.
@param src the source struct
@return this struct
public FT_Module_Class set(FT_Module_Class src) {
memCopy(src.address(), address(), SIZEOF);
return this;
}
// -----------------------------------
/** Returns a new {@code FT_Module_Class} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_Module_Class malloc() {
return new FT_Module_Class(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_Module_Class} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static FT_Module_Class calloc() {
return new FT_Module_Class(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code FT_Module_Class} instance allocated with {@link BufferUtils}. | FT_Module_Class::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static FT_Module_Class create(long address) {
return new FT_Module_Class(address, null);
} |
Copies the specified struct data to this struct.
@param src the source struct
@return this struct
public FT_Module_Class set(FT_Module_Class src) {
memCopy(src.address(), address(), SIZEOF);
return this;
}
// -----------------------------------
/** Returns a new {@code FT_Module_Class} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_Module_Class malloc() {
return new FT_Module_Class(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_Module_Class} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static FT_Module_Class calloc() {
return new FT_Module_Class(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code FT_Module_Class} instance allocated with {@link BufferUtils}.
public static FT_Module_Class create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new FT_Module_Class(memAddress(container), container);
}
/** Returns a new {@code FT_Module_Class} instance for the specified memory address. | FT_Module_Class::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static @Nullable FT_Module_Class createSafe(long address) {
return address == NULL ? null : new FT_Module_Class(address, null);
} |
Copies the specified struct data to this struct.
@param src the source struct
@return this struct
public FT_Module_Class set(FT_Module_Class src) {
memCopy(src.address(), address(), SIZEOF);
return this;
}
// -----------------------------------
/** Returns a new {@code FT_Module_Class} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_Module_Class malloc() {
return new FT_Module_Class(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_Module_Class} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static FT_Module_Class calloc() {
return new FT_Module_Class(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code FT_Module_Class} instance allocated with {@link BufferUtils}.
public static FT_Module_Class create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new FT_Module_Class(memAddress(container), container);
}
/** Returns a new {@code FT_Module_Class} instance for the specified memory address.
public static FT_Module_Class create(long address) {
return new FT_Module_Class(address, null);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}. | FT_Module_Class::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static FT_Module_Class.Buffer malloc(int capacity) {
return new Buffer(nmemAllocChecked(__checkMalloc(capacity, SIZEOF)), capacity);
} |
Returns a new {@link FT_Module_Class.Buffer} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
@param capacity the buffer capacity
| FT_Module_Class::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static FT_Module_Class.Buffer calloc(int capacity) {
return new Buffer(nmemCallocChecked(capacity, SIZEOF), capacity);
} |
Returns a new {@link FT_Module_Class.Buffer} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
@param capacity the buffer capacity
| FT_Module_Class::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static FT_Module_Class.Buffer create(int capacity) {
ByteBuffer container = __create(capacity, SIZEOF);
return new Buffer(memAddress(container), container, -1, 0, capacity, capacity);
} |
Returns a new {@link FT_Module_Class.Buffer} instance allocated with {@link BufferUtils}.
@param capacity the buffer capacity
| FT_Module_Class::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static FT_Module_Class.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
} |
Create a {@link FT_Module_Class.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
| FT_Module_Class::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static FT_Module_Class.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
} |
Create a {@link FT_Module_Class.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Module_Class.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_Module_Class::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static FT_Module_Class malloc(MemoryStack stack) {
return new FT_Module_Class(stack.nmalloc(ALIGNOF, SIZEOF), null);
} |
Returns a new {@code FT_Module_Class} instance allocated on the specified {@link MemoryStack}.
@param stack the stack from which to allocate
| FT_Module_Class::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static FT_Module_Class calloc(MemoryStack stack) {
return new FT_Module_Class(stack.ncalloc(ALIGNOF, 1, SIZEOF), null);
} |
Returns a new {@code FT_Module_Class} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero.
@param stack the stack from which to allocate
| FT_Module_Class::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static FT_Module_Class.Buffer malloc(int capacity, MemoryStack stack) {
return new Buffer(stack.nmalloc(ALIGNOF, capacity * SIZEOF), capacity);
} |
Returns a new {@link FT_Module_Class.Buffer} instance allocated on the specified {@link MemoryStack}.
@param stack the stack from which to allocate
@param capacity the buffer capacity
| FT_Module_Class::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static FT_Module_Class.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
} |
Returns a new {@link FT_Module_Class.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_Module_Class::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static long nmodule_flags(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_FLAGS); } |
Returns a new {@link FT_Module_Class.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_Module_Class.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #module_flags}. | FT_Module_Class::nmodule_flags | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static long nmodule_size(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_SIZE); } |
Returns a new {@link FT_Module_Class.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_Module_Class.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #module_flags}.
public static long nmodule_flags(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_FLAGS); }
/** Unsafe version of {@link #module_size}. | FT_Module_Class::nmodule_size | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static ByteBuffer nmodule_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); } |
Returns a new {@link FT_Module_Class.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_Module_Class.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #module_flags}.
public static long nmodule_flags(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_FLAGS); }
/** Unsafe version of {@link #module_size}.
public static long nmodule_size(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_SIZE); }
/** Unsafe version of {@link #module_name}. | FT_Module_Class::nmodule_name | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static String nmodule_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); } |
Returns a new {@link FT_Module_Class.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_Module_Class.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #module_flags}.
public static long nmodule_flags(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_FLAGS); }
/** Unsafe version of {@link #module_size}.
public static long nmodule_size(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_SIZE); }
/** Unsafe version of {@link #module_name}.
public static ByteBuffer nmodule_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_nameString}. | FT_Module_Class::nmodule_nameString | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static long nmodule_version(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_VERSION); } |
Returns a new {@link FT_Module_Class.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_Module_Class.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #module_flags}.
public static long nmodule_flags(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_FLAGS); }
/** Unsafe version of {@link #module_size}.
public static long nmodule_size(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_SIZE); }
/** Unsafe version of {@link #module_name}.
public static ByteBuffer nmodule_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_nameString}.
public static String nmodule_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_version}. | FT_Module_Class::nmodule_version | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static long nmodule_requires(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_REQUIRES); } |
Returns a new {@link FT_Module_Class.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_Module_Class.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #module_flags}.
public static long nmodule_flags(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_FLAGS); }
/** Unsafe version of {@link #module_size}.
public static long nmodule_size(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_SIZE); }
/** Unsafe version of {@link #module_name}.
public static ByteBuffer nmodule_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_nameString}.
public static String nmodule_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_version}.
public static long nmodule_version(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_VERSION); }
/** Unsafe version of {@link #module_requires}. | FT_Module_Class::nmodule_requires | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static @Nullable ByteBuffer nmodule_interface(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_Module_Class.MODULE_INTERFACE), capacity); } |
Returns a new {@link FT_Module_Class.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_Module_Class.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #module_flags}.
public static long nmodule_flags(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_FLAGS); }
/** Unsafe version of {@link #module_size}.
public static long nmodule_size(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_SIZE); }
/** Unsafe version of {@link #module_name}.
public static ByteBuffer nmodule_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_nameString}.
public static String nmodule_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_version}.
public static long nmodule_version(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_VERSION); }
/** Unsafe version of {@link #module_requires}.
public static long nmodule_requires(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_REQUIRES); }
/** Unsafe version of {@link #module_interface(int) module_interface}. | FT_Module_Class::nmodule_interface | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static @Nullable FT_Module_Constructor nmodule_init(long struct) { return FT_Module_Constructor.createSafe(memGetAddress(struct + FT_Module_Class.MODULE_INIT)); } |
Returns a new {@link FT_Module_Class.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_Module_Class.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #module_flags}.
public static long nmodule_flags(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_FLAGS); }
/** Unsafe version of {@link #module_size}.
public static long nmodule_size(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_SIZE); }
/** Unsafe version of {@link #module_name}.
public static ByteBuffer nmodule_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_nameString}.
public static String nmodule_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_version}.
public static long nmodule_version(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_VERSION); }
/** Unsafe version of {@link #module_requires}.
public static long nmodule_requires(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_REQUIRES); }
/** Unsafe version of {@link #module_interface(int) module_interface}.
public static @Nullable ByteBuffer nmodule_interface(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_Module_Class.MODULE_INTERFACE), capacity); }
/** Unsafe version of {@link #module_init}. | FT_Module_Class::nmodule_init | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static @Nullable FT_Module_Destructor nmodule_done(long struct) { return FT_Module_Destructor.createSafe(memGetAddress(struct + FT_Module_Class.MODULE_DONE)); } |
Returns a new {@link FT_Module_Class.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_Module_Class.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #module_flags}.
public static long nmodule_flags(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_FLAGS); }
/** Unsafe version of {@link #module_size}.
public static long nmodule_size(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_SIZE); }
/** Unsafe version of {@link #module_name}.
public static ByteBuffer nmodule_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_nameString}.
public static String nmodule_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_version}.
public static long nmodule_version(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_VERSION); }
/** Unsafe version of {@link #module_requires}.
public static long nmodule_requires(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_REQUIRES); }
/** Unsafe version of {@link #module_interface(int) module_interface}.
public static @Nullable ByteBuffer nmodule_interface(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_Module_Class.MODULE_INTERFACE), capacity); }
/** Unsafe version of {@link #module_init}.
public static @Nullable FT_Module_Constructor nmodule_init(long struct) { return FT_Module_Constructor.createSafe(memGetAddress(struct + FT_Module_Class.MODULE_INIT)); }
/** Unsafe version of {@link #module_done}. | FT_Module_Class::nmodule_done | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static @Nullable FT_Module_Requester nget_interface(long struct) { return FT_Module_Requester.createSafe(memGetAddress(struct + FT_Module_Class.GET_INTERFACE)); } |
Returns a new {@link FT_Module_Class.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_Module_Class.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #module_flags}.
public static long nmodule_flags(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_FLAGS); }
/** Unsafe version of {@link #module_size}.
public static long nmodule_size(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_SIZE); }
/** Unsafe version of {@link #module_name}.
public static ByteBuffer nmodule_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_nameString}.
public static String nmodule_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_version}.
public static long nmodule_version(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_VERSION); }
/** Unsafe version of {@link #module_requires}.
public static long nmodule_requires(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_REQUIRES); }
/** Unsafe version of {@link #module_interface(int) module_interface}.
public static @Nullable ByteBuffer nmodule_interface(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_Module_Class.MODULE_INTERFACE), capacity); }
/** Unsafe version of {@link #module_init}.
public static @Nullable FT_Module_Constructor nmodule_init(long struct) { return FT_Module_Constructor.createSafe(memGetAddress(struct + FT_Module_Class.MODULE_INIT)); }
/** Unsafe version of {@link #module_done}.
public static @Nullable FT_Module_Destructor nmodule_done(long struct) { return FT_Module_Destructor.createSafe(memGetAddress(struct + FT_Module_Class.MODULE_DONE)); }
/** Unsafe version of {@link #get_interface}. | FT_Module_Class::nget_interface | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static void nmodule_flags(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_FLAGS, value); } |
Returns a new {@link FT_Module_Class.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_Module_Class.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #module_flags}.
public static long nmodule_flags(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_FLAGS); }
/** Unsafe version of {@link #module_size}.
public static long nmodule_size(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_SIZE); }
/** Unsafe version of {@link #module_name}.
public static ByteBuffer nmodule_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_nameString}.
public static String nmodule_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_version}.
public static long nmodule_version(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_VERSION); }
/** Unsafe version of {@link #module_requires}.
public static long nmodule_requires(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_REQUIRES); }
/** Unsafe version of {@link #module_interface(int) module_interface}.
public static @Nullable ByteBuffer nmodule_interface(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_Module_Class.MODULE_INTERFACE), capacity); }
/** Unsafe version of {@link #module_init}.
public static @Nullable FT_Module_Constructor nmodule_init(long struct) { return FT_Module_Constructor.createSafe(memGetAddress(struct + FT_Module_Class.MODULE_INIT)); }
/** Unsafe version of {@link #module_done}.
public static @Nullable FT_Module_Destructor nmodule_done(long struct) { return FT_Module_Destructor.createSafe(memGetAddress(struct + FT_Module_Class.MODULE_DONE)); }
/** Unsafe version of {@link #get_interface}.
public static @Nullable FT_Module_Requester nget_interface(long struct) { return FT_Module_Requester.createSafe(memGetAddress(struct + FT_Module_Class.GET_INTERFACE)); }
/** Unsafe version of {@link #module_flags(long) module_flags}. | FT_Module_Class::nmodule_flags | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static void nmodule_size(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_SIZE, value); } |
Returns a new {@link FT_Module_Class.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_Module_Class.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #module_flags}.
public static long nmodule_flags(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_FLAGS); }
/** Unsafe version of {@link #module_size}.
public static long nmodule_size(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_SIZE); }
/** Unsafe version of {@link #module_name}.
public static ByteBuffer nmodule_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_nameString}.
public static String nmodule_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_version}.
public static long nmodule_version(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_VERSION); }
/** Unsafe version of {@link #module_requires}.
public static long nmodule_requires(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_REQUIRES); }
/** Unsafe version of {@link #module_interface(int) module_interface}.
public static @Nullable ByteBuffer nmodule_interface(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_Module_Class.MODULE_INTERFACE), capacity); }
/** Unsafe version of {@link #module_init}.
public static @Nullable FT_Module_Constructor nmodule_init(long struct) { return FT_Module_Constructor.createSafe(memGetAddress(struct + FT_Module_Class.MODULE_INIT)); }
/** Unsafe version of {@link #module_done}.
public static @Nullable FT_Module_Destructor nmodule_done(long struct) { return FT_Module_Destructor.createSafe(memGetAddress(struct + FT_Module_Class.MODULE_DONE)); }
/** Unsafe version of {@link #get_interface}.
public static @Nullable FT_Module_Requester nget_interface(long struct) { return FT_Module_Requester.createSafe(memGetAddress(struct + FT_Module_Class.GET_INTERFACE)); }
/** Unsafe version of {@link #module_flags(long) module_flags}.
public static void nmodule_flags(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_FLAGS, value); }
/** Unsafe version of {@link #module_size(long) module_size}. | FT_Module_Class::nmodule_size | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static void nmodule_name(long struct, ByteBuffer value) {
if (CHECKS) { checkNT1(value); }
memPutAddress(struct + FT_Module_Class.MODULE_NAME, memAddress(value));
} |
Returns a new {@link FT_Module_Class.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_Module_Class.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #module_flags}.
public static long nmodule_flags(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_FLAGS); }
/** Unsafe version of {@link #module_size}.
public static long nmodule_size(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_SIZE); }
/** Unsafe version of {@link #module_name}.
public static ByteBuffer nmodule_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_nameString}.
public static String nmodule_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_version}.
public static long nmodule_version(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_VERSION); }
/** Unsafe version of {@link #module_requires}.
public static long nmodule_requires(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_REQUIRES); }
/** Unsafe version of {@link #module_interface(int) module_interface}.
public static @Nullable ByteBuffer nmodule_interface(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_Module_Class.MODULE_INTERFACE), capacity); }
/** Unsafe version of {@link #module_init}.
public static @Nullable FT_Module_Constructor nmodule_init(long struct) { return FT_Module_Constructor.createSafe(memGetAddress(struct + FT_Module_Class.MODULE_INIT)); }
/** Unsafe version of {@link #module_done}.
public static @Nullable FT_Module_Destructor nmodule_done(long struct) { return FT_Module_Destructor.createSafe(memGetAddress(struct + FT_Module_Class.MODULE_DONE)); }
/** Unsafe version of {@link #get_interface}.
public static @Nullable FT_Module_Requester nget_interface(long struct) { return FT_Module_Requester.createSafe(memGetAddress(struct + FT_Module_Class.GET_INTERFACE)); }
/** Unsafe version of {@link #module_flags(long) module_flags}.
public static void nmodule_flags(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_FLAGS, value); }
/** Unsafe version of {@link #module_size(long) module_size}.
public static void nmodule_size(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_SIZE, value); }
/** Unsafe version of {@link #module_name(ByteBuffer) module_name}. | FT_Module_Class::nmodule_name | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static void nmodule_version(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_VERSION, value); } |
Returns a new {@link FT_Module_Class.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_Module_Class.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #module_flags}.
public static long nmodule_flags(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_FLAGS); }
/** Unsafe version of {@link #module_size}.
public static long nmodule_size(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_SIZE); }
/** Unsafe version of {@link #module_name}.
public static ByteBuffer nmodule_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_nameString}.
public static String nmodule_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_version}.
public static long nmodule_version(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_VERSION); }
/** Unsafe version of {@link #module_requires}.
public static long nmodule_requires(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_REQUIRES); }
/** Unsafe version of {@link #module_interface(int) module_interface}.
public static @Nullable ByteBuffer nmodule_interface(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_Module_Class.MODULE_INTERFACE), capacity); }
/** Unsafe version of {@link #module_init}.
public static @Nullable FT_Module_Constructor nmodule_init(long struct) { return FT_Module_Constructor.createSafe(memGetAddress(struct + FT_Module_Class.MODULE_INIT)); }
/** Unsafe version of {@link #module_done}.
public static @Nullable FT_Module_Destructor nmodule_done(long struct) { return FT_Module_Destructor.createSafe(memGetAddress(struct + FT_Module_Class.MODULE_DONE)); }
/** Unsafe version of {@link #get_interface}.
public static @Nullable FT_Module_Requester nget_interface(long struct) { return FT_Module_Requester.createSafe(memGetAddress(struct + FT_Module_Class.GET_INTERFACE)); }
/** Unsafe version of {@link #module_flags(long) module_flags}.
public static void nmodule_flags(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_FLAGS, value); }
/** Unsafe version of {@link #module_size(long) module_size}.
public static void nmodule_size(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_SIZE, value); }
/** Unsafe version of {@link #module_name(ByteBuffer) module_name}.
public static void nmodule_name(long struct, ByteBuffer value) {
if (CHECKS) { checkNT1(value); }
memPutAddress(struct + FT_Module_Class.MODULE_NAME, memAddress(value));
}
/** Unsafe version of {@link #module_version(long) module_version}. | FT_Module_Class::nmodule_version | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static void nmodule_requires(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_REQUIRES, value); } |
Returns a new {@link FT_Module_Class.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_Module_Class.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #module_flags}.
public static long nmodule_flags(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_FLAGS); }
/** Unsafe version of {@link #module_size}.
public static long nmodule_size(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_SIZE); }
/** Unsafe version of {@link #module_name}.
public static ByteBuffer nmodule_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_nameString}.
public static String nmodule_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_version}.
public static long nmodule_version(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_VERSION); }
/** Unsafe version of {@link #module_requires}.
public static long nmodule_requires(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_REQUIRES); }
/** Unsafe version of {@link #module_interface(int) module_interface}.
public static @Nullable ByteBuffer nmodule_interface(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_Module_Class.MODULE_INTERFACE), capacity); }
/** Unsafe version of {@link #module_init}.
public static @Nullable FT_Module_Constructor nmodule_init(long struct) { return FT_Module_Constructor.createSafe(memGetAddress(struct + FT_Module_Class.MODULE_INIT)); }
/** Unsafe version of {@link #module_done}.
public static @Nullable FT_Module_Destructor nmodule_done(long struct) { return FT_Module_Destructor.createSafe(memGetAddress(struct + FT_Module_Class.MODULE_DONE)); }
/** Unsafe version of {@link #get_interface}.
public static @Nullable FT_Module_Requester nget_interface(long struct) { return FT_Module_Requester.createSafe(memGetAddress(struct + FT_Module_Class.GET_INTERFACE)); }
/** Unsafe version of {@link #module_flags(long) module_flags}.
public static void nmodule_flags(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_FLAGS, value); }
/** Unsafe version of {@link #module_size(long) module_size}.
public static void nmodule_size(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_SIZE, value); }
/** Unsafe version of {@link #module_name(ByteBuffer) module_name}.
public static void nmodule_name(long struct, ByteBuffer value) {
if (CHECKS) { checkNT1(value); }
memPutAddress(struct + FT_Module_Class.MODULE_NAME, memAddress(value));
}
/** Unsafe version of {@link #module_version(long) module_version}.
public static void nmodule_version(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_VERSION, value); }
/** Unsafe version of {@link #module_requires(long) module_requires}. | FT_Module_Class::nmodule_requires | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static void nmodule_interface(long struct, @Nullable ByteBuffer value) { memPutAddress(struct + FT_Module_Class.MODULE_INTERFACE, memAddressSafe(value)); } |
Returns a new {@link FT_Module_Class.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_Module_Class.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #module_flags}.
public static long nmodule_flags(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_FLAGS); }
/** Unsafe version of {@link #module_size}.
public static long nmodule_size(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_SIZE); }
/** Unsafe version of {@link #module_name}.
public static ByteBuffer nmodule_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_nameString}.
public static String nmodule_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_version}.
public static long nmodule_version(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_VERSION); }
/** Unsafe version of {@link #module_requires}.
public static long nmodule_requires(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_REQUIRES); }
/** Unsafe version of {@link #module_interface(int) module_interface}.
public static @Nullable ByteBuffer nmodule_interface(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_Module_Class.MODULE_INTERFACE), capacity); }
/** Unsafe version of {@link #module_init}.
public static @Nullable FT_Module_Constructor nmodule_init(long struct) { return FT_Module_Constructor.createSafe(memGetAddress(struct + FT_Module_Class.MODULE_INIT)); }
/** Unsafe version of {@link #module_done}.
public static @Nullable FT_Module_Destructor nmodule_done(long struct) { return FT_Module_Destructor.createSafe(memGetAddress(struct + FT_Module_Class.MODULE_DONE)); }
/** Unsafe version of {@link #get_interface}.
public static @Nullable FT_Module_Requester nget_interface(long struct) { return FT_Module_Requester.createSafe(memGetAddress(struct + FT_Module_Class.GET_INTERFACE)); }
/** Unsafe version of {@link #module_flags(long) module_flags}.
public static void nmodule_flags(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_FLAGS, value); }
/** Unsafe version of {@link #module_size(long) module_size}.
public static void nmodule_size(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_SIZE, value); }
/** Unsafe version of {@link #module_name(ByteBuffer) module_name}.
public static void nmodule_name(long struct, ByteBuffer value) {
if (CHECKS) { checkNT1(value); }
memPutAddress(struct + FT_Module_Class.MODULE_NAME, memAddress(value));
}
/** Unsafe version of {@link #module_version(long) module_version}.
public static void nmodule_version(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_VERSION, value); }
/** Unsafe version of {@link #module_requires(long) module_requires}.
public static void nmodule_requires(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_REQUIRES, value); }
/** Unsafe version of {@link #module_interface(ByteBuffer) module_interface}. | FT_Module_Class::nmodule_interface | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static void nmodule_init(long struct, @Nullable FT_Module_ConstructorI value) { memPutAddress(struct + FT_Module_Class.MODULE_INIT, memAddressSafe(value)); } |
Returns a new {@link FT_Module_Class.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_Module_Class.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #module_flags}.
public static long nmodule_flags(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_FLAGS); }
/** Unsafe version of {@link #module_size}.
public static long nmodule_size(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_SIZE); }
/** Unsafe version of {@link #module_name}.
public static ByteBuffer nmodule_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_nameString}.
public static String nmodule_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_version}.
public static long nmodule_version(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_VERSION); }
/** Unsafe version of {@link #module_requires}.
public static long nmodule_requires(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_REQUIRES); }
/** Unsafe version of {@link #module_interface(int) module_interface}.
public static @Nullable ByteBuffer nmodule_interface(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_Module_Class.MODULE_INTERFACE), capacity); }
/** Unsafe version of {@link #module_init}.
public static @Nullable FT_Module_Constructor nmodule_init(long struct) { return FT_Module_Constructor.createSafe(memGetAddress(struct + FT_Module_Class.MODULE_INIT)); }
/** Unsafe version of {@link #module_done}.
public static @Nullable FT_Module_Destructor nmodule_done(long struct) { return FT_Module_Destructor.createSafe(memGetAddress(struct + FT_Module_Class.MODULE_DONE)); }
/** Unsafe version of {@link #get_interface}.
public static @Nullable FT_Module_Requester nget_interface(long struct) { return FT_Module_Requester.createSafe(memGetAddress(struct + FT_Module_Class.GET_INTERFACE)); }
/** Unsafe version of {@link #module_flags(long) module_flags}.
public static void nmodule_flags(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_FLAGS, value); }
/** Unsafe version of {@link #module_size(long) module_size}.
public static void nmodule_size(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_SIZE, value); }
/** Unsafe version of {@link #module_name(ByteBuffer) module_name}.
public static void nmodule_name(long struct, ByteBuffer value) {
if (CHECKS) { checkNT1(value); }
memPutAddress(struct + FT_Module_Class.MODULE_NAME, memAddress(value));
}
/** Unsafe version of {@link #module_version(long) module_version}.
public static void nmodule_version(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_VERSION, value); }
/** Unsafe version of {@link #module_requires(long) module_requires}.
public static void nmodule_requires(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_REQUIRES, value); }
/** Unsafe version of {@link #module_interface(ByteBuffer) module_interface}.
public static void nmodule_interface(long struct, @Nullable ByteBuffer value) { memPutAddress(struct + FT_Module_Class.MODULE_INTERFACE, memAddressSafe(value)); }
/** Unsafe version of {@link #module_init(FT_Module_ConstructorI) module_init}. | FT_Module_Class::nmodule_init | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static void nmodule_done(long struct, @Nullable FT_Module_DestructorI value) { memPutAddress(struct + FT_Module_Class.MODULE_DONE, memAddressSafe(value)); } |
Returns a new {@link FT_Module_Class.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_Module_Class.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #module_flags}.
public static long nmodule_flags(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_FLAGS); }
/** Unsafe version of {@link #module_size}.
public static long nmodule_size(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_SIZE); }
/** Unsafe version of {@link #module_name}.
public static ByteBuffer nmodule_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_nameString}.
public static String nmodule_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_version}.
public static long nmodule_version(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_VERSION); }
/** Unsafe version of {@link #module_requires}.
public static long nmodule_requires(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_REQUIRES); }
/** Unsafe version of {@link #module_interface(int) module_interface}.
public static @Nullable ByteBuffer nmodule_interface(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_Module_Class.MODULE_INTERFACE), capacity); }
/** Unsafe version of {@link #module_init}.
public static @Nullable FT_Module_Constructor nmodule_init(long struct) { return FT_Module_Constructor.createSafe(memGetAddress(struct + FT_Module_Class.MODULE_INIT)); }
/** Unsafe version of {@link #module_done}.
public static @Nullable FT_Module_Destructor nmodule_done(long struct) { return FT_Module_Destructor.createSafe(memGetAddress(struct + FT_Module_Class.MODULE_DONE)); }
/** Unsafe version of {@link #get_interface}.
public static @Nullable FT_Module_Requester nget_interface(long struct) { return FT_Module_Requester.createSafe(memGetAddress(struct + FT_Module_Class.GET_INTERFACE)); }
/** Unsafe version of {@link #module_flags(long) module_flags}.
public static void nmodule_flags(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_FLAGS, value); }
/** Unsafe version of {@link #module_size(long) module_size}.
public static void nmodule_size(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_SIZE, value); }
/** Unsafe version of {@link #module_name(ByteBuffer) module_name}.
public static void nmodule_name(long struct, ByteBuffer value) {
if (CHECKS) { checkNT1(value); }
memPutAddress(struct + FT_Module_Class.MODULE_NAME, memAddress(value));
}
/** Unsafe version of {@link #module_version(long) module_version}.
public static void nmodule_version(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_VERSION, value); }
/** Unsafe version of {@link #module_requires(long) module_requires}.
public static void nmodule_requires(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_REQUIRES, value); }
/** Unsafe version of {@link #module_interface(ByteBuffer) module_interface}.
public static void nmodule_interface(long struct, @Nullable ByteBuffer value) { memPutAddress(struct + FT_Module_Class.MODULE_INTERFACE, memAddressSafe(value)); }
/** Unsafe version of {@link #module_init(FT_Module_ConstructorI) module_init}.
public static void nmodule_init(long struct, @Nullable FT_Module_ConstructorI value) { memPutAddress(struct + FT_Module_Class.MODULE_INIT, memAddressSafe(value)); }
/** Unsafe version of {@link #module_done(FT_Module_DestructorI) module_done}. | FT_Module_Class::nmodule_done | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public static void nget_interface(long struct, @Nullable FT_Module_RequesterI value) { memPutAddress(struct + FT_Module_Class.GET_INTERFACE, memAddressSafe(value)); } |
Returns a new {@link FT_Module_Class.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_Module_Class.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #module_flags}.
public static long nmodule_flags(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_FLAGS); }
/** Unsafe version of {@link #module_size}.
public static long nmodule_size(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_SIZE); }
/** Unsafe version of {@link #module_name}.
public static ByteBuffer nmodule_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_nameString}.
public static String nmodule_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Module_Class.MODULE_NAME)); }
/** Unsafe version of {@link #module_version}.
public static long nmodule_version(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_VERSION); }
/** Unsafe version of {@link #module_requires}.
public static long nmodule_requires(long struct) { return memGetCLong(struct + FT_Module_Class.MODULE_REQUIRES); }
/** Unsafe version of {@link #module_interface(int) module_interface}.
public static @Nullable ByteBuffer nmodule_interface(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_Module_Class.MODULE_INTERFACE), capacity); }
/** Unsafe version of {@link #module_init}.
public static @Nullable FT_Module_Constructor nmodule_init(long struct) { return FT_Module_Constructor.createSafe(memGetAddress(struct + FT_Module_Class.MODULE_INIT)); }
/** Unsafe version of {@link #module_done}.
public static @Nullable FT_Module_Destructor nmodule_done(long struct) { return FT_Module_Destructor.createSafe(memGetAddress(struct + FT_Module_Class.MODULE_DONE)); }
/** Unsafe version of {@link #get_interface}.
public static @Nullable FT_Module_Requester nget_interface(long struct) { return FT_Module_Requester.createSafe(memGetAddress(struct + FT_Module_Class.GET_INTERFACE)); }
/** Unsafe version of {@link #module_flags(long) module_flags}.
public static void nmodule_flags(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_FLAGS, value); }
/** Unsafe version of {@link #module_size(long) module_size}.
public static void nmodule_size(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_SIZE, value); }
/** Unsafe version of {@link #module_name(ByteBuffer) module_name}.
public static void nmodule_name(long struct, ByteBuffer value) {
if (CHECKS) { checkNT1(value); }
memPutAddress(struct + FT_Module_Class.MODULE_NAME, memAddress(value));
}
/** Unsafe version of {@link #module_version(long) module_version}.
public static void nmodule_version(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_VERSION, value); }
/** Unsafe version of {@link #module_requires(long) module_requires}.
public static void nmodule_requires(long struct, long value) { memPutCLong(struct + FT_Module_Class.MODULE_REQUIRES, value); }
/** Unsafe version of {@link #module_interface(ByteBuffer) module_interface}.
public static void nmodule_interface(long struct, @Nullable ByteBuffer value) { memPutAddress(struct + FT_Module_Class.MODULE_INTERFACE, memAddressSafe(value)); }
/** Unsafe version of {@link #module_init(FT_Module_ConstructorI) module_init}.
public static void nmodule_init(long struct, @Nullable FT_Module_ConstructorI value) { memPutAddress(struct + FT_Module_Class.MODULE_INIT, memAddressSafe(value)); }
/** Unsafe version of {@link #module_done(FT_Module_DestructorI) module_done}.
public static void nmodule_done(long struct, @Nullable FT_Module_DestructorI value) { memPutAddress(struct + FT_Module_Class.MODULE_DONE, memAddressSafe(value)); }
/** Unsafe version of {@link #get_interface(FT_Module_RequesterI) get_interface}. | FT_Module_Class::nget_interface | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public @Nullable FT_Module_Constructor module_init() { return FT_Module_Class.nmodule_init(address()); } |
Creates a new {@code FT_Module_Class.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_Module_Class#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_Module_Class getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return the value of the {@code module_flags} field.
@NativeType("FT_ULong")
public long module_flags() { return FT_Module_Class.nmodule_flags(address()); }
/** @return the value of the {@code module_size} field.
@NativeType("FT_Long")
public long module_size() { return FT_Module_Class.nmodule_size(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public ByteBuffer module_name() { return FT_Module_Class.nmodule_name(address()); }
/** @return the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public String module_nameString() { return FT_Module_Class.nmodule_nameString(address()); }
/** @return the value of the {@code module_version} field.
@NativeType("FT_Fixed")
public long module_version() { return FT_Module_Class.nmodule_version(address()); }
/** @return the value of the {@code module_requires} field.
@NativeType("FT_Fixed")
public long module_requires() { return FT_Module_Class.nmodule_requires(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code module_interface} field.
@NativeType("void const *")
public @Nullable ByteBuffer module_interface(int capacity) { return FT_Module_Class.nmodule_interface(address(), capacity); }
/** @return the value of the {@code module_init} field. | Buffer::module_init | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public @Nullable FT_Module_Destructor module_done() { return FT_Module_Class.nmodule_done(address()); } |
Creates a new {@code FT_Module_Class.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_Module_Class#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_Module_Class getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return the value of the {@code module_flags} field.
@NativeType("FT_ULong")
public long module_flags() { return FT_Module_Class.nmodule_flags(address()); }
/** @return the value of the {@code module_size} field.
@NativeType("FT_Long")
public long module_size() { return FT_Module_Class.nmodule_size(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public ByteBuffer module_name() { return FT_Module_Class.nmodule_name(address()); }
/** @return the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public String module_nameString() { return FT_Module_Class.nmodule_nameString(address()); }
/** @return the value of the {@code module_version} field.
@NativeType("FT_Fixed")
public long module_version() { return FT_Module_Class.nmodule_version(address()); }
/** @return the value of the {@code module_requires} field.
@NativeType("FT_Fixed")
public long module_requires() { return FT_Module_Class.nmodule_requires(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code module_interface} field.
@NativeType("void const *")
public @Nullable ByteBuffer module_interface(int capacity) { return FT_Module_Class.nmodule_interface(address(), capacity); }
/** @return the value of the {@code module_init} field.
public @Nullable FT_Module_Constructor module_init() { return FT_Module_Class.nmodule_init(address()); }
/** @return the value of the {@code module_done} field. | Buffer::module_done | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public @Nullable FT_Module_Requester get_interface() { return FT_Module_Class.nget_interface(address()); } |
Creates a new {@code FT_Module_Class.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_Module_Class#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_Module_Class getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return the value of the {@code module_flags} field.
@NativeType("FT_ULong")
public long module_flags() { return FT_Module_Class.nmodule_flags(address()); }
/** @return the value of the {@code module_size} field.
@NativeType("FT_Long")
public long module_size() { return FT_Module_Class.nmodule_size(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public ByteBuffer module_name() { return FT_Module_Class.nmodule_name(address()); }
/** @return the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public String module_nameString() { return FT_Module_Class.nmodule_nameString(address()); }
/** @return the value of the {@code module_version} field.
@NativeType("FT_Fixed")
public long module_version() { return FT_Module_Class.nmodule_version(address()); }
/** @return the value of the {@code module_requires} field.
@NativeType("FT_Fixed")
public long module_requires() { return FT_Module_Class.nmodule_requires(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code module_interface} field.
@NativeType("void const *")
public @Nullable ByteBuffer module_interface(int capacity) { return FT_Module_Class.nmodule_interface(address(), capacity); }
/** @return the value of the {@code module_init} field.
public @Nullable FT_Module_Constructor module_init() { return FT_Module_Class.nmodule_init(address()); }
/** @return the value of the {@code module_done} field.
public @Nullable FT_Module_Destructor module_done() { return FT_Module_Class.nmodule_done(address()); }
/** @return the value of the {@code get_interface} field. | Buffer::get_interface | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public FT_Module_Class.Buffer module_flags(@NativeType("FT_ULong") long value) { FT_Module_Class.nmodule_flags(address(), value); return this; } |
Creates a new {@code FT_Module_Class.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_Module_Class#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_Module_Class getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return the value of the {@code module_flags} field.
@NativeType("FT_ULong")
public long module_flags() { return FT_Module_Class.nmodule_flags(address()); }
/** @return the value of the {@code module_size} field.
@NativeType("FT_Long")
public long module_size() { return FT_Module_Class.nmodule_size(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public ByteBuffer module_name() { return FT_Module_Class.nmodule_name(address()); }
/** @return the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public String module_nameString() { return FT_Module_Class.nmodule_nameString(address()); }
/** @return the value of the {@code module_version} field.
@NativeType("FT_Fixed")
public long module_version() { return FT_Module_Class.nmodule_version(address()); }
/** @return the value of the {@code module_requires} field.
@NativeType("FT_Fixed")
public long module_requires() { return FT_Module_Class.nmodule_requires(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code module_interface} field.
@NativeType("void const *")
public @Nullable ByteBuffer module_interface(int capacity) { return FT_Module_Class.nmodule_interface(address(), capacity); }
/** @return the value of the {@code module_init} field.
public @Nullable FT_Module_Constructor module_init() { return FT_Module_Class.nmodule_init(address()); }
/** @return the value of the {@code module_done} field.
public @Nullable FT_Module_Destructor module_done() { return FT_Module_Class.nmodule_done(address()); }
/** @return the value of the {@code get_interface} field.
public @Nullable FT_Module_Requester get_interface() { return FT_Module_Class.nget_interface(address()); }
/** Sets the specified value to the {@code module_flags} field. | Buffer::module_flags | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public FT_Module_Class.Buffer module_size(@NativeType("FT_Long") long value) { FT_Module_Class.nmodule_size(address(), value); return this; } |
Creates a new {@code FT_Module_Class.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_Module_Class#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_Module_Class getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return the value of the {@code module_flags} field.
@NativeType("FT_ULong")
public long module_flags() { return FT_Module_Class.nmodule_flags(address()); }
/** @return the value of the {@code module_size} field.
@NativeType("FT_Long")
public long module_size() { return FT_Module_Class.nmodule_size(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public ByteBuffer module_name() { return FT_Module_Class.nmodule_name(address()); }
/** @return the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public String module_nameString() { return FT_Module_Class.nmodule_nameString(address()); }
/** @return the value of the {@code module_version} field.
@NativeType("FT_Fixed")
public long module_version() { return FT_Module_Class.nmodule_version(address()); }
/** @return the value of the {@code module_requires} field.
@NativeType("FT_Fixed")
public long module_requires() { return FT_Module_Class.nmodule_requires(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code module_interface} field.
@NativeType("void const *")
public @Nullable ByteBuffer module_interface(int capacity) { return FT_Module_Class.nmodule_interface(address(), capacity); }
/** @return the value of the {@code module_init} field.
public @Nullable FT_Module_Constructor module_init() { return FT_Module_Class.nmodule_init(address()); }
/** @return the value of the {@code module_done} field.
public @Nullable FT_Module_Destructor module_done() { return FT_Module_Class.nmodule_done(address()); }
/** @return the value of the {@code get_interface} field.
public @Nullable FT_Module_Requester get_interface() { return FT_Module_Class.nget_interface(address()); }
/** Sets the specified value to the {@code module_flags} field.
public FT_Module_Class.Buffer module_flags(@NativeType("FT_ULong") long value) { FT_Module_Class.nmodule_flags(address(), value); return this; }
/** Sets the specified value to the {@code module_size} field. | Buffer::module_size | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public FT_Module_Class.Buffer module_name(@NativeType("FT_String const *") ByteBuffer value) { FT_Module_Class.nmodule_name(address(), value); return this; } |
Creates a new {@code FT_Module_Class.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_Module_Class#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_Module_Class getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return the value of the {@code module_flags} field.
@NativeType("FT_ULong")
public long module_flags() { return FT_Module_Class.nmodule_flags(address()); }
/** @return the value of the {@code module_size} field.
@NativeType("FT_Long")
public long module_size() { return FT_Module_Class.nmodule_size(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public ByteBuffer module_name() { return FT_Module_Class.nmodule_name(address()); }
/** @return the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public String module_nameString() { return FT_Module_Class.nmodule_nameString(address()); }
/** @return the value of the {@code module_version} field.
@NativeType("FT_Fixed")
public long module_version() { return FT_Module_Class.nmodule_version(address()); }
/** @return the value of the {@code module_requires} field.
@NativeType("FT_Fixed")
public long module_requires() { return FT_Module_Class.nmodule_requires(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code module_interface} field.
@NativeType("void const *")
public @Nullable ByteBuffer module_interface(int capacity) { return FT_Module_Class.nmodule_interface(address(), capacity); }
/** @return the value of the {@code module_init} field.
public @Nullable FT_Module_Constructor module_init() { return FT_Module_Class.nmodule_init(address()); }
/** @return the value of the {@code module_done} field.
public @Nullable FT_Module_Destructor module_done() { return FT_Module_Class.nmodule_done(address()); }
/** @return the value of the {@code get_interface} field.
public @Nullable FT_Module_Requester get_interface() { return FT_Module_Class.nget_interface(address()); }
/** Sets the specified value to the {@code module_flags} field.
public FT_Module_Class.Buffer module_flags(@NativeType("FT_ULong") long value) { FT_Module_Class.nmodule_flags(address(), value); return this; }
/** Sets the specified value to the {@code module_size} field.
public FT_Module_Class.Buffer module_size(@NativeType("FT_Long") long value) { FT_Module_Class.nmodule_size(address(), value); return this; }
/** Sets the address of the specified encoded string to the {@code module_name} field. | Buffer::module_name | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public FT_Module_Class.Buffer module_version(@NativeType("FT_Fixed") long value) { FT_Module_Class.nmodule_version(address(), value); return this; } |
Creates a new {@code FT_Module_Class.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_Module_Class#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_Module_Class getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return the value of the {@code module_flags} field.
@NativeType("FT_ULong")
public long module_flags() { return FT_Module_Class.nmodule_flags(address()); }
/** @return the value of the {@code module_size} field.
@NativeType("FT_Long")
public long module_size() { return FT_Module_Class.nmodule_size(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public ByteBuffer module_name() { return FT_Module_Class.nmodule_name(address()); }
/** @return the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public String module_nameString() { return FT_Module_Class.nmodule_nameString(address()); }
/** @return the value of the {@code module_version} field.
@NativeType("FT_Fixed")
public long module_version() { return FT_Module_Class.nmodule_version(address()); }
/** @return the value of the {@code module_requires} field.
@NativeType("FT_Fixed")
public long module_requires() { return FT_Module_Class.nmodule_requires(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code module_interface} field.
@NativeType("void const *")
public @Nullable ByteBuffer module_interface(int capacity) { return FT_Module_Class.nmodule_interface(address(), capacity); }
/** @return the value of the {@code module_init} field.
public @Nullable FT_Module_Constructor module_init() { return FT_Module_Class.nmodule_init(address()); }
/** @return the value of the {@code module_done} field.
public @Nullable FT_Module_Destructor module_done() { return FT_Module_Class.nmodule_done(address()); }
/** @return the value of the {@code get_interface} field.
public @Nullable FT_Module_Requester get_interface() { return FT_Module_Class.nget_interface(address()); }
/** Sets the specified value to the {@code module_flags} field.
public FT_Module_Class.Buffer module_flags(@NativeType("FT_ULong") long value) { FT_Module_Class.nmodule_flags(address(), value); return this; }
/** Sets the specified value to the {@code module_size} field.
public FT_Module_Class.Buffer module_size(@NativeType("FT_Long") long value) { FT_Module_Class.nmodule_size(address(), value); return this; }
/** Sets the address of the specified encoded string to the {@code module_name} field.
public FT_Module_Class.Buffer module_name(@NativeType("FT_String const *") ByteBuffer value) { FT_Module_Class.nmodule_name(address(), value); return this; }
/** Sets the specified value to the {@code module_version} field. | Buffer::module_version | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public FT_Module_Class.Buffer module_requires(@NativeType("FT_Fixed") long value) { FT_Module_Class.nmodule_requires(address(), value); return this; } |
Creates a new {@code FT_Module_Class.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_Module_Class#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_Module_Class getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return the value of the {@code module_flags} field.
@NativeType("FT_ULong")
public long module_flags() { return FT_Module_Class.nmodule_flags(address()); }
/** @return the value of the {@code module_size} field.
@NativeType("FT_Long")
public long module_size() { return FT_Module_Class.nmodule_size(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public ByteBuffer module_name() { return FT_Module_Class.nmodule_name(address()); }
/** @return the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public String module_nameString() { return FT_Module_Class.nmodule_nameString(address()); }
/** @return the value of the {@code module_version} field.
@NativeType("FT_Fixed")
public long module_version() { return FT_Module_Class.nmodule_version(address()); }
/** @return the value of the {@code module_requires} field.
@NativeType("FT_Fixed")
public long module_requires() { return FT_Module_Class.nmodule_requires(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code module_interface} field.
@NativeType("void const *")
public @Nullable ByteBuffer module_interface(int capacity) { return FT_Module_Class.nmodule_interface(address(), capacity); }
/** @return the value of the {@code module_init} field.
public @Nullable FT_Module_Constructor module_init() { return FT_Module_Class.nmodule_init(address()); }
/** @return the value of the {@code module_done} field.
public @Nullable FT_Module_Destructor module_done() { return FT_Module_Class.nmodule_done(address()); }
/** @return the value of the {@code get_interface} field.
public @Nullable FT_Module_Requester get_interface() { return FT_Module_Class.nget_interface(address()); }
/** Sets the specified value to the {@code module_flags} field.
public FT_Module_Class.Buffer module_flags(@NativeType("FT_ULong") long value) { FT_Module_Class.nmodule_flags(address(), value); return this; }
/** Sets the specified value to the {@code module_size} field.
public FT_Module_Class.Buffer module_size(@NativeType("FT_Long") long value) { FT_Module_Class.nmodule_size(address(), value); return this; }
/** Sets the address of the specified encoded string to the {@code module_name} field.
public FT_Module_Class.Buffer module_name(@NativeType("FT_String const *") ByteBuffer value) { FT_Module_Class.nmodule_name(address(), value); return this; }
/** Sets the specified value to the {@code module_version} field.
public FT_Module_Class.Buffer module_version(@NativeType("FT_Fixed") long value) { FT_Module_Class.nmodule_version(address(), value); return this; }
/** Sets the specified value to the {@code module_requires} field. | Buffer::module_requires | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public FT_Module_Class.Buffer module_interface(@Nullable @NativeType("void const *") ByteBuffer value) { FT_Module_Class.nmodule_interface(address(), value); return this; } |
Creates a new {@code FT_Module_Class.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_Module_Class#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_Module_Class getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return the value of the {@code module_flags} field.
@NativeType("FT_ULong")
public long module_flags() { return FT_Module_Class.nmodule_flags(address()); }
/** @return the value of the {@code module_size} field.
@NativeType("FT_Long")
public long module_size() { return FT_Module_Class.nmodule_size(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public ByteBuffer module_name() { return FT_Module_Class.nmodule_name(address()); }
/** @return the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public String module_nameString() { return FT_Module_Class.nmodule_nameString(address()); }
/** @return the value of the {@code module_version} field.
@NativeType("FT_Fixed")
public long module_version() { return FT_Module_Class.nmodule_version(address()); }
/** @return the value of the {@code module_requires} field.
@NativeType("FT_Fixed")
public long module_requires() { return FT_Module_Class.nmodule_requires(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code module_interface} field.
@NativeType("void const *")
public @Nullable ByteBuffer module_interface(int capacity) { return FT_Module_Class.nmodule_interface(address(), capacity); }
/** @return the value of the {@code module_init} field.
public @Nullable FT_Module_Constructor module_init() { return FT_Module_Class.nmodule_init(address()); }
/** @return the value of the {@code module_done} field.
public @Nullable FT_Module_Destructor module_done() { return FT_Module_Class.nmodule_done(address()); }
/** @return the value of the {@code get_interface} field.
public @Nullable FT_Module_Requester get_interface() { return FT_Module_Class.nget_interface(address()); }
/** Sets the specified value to the {@code module_flags} field.
public FT_Module_Class.Buffer module_flags(@NativeType("FT_ULong") long value) { FT_Module_Class.nmodule_flags(address(), value); return this; }
/** Sets the specified value to the {@code module_size} field.
public FT_Module_Class.Buffer module_size(@NativeType("FT_Long") long value) { FT_Module_Class.nmodule_size(address(), value); return this; }
/** Sets the address of the specified encoded string to the {@code module_name} field.
public FT_Module_Class.Buffer module_name(@NativeType("FT_String const *") ByteBuffer value) { FT_Module_Class.nmodule_name(address(), value); return this; }
/** Sets the specified value to the {@code module_version} field.
public FT_Module_Class.Buffer module_version(@NativeType("FT_Fixed") long value) { FT_Module_Class.nmodule_version(address(), value); return this; }
/** Sets the specified value to the {@code module_requires} field.
public FT_Module_Class.Buffer module_requires(@NativeType("FT_Fixed") long value) { FT_Module_Class.nmodule_requires(address(), value); return this; }
/** Sets the address of the specified {@link ByteBuffer} to the {@code module_interface} field. | Buffer::module_interface | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public FT_Module_Class.Buffer module_init(@Nullable @NativeType("FT_Module_Constructor") FT_Module_ConstructorI value) { FT_Module_Class.nmodule_init(address(), value); return this; } |
Creates a new {@code FT_Module_Class.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_Module_Class#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_Module_Class getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return the value of the {@code module_flags} field.
@NativeType("FT_ULong")
public long module_flags() { return FT_Module_Class.nmodule_flags(address()); }
/** @return the value of the {@code module_size} field.
@NativeType("FT_Long")
public long module_size() { return FT_Module_Class.nmodule_size(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public ByteBuffer module_name() { return FT_Module_Class.nmodule_name(address()); }
/** @return the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public String module_nameString() { return FT_Module_Class.nmodule_nameString(address()); }
/** @return the value of the {@code module_version} field.
@NativeType("FT_Fixed")
public long module_version() { return FT_Module_Class.nmodule_version(address()); }
/** @return the value of the {@code module_requires} field.
@NativeType("FT_Fixed")
public long module_requires() { return FT_Module_Class.nmodule_requires(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code module_interface} field.
@NativeType("void const *")
public @Nullable ByteBuffer module_interface(int capacity) { return FT_Module_Class.nmodule_interface(address(), capacity); }
/** @return the value of the {@code module_init} field.
public @Nullable FT_Module_Constructor module_init() { return FT_Module_Class.nmodule_init(address()); }
/** @return the value of the {@code module_done} field.
public @Nullable FT_Module_Destructor module_done() { return FT_Module_Class.nmodule_done(address()); }
/** @return the value of the {@code get_interface} field.
public @Nullable FT_Module_Requester get_interface() { return FT_Module_Class.nget_interface(address()); }
/** Sets the specified value to the {@code module_flags} field.
public FT_Module_Class.Buffer module_flags(@NativeType("FT_ULong") long value) { FT_Module_Class.nmodule_flags(address(), value); return this; }
/** Sets the specified value to the {@code module_size} field.
public FT_Module_Class.Buffer module_size(@NativeType("FT_Long") long value) { FT_Module_Class.nmodule_size(address(), value); return this; }
/** Sets the address of the specified encoded string to the {@code module_name} field.
public FT_Module_Class.Buffer module_name(@NativeType("FT_String const *") ByteBuffer value) { FT_Module_Class.nmodule_name(address(), value); return this; }
/** Sets the specified value to the {@code module_version} field.
public FT_Module_Class.Buffer module_version(@NativeType("FT_Fixed") long value) { FT_Module_Class.nmodule_version(address(), value); return this; }
/** Sets the specified value to the {@code module_requires} field.
public FT_Module_Class.Buffer module_requires(@NativeType("FT_Fixed") long value) { FT_Module_Class.nmodule_requires(address(), value); return this; }
/** Sets the address of the specified {@link ByteBuffer} to the {@code module_interface} field.
public FT_Module_Class.Buffer module_interface(@Nullable @NativeType("void const *") ByteBuffer value) { FT_Module_Class.nmodule_interface(address(), value); return this; }
/** Sets the specified value to the {@code module_init} field. | Buffer::module_init | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public FT_Module_Class.Buffer module_done(@Nullable @NativeType("FT_Module_Destructor") FT_Module_DestructorI value) { FT_Module_Class.nmodule_done(address(), value); return this; } |
Creates a new {@code FT_Module_Class.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_Module_Class#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_Module_Class getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return the value of the {@code module_flags} field.
@NativeType("FT_ULong")
public long module_flags() { return FT_Module_Class.nmodule_flags(address()); }
/** @return the value of the {@code module_size} field.
@NativeType("FT_Long")
public long module_size() { return FT_Module_Class.nmodule_size(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public ByteBuffer module_name() { return FT_Module_Class.nmodule_name(address()); }
/** @return the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public String module_nameString() { return FT_Module_Class.nmodule_nameString(address()); }
/** @return the value of the {@code module_version} field.
@NativeType("FT_Fixed")
public long module_version() { return FT_Module_Class.nmodule_version(address()); }
/** @return the value of the {@code module_requires} field.
@NativeType("FT_Fixed")
public long module_requires() { return FT_Module_Class.nmodule_requires(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code module_interface} field.
@NativeType("void const *")
public @Nullable ByteBuffer module_interface(int capacity) { return FT_Module_Class.nmodule_interface(address(), capacity); }
/** @return the value of the {@code module_init} field.
public @Nullable FT_Module_Constructor module_init() { return FT_Module_Class.nmodule_init(address()); }
/** @return the value of the {@code module_done} field.
public @Nullable FT_Module_Destructor module_done() { return FT_Module_Class.nmodule_done(address()); }
/** @return the value of the {@code get_interface} field.
public @Nullable FT_Module_Requester get_interface() { return FT_Module_Class.nget_interface(address()); }
/** Sets the specified value to the {@code module_flags} field.
public FT_Module_Class.Buffer module_flags(@NativeType("FT_ULong") long value) { FT_Module_Class.nmodule_flags(address(), value); return this; }
/** Sets the specified value to the {@code module_size} field.
public FT_Module_Class.Buffer module_size(@NativeType("FT_Long") long value) { FT_Module_Class.nmodule_size(address(), value); return this; }
/** Sets the address of the specified encoded string to the {@code module_name} field.
public FT_Module_Class.Buffer module_name(@NativeType("FT_String const *") ByteBuffer value) { FT_Module_Class.nmodule_name(address(), value); return this; }
/** Sets the specified value to the {@code module_version} field.
public FT_Module_Class.Buffer module_version(@NativeType("FT_Fixed") long value) { FT_Module_Class.nmodule_version(address(), value); return this; }
/** Sets the specified value to the {@code module_requires} field.
public FT_Module_Class.Buffer module_requires(@NativeType("FT_Fixed") long value) { FT_Module_Class.nmodule_requires(address(), value); return this; }
/** Sets the address of the specified {@link ByteBuffer} to the {@code module_interface} field.
public FT_Module_Class.Buffer module_interface(@Nullable @NativeType("void const *") ByteBuffer value) { FT_Module_Class.nmodule_interface(address(), value); return this; }
/** Sets the specified value to the {@code module_init} field.
public FT_Module_Class.Buffer module_init(@Nullable @NativeType("FT_Module_Constructor") FT_Module_ConstructorI value) { FT_Module_Class.nmodule_init(address(), value); return this; }
/** Sets the specified value to the {@code module_done} field. | Buffer::module_done | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public FT_Module_Class.Buffer get_interface(@Nullable @NativeType("FT_Module_Requester") FT_Module_RequesterI value) { FT_Module_Class.nget_interface(address(), value); return this; } |
Creates a new {@code FT_Module_Class.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_Module_Class#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_Module_Class getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return the value of the {@code module_flags} field.
@NativeType("FT_ULong")
public long module_flags() { return FT_Module_Class.nmodule_flags(address()); }
/** @return the value of the {@code module_size} field.
@NativeType("FT_Long")
public long module_size() { return FT_Module_Class.nmodule_size(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public ByteBuffer module_name() { return FT_Module_Class.nmodule_name(address()); }
/** @return the null-terminated string pointed to by the {@code module_name} field.
@NativeType("FT_String const *")
public String module_nameString() { return FT_Module_Class.nmodule_nameString(address()); }
/** @return the value of the {@code module_version} field.
@NativeType("FT_Fixed")
public long module_version() { return FT_Module_Class.nmodule_version(address()); }
/** @return the value of the {@code module_requires} field.
@NativeType("FT_Fixed")
public long module_requires() { return FT_Module_Class.nmodule_requires(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code module_interface} field.
@NativeType("void const *")
public @Nullable ByteBuffer module_interface(int capacity) { return FT_Module_Class.nmodule_interface(address(), capacity); }
/** @return the value of the {@code module_init} field.
public @Nullable FT_Module_Constructor module_init() { return FT_Module_Class.nmodule_init(address()); }
/** @return the value of the {@code module_done} field.
public @Nullable FT_Module_Destructor module_done() { return FT_Module_Class.nmodule_done(address()); }
/** @return the value of the {@code get_interface} field.
public @Nullable FT_Module_Requester get_interface() { return FT_Module_Class.nget_interface(address()); }
/** Sets the specified value to the {@code module_flags} field.
public FT_Module_Class.Buffer module_flags(@NativeType("FT_ULong") long value) { FT_Module_Class.nmodule_flags(address(), value); return this; }
/** Sets the specified value to the {@code module_size} field.
public FT_Module_Class.Buffer module_size(@NativeType("FT_Long") long value) { FT_Module_Class.nmodule_size(address(), value); return this; }
/** Sets the address of the specified encoded string to the {@code module_name} field.
public FT_Module_Class.Buffer module_name(@NativeType("FT_String const *") ByteBuffer value) { FT_Module_Class.nmodule_name(address(), value); return this; }
/** Sets the specified value to the {@code module_version} field.
public FT_Module_Class.Buffer module_version(@NativeType("FT_Fixed") long value) { FT_Module_Class.nmodule_version(address(), value); return this; }
/** Sets the specified value to the {@code module_requires} field.
public FT_Module_Class.Buffer module_requires(@NativeType("FT_Fixed") long value) { FT_Module_Class.nmodule_requires(address(), value); return this; }
/** Sets the address of the specified {@link ByteBuffer} to the {@code module_interface} field.
public FT_Module_Class.Buffer module_interface(@Nullable @NativeType("void const *") ByteBuffer value) { FT_Module_Class.nmodule_interface(address(), value); return this; }
/** Sets the specified value to the {@code module_init} field.
public FT_Module_Class.Buffer module_init(@Nullable @NativeType("FT_Module_Constructor") FT_Module_ConstructorI value) { FT_Module_Class.nmodule_init(address(), value); return this; }
/** Sets the specified value to the {@code module_done} field.
public FT_Module_Class.Buffer module_done(@Nullable @NativeType("FT_Module_Destructor") FT_Module_DestructorI value) { FT_Module_Class.nmodule_done(address(), value); return this; }
/** Sets the specified value to the {@code get_interface} field. | Buffer::get_interface | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Class.java | BSD-3-Clause |
public FT_OpaquePaint(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
} |
Creates a {@code FT_OpaquePaint} 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_OpaquePaint::FT_OpaquePaint | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | BSD-3-Clause |
public static FT_OpaquePaint malloc() {
return new FT_OpaquePaint(nmemAllocChecked(SIZEOF), null);
} |
Creates a {@code FT_OpaquePaint} 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_OpaquePaint(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code p} field.
@NativeType("FT_Byte *")
public @Nullable ByteBuffer p(int capacity) { return np(address(), capacity); }
/** @return the value of the {@code insert_root_transform} field.
@NativeType("FT_Bool")
public boolean insert_root_transform() { return ninsert_root_transform(address()); }
// -----------------------------------
/** Returns a new {@code FT_OpaquePaint} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. | FT_OpaquePaint::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | BSD-3-Clause |
public static FT_OpaquePaint calloc() {
return new FT_OpaquePaint(nmemCallocChecked(1, SIZEOF), null);
} |
Creates a {@code FT_OpaquePaint} 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_OpaquePaint(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code p} field.
@NativeType("FT_Byte *")
public @Nullable ByteBuffer p(int capacity) { return np(address(), capacity); }
/** @return the value of the {@code insert_root_transform} field.
@NativeType("FT_Bool")
public boolean insert_root_transform() { return ninsert_root_transform(address()); }
// -----------------------------------
/** Returns a new {@code FT_OpaquePaint} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_OpaquePaint malloc() {
return new FT_OpaquePaint(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_OpaquePaint} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. | FT_OpaquePaint::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | BSD-3-Clause |
public static FT_OpaquePaint create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new FT_OpaquePaint(memAddress(container), container);
} |
Creates a {@code FT_OpaquePaint} 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_OpaquePaint(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code p} field.
@NativeType("FT_Byte *")
public @Nullable ByteBuffer p(int capacity) { return np(address(), capacity); }
/** @return the value of the {@code insert_root_transform} field.
@NativeType("FT_Bool")
public boolean insert_root_transform() { return ninsert_root_transform(address()); }
// -----------------------------------
/** Returns a new {@code FT_OpaquePaint} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_OpaquePaint malloc() {
return new FT_OpaquePaint(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_OpaquePaint} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static FT_OpaquePaint calloc() {
return new FT_OpaquePaint(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code FT_OpaquePaint} instance allocated with {@link BufferUtils}. | FT_OpaquePaint::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | BSD-3-Clause |
public static FT_OpaquePaint create(long address) {
return new FT_OpaquePaint(address, null);
} |
Creates a {@code FT_OpaquePaint} 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_OpaquePaint(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code p} field.
@NativeType("FT_Byte *")
public @Nullable ByteBuffer p(int capacity) { return np(address(), capacity); }
/** @return the value of the {@code insert_root_transform} field.
@NativeType("FT_Bool")
public boolean insert_root_transform() { return ninsert_root_transform(address()); }
// -----------------------------------
/** Returns a new {@code FT_OpaquePaint} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_OpaquePaint malloc() {
return new FT_OpaquePaint(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_OpaquePaint} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static FT_OpaquePaint calloc() {
return new FT_OpaquePaint(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code FT_OpaquePaint} instance allocated with {@link BufferUtils}.
public static FT_OpaquePaint create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new FT_OpaquePaint(memAddress(container), container);
}
/** Returns a new {@code FT_OpaquePaint} instance for the specified memory address. | FT_OpaquePaint::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | BSD-3-Clause |
public static @Nullable FT_OpaquePaint createSafe(long address) {
return address == NULL ? null : new FT_OpaquePaint(address, null);
} |
Creates a {@code FT_OpaquePaint} 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_OpaquePaint(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code p} field.
@NativeType("FT_Byte *")
public @Nullable ByteBuffer p(int capacity) { return np(address(), capacity); }
/** @return the value of the {@code insert_root_transform} field.
@NativeType("FT_Bool")
public boolean insert_root_transform() { return ninsert_root_transform(address()); }
// -----------------------------------
/** Returns a new {@code FT_OpaquePaint} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_OpaquePaint malloc() {
return new FT_OpaquePaint(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_OpaquePaint} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static FT_OpaquePaint calloc() {
return new FT_OpaquePaint(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code FT_OpaquePaint} instance allocated with {@link BufferUtils}.
public static FT_OpaquePaint create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new FT_OpaquePaint(memAddress(container), container);
}
/** Returns a new {@code FT_OpaquePaint} instance for the specified memory address.
public static FT_OpaquePaint create(long address) {
return new FT_OpaquePaint(address, null);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}. | FT_OpaquePaint::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | BSD-3-Clause |
public static FT_OpaquePaint.Buffer malloc(int capacity) {
return new Buffer(nmemAllocChecked(__checkMalloc(capacity, SIZEOF)), capacity);
} |
Returns a new {@link FT_OpaquePaint.Buffer} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
@param capacity the buffer capacity
| FT_OpaquePaint::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | BSD-3-Clause |
public static FT_OpaquePaint.Buffer calloc(int capacity) {
return new Buffer(nmemCallocChecked(capacity, SIZEOF), capacity);
} |
Returns a new {@link FT_OpaquePaint.Buffer} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
@param capacity the buffer capacity
| FT_OpaquePaint::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | BSD-3-Clause |
public static FT_OpaquePaint.Buffer create(int capacity) {
ByteBuffer container = __create(capacity, SIZEOF);
return new Buffer(memAddress(container), container, -1, 0, capacity, capacity);
} |
Returns a new {@link FT_OpaquePaint.Buffer} instance allocated with {@link BufferUtils}.
@param capacity the buffer capacity
| FT_OpaquePaint::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | BSD-3-Clause |
public static FT_OpaquePaint.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
} |
Create a {@link FT_OpaquePaint.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
| FT_OpaquePaint::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | BSD-3-Clause |
public static FT_OpaquePaint.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
} |
Create a {@link FT_OpaquePaint.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_OpaquePaint.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_OpaquePaint::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | BSD-3-Clause |
public static FT_OpaquePaint malloc(MemoryStack stack) {
return new FT_OpaquePaint(stack.nmalloc(ALIGNOF, SIZEOF), null);
} |
Returns a new {@code FT_OpaquePaint} instance allocated on the specified {@link MemoryStack}.
@param stack the stack from which to allocate
| FT_OpaquePaint::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | BSD-3-Clause |
public static FT_OpaquePaint calloc(MemoryStack stack) {
return new FT_OpaquePaint(stack.ncalloc(ALIGNOF, 1, SIZEOF), null);
} |
Returns a new {@code FT_OpaquePaint} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero.
@param stack the stack from which to allocate
| FT_OpaquePaint::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | BSD-3-Clause |
public static FT_OpaquePaint.Buffer malloc(int capacity, MemoryStack stack) {
return new Buffer(stack.nmalloc(ALIGNOF, capacity * SIZEOF), capacity);
} |
Returns a new {@link FT_OpaquePaint.Buffer} instance allocated on the specified {@link MemoryStack}.
@param stack the stack from which to allocate
@param capacity the buffer capacity
| FT_OpaquePaint::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | BSD-3-Clause |
public static FT_OpaquePaint.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
} |
Returns a new {@link FT_OpaquePaint.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_OpaquePaint::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | BSD-3-Clause |
public static @Nullable ByteBuffer np(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_OpaquePaint.P), capacity); } |
Returns a new {@link FT_OpaquePaint.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_OpaquePaint.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #p(int) p}. | FT_OpaquePaint::np | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | BSD-3-Clause |
public static boolean ninsert_root_transform(long struct) { return memGetByte(struct + FT_OpaquePaint.INSERT_ROOT_TRANSFORM) != 0; } |
Returns a new {@link FT_OpaquePaint.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_OpaquePaint.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #p(int) p}.
public static @Nullable ByteBuffer np(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_OpaquePaint.P), capacity); }
/** Unsafe version of {@link #insert_root_transform}. | FT_OpaquePaint::ninsert_root_transform | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OpaquePaint.java | BSD-3-Clause |
public static FTC_Face_Requester create(long functionPointer) {
FTC_Face_RequesterI instance = Callback.get(functionPointer);
return instance instanceof FTC_Face_Requester
? (FTC_Face_Requester)instance
: new Container(functionPointer, instance);
} |
Creates a {@code FTC_Face_Requester} instance from the specified function pointer.
@return the new {@code FTC_Face_Requester}
| FTC_Face_Requester::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_Face_Requester.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_Face_Requester.java | BSD-3-Clause |
public static @Nullable FTC_Face_Requester createSafe(long functionPointer) {
return functionPointer == NULL ? null : create(functionPointer);
} |
Creates a {@code FTC_Face_Requester} instance from the specified function pointer.
@return the new {@code FTC_Face_Requester}
public static FTC_Face_Requester create(long functionPointer) {
FTC_Face_RequesterI instance = Callback.get(functionPointer);
return instance instanceof FTC_Face_Requester
? (FTC_Face_Requester)instance
: new Container(functionPointer, instance);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code functionPointer} is {@code NULL}. | FTC_Face_Requester::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_Face_Requester.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_Face_Requester.java | BSD-3-Clause |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.