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 FTC_Face_Requester create(FTC_Face_RequesterI instance) {
return instance instanceof FTC_Face_Requester
? (FTC_Face_Requester)instance
: new Container(instance.address(), instance);
} |
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}.
public static @Nullable FTC_Face_Requester createSafe(long functionPointer) {
return functionPointer == NULL ? null : create(functionPointer);
}
/** Creates a {@code FTC_Face_Requester} instance that delegates to the specified {@code FTC_Face_RequesterI} instance. | 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 FT_PaintComposite(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
} |
Creates a {@code FT_PaintComposite} 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_PaintComposite::FT_PaintComposite | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintComposite.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintComposite.java | BSD-3-Clause |
public static FT_PaintComposite create(long address) {
return new FT_PaintComposite(address, null);
} |
Creates a {@code FT_PaintComposite} 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_PaintComposite(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return a {@link FT_OpaquePaint} view of the {@code source_paint} field.
@NativeType("FT_OpaquePaintRec")
public FT_OpaquePaint source_paint() { return nsource_paint(address()); }
/** @return the value of the {@code composite_mode} field.
@NativeType("FT_Composite_Mode")
public int composite_mode() { return ncomposite_mode(address()); }
/** @return a {@link FT_OpaquePaint} view of the {@code backdrop_paint} field.
@NativeType("FT_OpaquePaintRec")
public FT_OpaquePaint backdrop_paint() { return nbackdrop_paint(address()); }
// -----------------------------------
/** Returns a new {@code FT_PaintComposite} instance for the specified memory address. | FT_PaintComposite::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintComposite.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintComposite.java | BSD-3-Clause |
public static @Nullable FT_PaintComposite createSafe(long address) {
return address == NULL ? null : new FT_PaintComposite(address, null);
} |
Creates a {@code FT_PaintComposite} 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_PaintComposite(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return a {@link FT_OpaquePaint} view of the {@code source_paint} field.
@NativeType("FT_OpaquePaintRec")
public FT_OpaquePaint source_paint() { return nsource_paint(address()); }
/** @return the value of the {@code composite_mode} field.
@NativeType("FT_Composite_Mode")
public int composite_mode() { return ncomposite_mode(address()); }
/** @return a {@link FT_OpaquePaint} view of the {@code backdrop_paint} field.
@NativeType("FT_OpaquePaintRec")
public FT_OpaquePaint backdrop_paint() { return nbackdrop_paint(address()); }
// -----------------------------------
/** Returns a new {@code FT_PaintComposite} instance for the specified memory address.
public static FT_PaintComposite create(long address) {
return new FT_PaintComposite(address, null);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}. | FT_PaintComposite::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintComposite.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintComposite.java | BSD-3-Clause |
public static FT_PaintComposite.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
} |
Create a {@link FT_PaintComposite.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
| FT_PaintComposite::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintComposite.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintComposite.java | BSD-3-Clause |
public static FT_PaintComposite.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
} |
Create a {@link FT_PaintComposite.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_PaintComposite.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_PaintComposite::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintComposite.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintComposite.java | BSD-3-Clause |
public static FT_OpaquePaint nsource_paint(long struct) { return FT_OpaquePaint.create(struct + FT_PaintComposite.SOURCE_PAINT); } |
Create a {@link FT_PaintComposite.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_PaintComposite.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static FT_PaintComposite.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #source_paint}. | FT_PaintComposite::nsource_paint | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintComposite.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintComposite.java | BSD-3-Clause |
public static int ncomposite_mode(long struct) { return memGetInt(struct + FT_PaintComposite.COMPOSITE_MODE); } |
Create a {@link FT_PaintComposite.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_PaintComposite.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static FT_PaintComposite.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #source_paint}.
public static FT_OpaquePaint nsource_paint(long struct) { return FT_OpaquePaint.create(struct + FT_PaintComposite.SOURCE_PAINT); }
/** Unsafe version of {@link #composite_mode}. | FT_PaintComposite::ncomposite_mode | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintComposite.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintComposite.java | BSD-3-Clause |
public static FT_OpaquePaint nbackdrop_paint(long struct) { return FT_OpaquePaint.create(struct + FT_PaintComposite.BACKDROP_PAINT); } |
Create a {@link FT_PaintComposite.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_PaintComposite.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static FT_PaintComposite.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #source_paint}.
public static FT_OpaquePaint nsource_paint(long struct) { return FT_OpaquePaint.create(struct + FT_PaintComposite.SOURCE_PAINT); }
/** Unsafe version of {@link #composite_mode}.
public static int ncomposite_mode(long struct) { return memGetInt(struct + FT_PaintComposite.COMPOSITE_MODE); }
/** Unsafe version of {@link #backdrop_paint}. | FT_PaintComposite::nbackdrop_paint | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintComposite.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintComposite.java | BSD-3-Clause |
public FT_Generic(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
} |
Creates a {@code FT_Generic} 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_Generic::FT_Generic | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | BSD-3-Clause |
public FT_Generic_Finalizer finalizer() { return nfinalizer(address()); } |
Creates a {@code FT_Generic} 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_Generic(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code data} field.
@NativeType("void *")
public long data() { return ndata(address()); }
/** @return the value of the {@code finalizer} field. | FT_Generic::finalizer | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | BSD-3-Clause |
public FT_Generic data(@NativeType("void *") long value) { ndata(address(), value); return this; } |
Creates a {@code FT_Generic} 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_Generic(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code data} field.
@NativeType("void *")
public long data() { return ndata(address()); }
/** @return the value of the {@code finalizer} field.
public FT_Generic_Finalizer finalizer() { return nfinalizer(address()); }
/** Sets the specified value to the {@code data} field. | FT_Generic::data | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | BSD-3-Clause |
public FT_Generic finalizer(@NativeType("FT_Generic_Finalizer") FT_Generic_FinalizerI value) { nfinalizer(address(), value); return this; } |
Creates a {@code FT_Generic} 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_Generic(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code data} field.
@NativeType("void *")
public long data() { return ndata(address()); }
/** @return the value of the {@code finalizer} field.
public FT_Generic_Finalizer finalizer() { return nfinalizer(address()); }
/** Sets the specified value to the {@code data} field.
public FT_Generic data(@NativeType("void *") long value) { ndata(address(), value); return this; }
/** Sets the specified value to the {@code finalizer} field. | FT_Generic::finalizer | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | BSD-3-Clause |
public FT_Generic set(
long data,
FT_Generic_FinalizerI finalizer
) {
data(data);
finalizer(finalizer);
return this;
} |
Creates a {@code FT_Generic} 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_Generic(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code data} field.
@NativeType("void *")
public long data() { return ndata(address()); }
/** @return the value of the {@code finalizer} field.
public FT_Generic_Finalizer finalizer() { return nfinalizer(address()); }
/** Sets the specified value to the {@code data} field.
public FT_Generic data(@NativeType("void *") long value) { ndata(address(), value); return this; }
/** Sets the specified value to the {@code finalizer} field.
public FT_Generic finalizer(@NativeType("FT_Generic_Finalizer") FT_Generic_FinalizerI value) { nfinalizer(address(), value); return this; }
/** Initializes this struct with the specified values. | FT_Generic::set | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | BSD-3-Clause |
public static FT_Generic malloc() {
return new FT_Generic(nmemAllocChecked(SIZEOF), null);
} |
Copies the specified struct data to this struct.
@param src the source struct
@return this struct
public FT_Generic set(FT_Generic src) {
memCopy(src.address(), address(), SIZEOF);
return this;
}
// -----------------------------------
/** Returns a new {@code FT_Generic} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. | FT_Generic::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | BSD-3-Clause |
public static FT_Generic calloc() {
return new FT_Generic(nmemCallocChecked(1, SIZEOF), null);
} |
Copies the specified struct data to this struct.
@param src the source struct
@return this struct
public FT_Generic set(FT_Generic src) {
memCopy(src.address(), address(), SIZEOF);
return this;
}
// -----------------------------------
/** Returns a new {@code FT_Generic} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_Generic malloc() {
return new FT_Generic(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_Generic} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. | FT_Generic::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | BSD-3-Clause |
public static FT_Generic create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new FT_Generic(memAddress(container), container);
} |
Copies the specified struct data to this struct.
@param src the source struct
@return this struct
public FT_Generic set(FT_Generic src) {
memCopy(src.address(), address(), SIZEOF);
return this;
}
// -----------------------------------
/** Returns a new {@code FT_Generic} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_Generic malloc() {
return new FT_Generic(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_Generic} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static FT_Generic calloc() {
return new FT_Generic(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code FT_Generic} instance allocated with {@link BufferUtils}. | FT_Generic::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | BSD-3-Clause |
public static FT_Generic create(long address) {
return new FT_Generic(address, null);
} |
Copies the specified struct data to this struct.
@param src the source struct
@return this struct
public FT_Generic set(FT_Generic src) {
memCopy(src.address(), address(), SIZEOF);
return this;
}
// -----------------------------------
/** Returns a new {@code FT_Generic} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_Generic malloc() {
return new FT_Generic(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_Generic} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static FT_Generic calloc() {
return new FT_Generic(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code FT_Generic} instance allocated with {@link BufferUtils}.
public static FT_Generic create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new FT_Generic(memAddress(container), container);
}
/** Returns a new {@code FT_Generic} instance for the specified memory address. | FT_Generic::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | BSD-3-Clause |
public static @Nullable FT_Generic createSafe(long address) {
return address == NULL ? null : new FT_Generic(address, null);
} |
Copies the specified struct data to this struct.
@param src the source struct
@return this struct
public FT_Generic set(FT_Generic src) {
memCopy(src.address(), address(), SIZEOF);
return this;
}
// -----------------------------------
/** Returns a new {@code FT_Generic} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_Generic malloc() {
return new FT_Generic(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_Generic} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static FT_Generic calloc() {
return new FT_Generic(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code FT_Generic} instance allocated with {@link BufferUtils}.
public static FT_Generic create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new FT_Generic(memAddress(container), container);
}
/** Returns a new {@code FT_Generic} instance for the specified memory address.
public static FT_Generic create(long address) {
return new FT_Generic(address, null);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}. | FT_Generic::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | BSD-3-Clause |
public static FT_Generic.Buffer malloc(int capacity) {
return new Buffer(nmemAllocChecked(__checkMalloc(capacity, SIZEOF)), capacity);
} |
Returns a new {@link FT_Generic.Buffer} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
@param capacity the buffer capacity
| FT_Generic::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | BSD-3-Clause |
public static FT_Generic.Buffer calloc(int capacity) {
return new Buffer(nmemCallocChecked(capacity, SIZEOF), capacity);
} |
Returns a new {@link FT_Generic.Buffer} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
@param capacity the buffer capacity
| FT_Generic::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | BSD-3-Clause |
public static FT_Generic.Buffer create(int capacity) {
ByteBuffer container = __create(capacity, SIZEOF);
return new Buffer(memAddress(container), container, -1, 0, capacity, capacity);
} |
Returns a new {@link FT_Generic.Buffer} instance allocated with {@link BufferUtils}.
@param capacity the buffer capacity
| FT_Generic::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | BSD-3-Clause |
public static FT_Generic.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
} |
Create a {@link FT_Generic.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
| FT_Generic::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | BSD-3-Clause |
public static FT_Generic.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
} |
Create a {@link FT_Generic.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Generic.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_Generic::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | BSD-3-Clause |
public static FT_Generic malloc(MemoryStack stack) {
return new FT_Generic(stack.nmalloc(ALIGNOF, SIZEOF), null);
} |
Returns a new {@code FT_Generic} instance allocated on the specified {@link MemoryStack}.
@param stack the stack from which to allocate
| FT_Generic::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | BSD-3-Clause |
public static FT_Generic calloc(MemoryStack stack) {
return new FT_Generic(stack.ncalloc(ALIGNOF, 1, SIZEOF), null);
} |
Returns a new {@code FT_Generic} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero.
@param stack the stack from which to allocate
| FT_Generic::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | BSD-3-Clause |
public static FT_Generic.Buffer malloc(int capacity, MemoryStack stack) {
return new Buffer(stack.nmalloc(ALIGNOF, capacity * SIZEOF), capacity);
} |
Returns a new {@link FT_Generic.Buffer} instance allocated on the specified {@link MemoryStack}.
@param stack the stack from which to allocate
@param capacity the buffer capacity
| FT_Generic::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | BSD-3-Clause |
public static FT_Generic.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
} |
Returns a new {@link FT_Generic.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_Generic::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | BSD-3-Clause |
public static long ndata(long struct) { return memGetAddress(struct + FT_Generic.DATA); } |
Returns a new {@link FT_Generic.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_Generic.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #data}. | FT_Generic::ndata | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | BSD-3-Clause |
public static FT_Generic_Finalizer nfinalizer(long struct) { return FT_Generic_Finalizer.create(memGetAddress(struct + FT_Generic.FINALIZER)); } |
Returns a new {@link FT_Generic.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_Generic.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #data}.
public static long ndata(long struct) { return memGetAddress(struct + FT_Generic.DATA); }
/** Unsafe version of {@link #finalizer}. | FT_Generic::nfinalizer | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | BSD-3-Clause |
public static void ndata(long struct, long value) { memPutAddress(struct + FT_Generic.DATA, value); } |
Returns a new {@link FT_Generic.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_Generic.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #data}.
public static long ndata(long struct) { return memGetAddress(struct + FT_Generic.DATA); }
/** Unsafe version of {@link #finalizer}.
public static FT_Generic_Finalizer nfinalizer(long struct) { return FT_Generic_Finalizer.create(memGetAddress(struct + FT_Generic.FINALIZER)); }
/** Unsafe version of {@link #data(long) data}. | FT_Generic::ndata | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | BSD-3-Clause |
public static void nfinalizer(long struct, FT_Generic_FinalizerI value) { memPutAddress(struct + FT_Generic.FINALIZER, value.address()); } |
Returns a new {@link FT_Generic.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_Generic.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #data}.
public static long ndata(long struct) { return memGetAddress(struct + FT_Generic.DATA); }
/** Unsafe version of {@link #finalizer}.
public static FT_Generic_Finalizer nfinalizer(long struct) { return FT_Generic_Finalizer.create(memGetAddress(struct + FT_Generic.FINALIZER)); }
/** Unsafe version of {@link #data(long) data}.
public static void ndata(long struct, long value) { memPutAddress(struct + FT_Generic.DATA, value); }
/** Unsafe version of {@link #finalizer(FT_Generic_FinalizerI) finalizer}. | FT_Generic::nfinalizer | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | BSD-3-Clause |
public FT_Generic_Finalizer finalizer() { return FT_Generic.nfinalizer(address()); } |
Creates a new {@code FT_Generic.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_Generic#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_Generic getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return the value of the {@code data} field.
@NativeType("void *")
public long data() { return FT_Generic.ndata(address()); }
/** @return the value of the {@code finalizer} field. | Buffer::finalizer | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | BSD-3-Clause |
public FT_Generic.Buffer data(@NativeType("void *") long value) { FT_Generic.ndata(address(), value); return this; } |
Creates a new {@code FT_Generic.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_Generic#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_Generic getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return the value of the {@code data} field.
@NativeType("void *")
public long data() { return FT_Generic.ndata(address()); }
/** @return the value of the {@code finalizer} field.
public FT_Generic_Finalizer finalizer() { return FT_Generic.nfinalizer(address()); }
/** Sets the specified value to the {@code data} field. | Buffer::data | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | BSD-3-Clause |
public FT_Generic.Buffer finalizer(@NativeType("FT_Generic_Finalizer") FT_Generic_FinalizerI value) { FT_Generic.nfinalizer(address(), value); return this; } |
Creates a new {@code FT_Generic.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_Generic#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_Generic getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return the value of the {@code data} field.
@NativeType("void *")
public long data() { return FT_Generic.ndata(address()); }
/** @return the value of the {@code finalizer} field.
public FT_Generic_Finalizer finalizer() { return FT_Generic.nfinalizer(address()); }
/** Sets the specified value to the {@code data} field.
public FT_Generic.Buffer data(@NativeType("void *") long value) { FT_Generic.ndata(address(), value); return this; }
/** Sets the specified value to the {@code finalizer} field. | Buffer::finalizer | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Generic.java | BSD-3-Clause |
public FT_MM_Var(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
} |
Creates a {@code FT_MM_Var} 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_MM_Var::FT_MM_Var | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_MM_Var.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_MM_Var.java | BSD-3-Clause |
public static FT_MM_Var create(long address) {
return new FT_MM_Var(address, null);
} |
Creates a {@code FT_MM_Var} 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_MM_Var(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code num_axis} field.
@NativeType("FT_UInt")
public int num_axis() { return nnum_axis(address()); }
/** @return the value of the {@code num_designs} field.
@NativeType("FT_UInt")
public int num_designs() { return nnum_designs(address()); }
/** @return the value of the {@code num_namedstyles} field.
@NativeType("FT_UInt")
public int num_namedstyles() { return nnum_namedstyles(address()); }
/** @return a {@link FT_Var_Axis.Buffer} view of the struct array pointed to by the {@code axis} field.
@NativeType("FT_Var_Axis *")
public FT_Var_Axis.Buffer axis() { return naxis(address()); }
/** @return a {@link FT_Var_Named_Style.Buffer} view of the struct array pointed to by the {@code namedstyle} field.
@NativeType("FT_Var_Named_Style *")
public FT_Var_Named_Style.Buffer namedstyle() { return nnamedstyle(address()); }
// -----------------------------------
/** Returns a new {@code FT_MM_Var} instance for the specified memory address. | FT_MM_Var::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_MM_Var.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_MM_Var.java | BSD-3-Clause |
public static @Nullable FT_MM_Var createSafe(long address) {
return address == NULL ? null : new FT_MM_Var(address, null);
} |
Creates a {@code FT_MM_Var} 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_MM_Var(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code num_axis} field.
@NativeType("FT_UInt")
public int num_axis() { return nnum_axis(address()); }
/** @return the value of the {@code num_designs} field.
@NativeType("FT_UInt")
public int num_designs() { return nnum_designs(address()); }
/** @return the value of the {@code num_namedstyles} field.
@NativeType("FT_UInt")
public int num_namedstyles() { return nnum_namedstyles(address()); }
/** @return a {@link FT_Var_Axis.Buffer} view of the struct array pointed to by the {@code axis} field.
@NativeType("FT_Var_Axis *")
public FT_Var_Axis.Buffer axis() { return naxis(address()); }
/** @return a {@link FT_Var_Named_Style.Buffer} view of the struct array pointed to by the {@code namedstyle} field.
@NativeType("FT_Var_Named_Style *")
public FT_Var_Named_Style.Buffer namedstyle() { return nnamedstyle(address()); }
// -----------------------------------
/** Returns a new {@code FT_MM_Var} instance for the specified memory address.
public static FT_MM_Var create(long address) {
return new FT_MM_Var(address, null);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}. | FT_MM_Var::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_MM_Var.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_MM_Var.java | BSD-3-Clause |
public static FT_MM_Var.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
} |
Create a {@link FT_MM_Var.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
| FT_MM_Var::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_MM_Var.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_MM_Var.java | BSD-3-Clause |
public static FT_MM_Var.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
} |
Create a {@link FT_MM_Var.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_MM_Var.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_MM_Var::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_MM_Var.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_MM_Var.java | BSD-3-Clause |
public static int nnum_axis(long struct) { return memGetInt(struct + FT_MM_Var.NUM_AXIS); } |
Create a {@link FT_MM_Var.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_MM_Var.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static FT_MM_Var.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #num_axis}. | FT_MM_Var::nnum_axis | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_MM_Var.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_MM_Var.java | BSD-3-Clause |
public static int nnum_designs(long struct) { return memGetInt(struct + FT_MM_Var.NUM_DESIGNS); } |
Create a {@link FT_MM_Var.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_MM_Var.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static FT_MM_Var.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #num_axis}.
public static int nnum_axis(long struct) { return memGetInt(struct + FT_MM_Var.NUM_AXIS); }
/** Unsafe version of {@link #num_designs}. | FT_MM_Var::nnum_designs | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_MM_Var.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_MM_Var.java | BSD-3-Clause |
public static int nnum_namedstyles(long struct) { return memGetInt(struct + FT_MM_Var.NUM_NAMEDSTYLES); } |
Create a {@link FT_MM_Var.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_MM_Var.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static FT_MM_Var.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #num_axis}.
public static int nnum_axis(long struct) { return memGetInt(struct + FT_MM_Var.NUM_AXIS); }
/** Unsafe version of {@link #num_designs}.
public static int nnum_designs(long struct) { return memGetInt(struct + FT_MM_Var.NUM_DESIGNS); }
/** Unsafe version of {@link #num_namedstyles}. | FT_MM_Var::nnum_namedstyles | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_MM_Var.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_MM_Var.java | BSD-3-Clause |
public static FT_Var_Axis.Buffer naxis(long struct) { return FT_Var_Axis.create(memGetAddress(struct + FT_MM_Var.AXIS), nnum_axis(struct)); } |
Create a {@link FT_MM_Var.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_MM_Var.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static FT_MM_Var.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #num_axis}.
public static int nnum_axis(long struct) { return memGetInt(struct + FT_MM_Var.NUM_AXIS); }
/** Unsafe version of {@link #num_designs}.
public static int nnum_designs(long struct) { return memGetInt(struct + FT_MM_Var.NUM_DESIGNS); }
/** Unsafe version of {@link #num_namedstyles}.
public static int nnum_namedstyles(long struct) { return memGetInt(struct + FT_MM_Var.NUM_NAMEDSTYLES); }
/** Unsafe version of {@link #axis}. | FT_MM_Var::naxis | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_MM_Var.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_MM_Var.java | BSD-3-Clause |
public static FT_Var_Named_Style.Buffer nnamedstyle(long struct) { return FT_Var_Named_Style.create(memGetAddress(struct + FT_MM_Var.NAMEDSTYLE), nnum_namedstyles(struct)); } |
Create a {@link FT_MM_Var.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_MM_Var.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static FT_MM_Var.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #num_axis}.
public static int nnum_axis(long struct) { return memGetInt(struct + FT_MM_Var.NUM_AXIS); }
/** Unsafe version of {@link #num_designs}.
public static int nnum_designs(long struct) { return memGetInt(struct + FT_MM_Var.NUM_DESIGNS); }
/** Unsafe version of {@link #num_namedstyles}.
public static int nnum_namedstyles(long struct) { return memGetInt(struct + FT_MM_Var.NUM_NAMEDSTYLES); }
/** Unsafe version of {@link #axis}.
public static FT_Var_Axis.Buffer naxis(long struct) { return FT_Var_Axis.create(memGetAddress(struct + FT_MM_Var.AXIS), nnum_axis(struct)); }
/** Unsafe version of {@link #namedstyle}. | FT_MM_Var::nnamedstyle | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_MM_Var.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_MM_Var.java | BSD-3-Clause |
public static FT_Outline_LineToFunc create(long functionPointer) {
FT_Outline_LineToFuncI instance = Callback.get(functionPointer);
return instance instanceof FT_Outline_LineToFunc
? (FT_Outline_LineToFunc)instance
: new Container(functionPointer, instance);
} |
Creates a {@code FT_Outline_LineToFunc} instance from the specified function pointer.
@return the new {@code FT_Outline_LineToFunc}
| FT_Outline_LineToFunc::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline_LineToFunc.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline_LineToFunc.java | BSD-3-Clause |
public static @Nullable FT_Outline_LineToFunc createSafe(long functionPointer) {
return functionPointer == NULL ? null : create(functionPointer);
} |
Creates a {@code FT_Outline_LineToFunc} instance from the specified function pointer.
@return the new {@code FT_Outline_LineToFunc}
public static FT_Outline_LineToFunc create(long functionPointer) {
FT_Outline_LineToFuncI instance = Callback.get(functionPointer);
return instance instanceof FT_Outline_LineToFunc
? (FT_Outline_LineToFunc)instance
: new Container(functionPointer, instance);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code functionPointer} is {@code NULL}. | FT_Outline_LineToFunc::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline_LineToFunc.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline_LineToFunc.java | BSD-3-Clause |
public static FT_Outline_LineToFunc create(FT_Outline_LineToFuncI instance) {
return instance instanceof FT_Outline_LineToFunc
? (FT_Outline_LineToFunc)instance
: new Container(instance.address(), instance);
} |
Creates a {@code FT_Outline_LineToFunc} instance from the specified function pointer.
@return the new {@code FT_Outline_LineToFunc}
public static FT_Outline_LineToFunc create(long functionPointer) {
FT_Outline_LineToFuncI instance = Callback.get(functionPointer);
return instance instanceof FT_Outline_LineToFunc
? (FT_Outline_LineToFunc)instance
: new Container(functionPointer, instance);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code functionPointer} is {@code NULL}.
public static @Nullable FT_Outline_LineToFunc createSafe(long functionPointer) {
return functionPointer == NULL ? null : create(functionPointer);
}
/** Creates a {@code FT_Outline_LineToFunc} instance that delegates to the specified {@code FT_Outline_LineToFuncI} instance. | FT_Outline_LineToFunc::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline_LineToFunc.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline_LineToFunc.java | BSD-3-Clause |
public FTC_Scaler(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
} |
Creates a {@code FTC_Scaler} 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>
| FTC_Scaler::FTC_Scaler | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_Scaler.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_Scaler.java | BSD-3-Clause |
public static FTC_Scaler create(long address) {
return new FTC_Scaler(address, null);
} |
Creates a {@code FTC_Scaler} 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 FTC_Scaler(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code face_id} field.
@NativeType("FTC_FaceID")
public long face_id() { return nface_id(address()); }
/** @return the value of the {@code width} field.
@NativeType("FT_UInt")
public int width() { return nwidth(address()); }
/** @return the value of the {@code height} field.
@NativeType("FT_UInt")
public int height() { return nheight(address()); }
/** @return the value of the {@code pixel} field.
@NativeType("FT_Int")
public int pixel() { return npixel(address()); }
/** @return the value of the {@code x_res} field.
@NativeType("FT_UInt")
public int x_res() { return nx_res(address()); }
/** @return the value of the {@code y_res} field.
@NativeType("FT_UInt")
public int y_res() { return ny_res(address()); }
// -----------------------------------
/** Returns a new {@code FTC_Scaler} instance for the specified memory address. | FTC_Scaler::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_Scaler.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_Scaler.java | BSD-3-Clause |
public static @Nullable FTC_Scaler createSafe(long address) {
return address == NULL ? null : new FTC_Scaler(address, null);
} |
Creates a {@code FTC_Scaler} 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 FTC_Scaler(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code face_id} field.
@NativeType("FTC_FaceID")
public long face_id() { return nface_id(address()); }
/** @return the value of the {@code width} field.
@NativeType("FT_UInt")
public int width() { return nwidth(address()); }
/** @return the value of the {@code height} field.
@NativeType("FT_UInt")
public int height() { return nheight(address()); }
/** @return the value of the {@code pixel} field.
@NativeType("FT_Int")
public int pixel() { return npixel(address()); }
/** @return the value of the {@code x_res} field.
@NativeType("FT_UInt")
public int x_res() { return nx_res(address()); }
/** @return the value of the {@code y_res} field.
@NativeType("FT_UInt")
public int y_res() { return ny_res(address()); }
// -----------------------------------
/** Returns a new {@code FTC_Scaler} instance for the specified memory address.
public static FTC_Scaler create(long address) {
return new FTC_Scaler(address, null);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}. | FTC_Scaler::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_Scaler.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_Scaler.java | BSD-3-Clause |
public static FTC_Scaler.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
} |
Create a {@link FTC_Scaler.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
| FTC_Scaler::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_Scaler.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_Scaler.java | BSD-3-Clause |
public static FTC_Scaler.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
} |
Create a {@link FTC_Scaler.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FTC_Scaler.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}. | FTC_Scaler::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_Scaler.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_Scaler.java | BSD-3-Clause |
public static long nface_id(long struct) { return memGetAddress(struct + FTC_Scaler.FACE_ID); } |
Create a {@link FTC_Scaler.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FTC_Scaler.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static FTC_Scaler.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #face_id}. | FTC_Scaler::nface_id | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_Scaler.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_Scaler.java | BSD-3-Clause |
public static int nwidth(long struct) { return memGetInt(struct + FTC_Scaler.WIDTH); } |
Create a {@link FTC_Scaler.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FTC_Scaler.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static FTC_Scaler.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #face_id}.
public static long nface_id(long struct) { return memGetAddress(struct + FTC_Scaler.FACE_ID); }
/** Unsafe version of {@link #width}. | FTC_Scaler::nwidth | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_Scaler.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_Scaler.java | BSD-3-Clause |
public static int nheight(long struct) { return memGetInt(struct + FTC_Scaler.HEIGHT); } |
Create a {@link FTC_Scaler.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FTC_Scaler.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static FTC_Scaler.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #face_id}.
public static long nface_id(long struct) { return memGetAddress(struct + FTC_Scaler.FACE_ID); }
/** Unsafe version of {@link #width}.
public static int nwidth(long struct) { return memGetInt(struct + FTC_Scaler.WIDTH); }
/** Unsafe version of {@link #height}. | FTC_Scaler::nheight | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_Scaler.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_Scaler.java | BSD-3-Clause |
public static int npixel(long struct) { return memGetInt(struct + FTC_Scaler.PIXEL); } |
Create a {@link FTC_Scaler.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FTC_Scaler.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static FTC_Scaler.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #face_id}.
public static long nface_id(long struct) { return memGetAddress(struct + FTC_Scaler.FACE_ID); }
/** Unsafe version of {@link #width}.
public static int nwidth(long struct) { return memGetInt(struct + FTC_Scaler.WIDTH); }
/** Unsafe version of {@link #height}.
public static int nheight(long struct) { return memGetInt(struct + FTC_Scaler.HEIGHT); }
/** Unsafe version of {@link #pixel}. | FTC_Scaler::npixel | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_Scaler.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_Scaler.java | BSD-3-Clause |
public static int nx_res(long struct) { return memGetInt(struct + FTC_Scaler.X_RES); } |
Create a {@link FTC_Scaler.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FTC_Scaler.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static FTC_Scaler.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #face_id}.
public static long nface_id(long struct) { return memGetAddress(struct + FTC_Scaler.FACE_ID); }
/** Unsafe version of {@link #width}.
public static int nwidth(long struct) { return memGetInt(struct + FTC_Scaler.WIDTH); }
/** Unsafe version of {@link #height}.
public static int nheight(long struct) { return memGetInt(struct + FTC_Scaler.HEIGHT); }
/** Unsafe version of {@link #pixel}.
public static int npixel(long struct) { return memGetInt(struct + FTC_Scaler.PIXEL); }
/** Unsafe version of {@link #x_res}. | FTC_Scaler::nx_res | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_Scaler.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_Scaler.java | BSD-3-Clause |
public static int ny_res(long struct) { return memGetInt(struct + FTC_Scaler.Y_RES); } |
Create a {@link FTC_Scaler.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FTC_Scaler.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static FTC_Scaler.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #face_id}.
public static long nface_id(long struct) { return memGetAddress(struct + FTC_Scaler.FACE_ID); }
/** Unsafe version of {@link #width}.
public static int nwidth(long struct) { return memGetInt(struct + FTC_Scaler.WIDTH); }
/** Unsafe version of {@link #height}.
public static int nheight(long struct) { return memGetInt(struct + FTC_Scaler.HEIGHT); }
/** Unsafe version of {@link #pixel}.
public static int npixel(long struct) { return memGetInt(struct + FTC_Scaler.PIXEL); }
/** Unsafe version of {@link #x_res}.
public static int nx_res(long struct) { return memGetInt(struct + FTC_Scaler.X_RES); }
/** Unsafe version of {@link #y_res}. | FTC_Scaler::ny_res | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_Scaler.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_Scaler.java | BSD-3-Clause |
public FT_Incremental_Metrics(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
} |
Creates a {@code FT_Incremental_Metrics} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be
visible to the struct instance and vice versa.
<p>The created instance holds a strong reference to the container object.</p>
| FT_Incremental_Metrics::FT_Incremental_Metrics | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Metrics.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Metrics.java | BSD-3-Clause |
public static FT_Incremental_Metrics create(long address) {
return new FT_Incremental_Metrics(address, null);
} |
Creates a {@code FT_Incremental_Metrics} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be
visible to the struct instance and vice versa.
<p>The created instance holds a strong reference to the container object.</p>
public FT_Incremental_Metrics(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code bearing_x} field.
@NativeType("FT_Long")
public long bearing_x() { return nbearing_x(address()); }
/** @return the value of the {@code bearing_y} field.
@NativeType("FT_Long")
public long bearing_y() { return nbearing_y(address()); }
/** @return the value of the {@code advance} field.
@NativeType("FT_Long")
public long advance() { return nadvance(address()); }
/** @return the value of the {@code advance_v} field.
@NativeType("FT_Long")
public long advance_v() { return nadvance_v(address()); }
// -----------------------------------
/** Returns a new {@code FT_Incremental_Metrics} instance for the specified memory address. | FT_Incremental_Metrics::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Metrics.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Metrics.java | BSD-3-Clause |
public static @Nullable FT_Incremental_Metrics createSafe(long address) {
return address == NULL ? null : new FT_Incremental_Metrics(address, null);
} |
Creates a {@code FT_Incremental_Metrics} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be
visible to the struct instance and vice versa.
<p>The created instance holds a strong reference to the container object.</p>
public FT_Incremental_Metrics(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code bearing_x} field.
@NativeType("FT_Long")
public long bearing_x() { return nbearing_x(address()); }
/** @return the value of the {@code bearing_y} field.
@NativeType("FT_Long")
public long bearing_y() { return nbearing_y(address()); }
/** @return the value of the {@code advance} field.
@NativeType("FT_Long")
public long advance() { return nadvance(address()); }
/** @return the value of the {@code advance_v} field.
@NativeType("FT_Long")
public long advance_v() { return nadvance_v(address()); }
// -----------------------------------
/** Returns a new {@code FT_Incremental_Metrics} instance for the specified memory address.
public static FT_Incremental_Metrics create(long address) {
return new FT_Incremental_Metrics(address, null);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}. | FT_Incremental_Metrics::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Metrics.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Metrics.java | BSD-3-Clause |
public static FT_Incremental_Metrics.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
} |
Create a {@link FT_Incremental_Metrics.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
| FT_Incremental_Metrics::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Metrics.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Metrics.java | BSD-3-Clause |
public static FT_Incremental_Metrics.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
} |
Create a {@link FT_Incremental_Metrics.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Incremental_Metrics.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. | FT_Incremental_Metrics::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Metrics.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Metrics.java | BSD-3-Clause |
public static long nbearing_x(long struct) { return memGetCLong(struct + FT_Incremental_Metrics.BEARING_X); } |
Create a {@link FT_Incremental_Metrics.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Incremental_Metrics.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static FT_Incremental_Metrics.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #bearing_x}. | FT_Incremental_Metrics::nbearing_x | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Metrics.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Metrics.java | BSD-3-Clause |
public static long nbearing_y(long struct) { return memGetCLong(struct + FT_Incremental_Metrics.BEARING_Y); } |
Create a {@link FT_Incremental_Metrics.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Incremental_Metrics.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static FT_Incremental_Metrics.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #bearing_x}.
public static long nbearing_x(long struct) { return memGetCLong(struct + FT_Incremental_Metrics.BEARING_X); }
/** Unsafe version of {@link #bearing_y}. | FT_Incremental_Metrics::nbearing_y | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Metrics.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Metrics.java | BSD-3-Clause |
public static long nadvance(long struct) { return memGetCLong(struct + FT_Incremental_Metrics.ADVANCE); } |
Create a {@link FT_Incremental_Metrics.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Incremental_Metrics.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static FT_Incremental_Metrics.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #bearing_x}.
public static long nbearing_x(long struct) { return memGetCLong(struct + FT_Incremental_Metrics.BEARING_X); }
/** Unsafe version of {@link #bearing_y}.
public static long nbearing_y(long struct) { return memGetCLong(struct + FT_Incremental_Metrics.BEARING_Y); }
/** Unsafe version of {@link #advance}. | FT_Incremental_Metrics::nadvance | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Metrics.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Metrics.java | BSD-3-Clause |
public static long nadvance_v(long struct) { return memGetCLong(struct + FT_Incremental_Metrics.ADVANCE_V); } |
Create a {@link FT_Incremental_Metrics.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Incremental_Metrics.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static FT_Incremental_Metrics.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #bearing_x}.
public static long nbearing_x(long struct) { return memGetCLong(struct + FT_Incremental_Metrics.BEARING_X); }
/** Unsafe version of {@link #bearing_y}.
public static long nbearing_y(long struct) { return memGetCLong(struct + FT_Incremental_Metrics.BEARING_Y); }
/** Unsafe version of {@link #advance}.
public static long nadvance(long struct) { return memGetCLong(struct + FT_Incremental_Metrics.ADVANCE); }
/** Unsafe version of {@link #advance_v}. | FT_Incremental_Metrics::nadvance_v | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Metrics.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Incremental_Metrics.java | BSD-3-Clause |
public FT_BitmapGlyph(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
} |
Creates a {@code FT_BitmapGlyph} 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_BitmapGlyph::FT_BitmapGlyph | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_BitmapGlyph.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_BitmapGlyph.java | BSD-3-Clause |
public static FT_BitmapGlyph create(long address) {
return new FT_BitmapGlyph(address, null);
} |
Creates a {@code FT_BitmapGlyph} 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_BitmapGlyph(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return a {@link FT_Glyph} view of the {@code root} field.
@NativeType("FT_GlyphRec")
public FT_Glyph root() { return nroot(address()); }
/** @return the value of the {@code left} field.
@NativeType("FT_Int")
public int left() { return nleft(address()); }
/** @return the value of the {@code top} field.
@NativeType("FT_Int")
public int top() { return ntop(address()); }
/** @return a {@link FT_Bitmap} view of the {@code bitmap} field.
public FT_Bitmap bitmap() { return nbitmap(address()); }
// -----------------------------------
/** Returns a new {@code FT_BitmapGlyph} instance for the specified memory address. | FT_BitmapGlyph::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_BitmapGlyph.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_BitmapGlyph.java | BSD-3-Clause |
public static @Nullable FT_BitmapGlyph createSafe(long address) {
return address == NULL ? null : new FT_BitmapGlyph(address, null);
} |
Creates a {@code FT_BitmapGlyph} 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_BitmapGlyph(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return a {@link FT_Glyph} view of the {@code root} field.
@NativeType("FT_GlyphRec")
public FT_Glyph root() { return nroot(address()); }
/** @return the value of the {@code left} field.
@NativeType("FT_Int")
public int left() { return nleft(address()); }
/** @return the value of the {@code top} field.
@NativeType("FT_Int")
public int top() { return ntop(address()); }
/** @return a {@link FT_Bitmap} view of the {@code bitmap} field.
public FT_Bitmap bitmap() { return nbitmap(address()); }
// -----------------------------------
/** Returns a new {@code FT_BitmapGlyph} instance for the specified memory address.
public static FT_BitmapGlyph create(long address) {
return new FT_BitmapGlyph(address, null);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}. | FT_BitmapGlyph::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_BitmapGlyph.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_BitmapGlyph.java | BSD-3-Clause |
public static FT_BitmapGlyph.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
} |
Create a {@link FT_BitmapGlyph.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
| FT_BitmapGlyph::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_BitmapGlyph.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_BitmapGlyph.java | BSD-3-Clause |
public static FT_BitmapGlyph.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
} |
Create a {@link FT_BitmapGlyph.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_BitmapGlyph.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_BitmapGlyph::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_BitmapGlyph.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_BitmapGlyph.java | BSD-3-Clause |
public static FT_Glyph nroot(long struct) { return FT_Glyph.create(struct + FT_BitmapGlyph.ROOT); } |
Create a {@link FT_BitmapGlyph.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_BitmapGlyph.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static FT_BitmapGlyph.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #root}. | FT_BitmapGlyph::nroot | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_BitmapGlyph.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_BitmapGlyph.java | BSD-3-Clause |
public static int nleft(long struct) { return memGetInt(struct + FT_BitmapGlyph.LEFT); } |
Create a {@link FT_BitmapGlyph.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_BitmapGlyph.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static FT_BitmapGlyph.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #root}.
public static FT_Glyph nroot(long struct) { return FT_Glyph.create(struct + FT_BitmapGlyph.ROOT); }
/** Unsafe version of {@link #left}. | FT_BitmapGlyph::nleft | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_BitmapGlyph.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_BitmapGlyph.java | BSD-3-Clause |
public static int ntop(long struct) { return memGetInt(struct + FT_BitmapGlyph.TOP); } |
Create a {@link FT_BitmapGlyph.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_BitmapGlyph.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static FT_BitmapGlyph.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #root}.
public static FT_Glyph nroot(long struct) { return FT_Glyph.create(struct + FT_BitmapGlyph.ROOT); }
/** Unsafe version of {@link #left}.
public static int nleft(long struct) { return memGetInt(struct + FT_BitmapGlyph.LEFT); }
/** Unsafe version of {@link #top}. | FT_BitmapGlyph::ntop | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_BitmapGlyph.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_BitmapGlyph.java | BSD-3-Clause |
public static FT_Bitmap nbitmap(long struct) { return FT_Bitmap.create(struct + FT_BitmapGlyph.BITMAP); } |
Create a {@link FT_BitmapGlyph.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_BitmapGlyph.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static FT_BitmapGlyph.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #root}.
public static FT_Glyph nroot(long struct) { return FT_Glyph.create(struct + FT_BitmapGlyph.ROOT); }
/** Unsafe version of {@link #left}.
public static int nleft(long struct) { return memGetInt(struct + FT_BitmapGlyph.LEFT); }
/** Unsafe version of {@link #top}.
public static int ntop(long struct) { return memGetInt(struct + FT_BitmapGlyph.TOP); }
/** Unsafe version of {@link #bitmap}. | FT_BitmapGlyph::nbitmap | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_BitmapGlyph.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_BitmapGlyph.java | BSD-3-Clause |
public FT_Bitmap bitmap() { return FT_BitmapGlyph.nbitmap(address()); } |
Creates a new {@code FT_BitmapGlyph.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_BitmapGlyph#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_BitmapGlyph getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return a {@link FT_Glyph} view of the {@code root} field.
@NativeType("FT_GlyphRec")
public FT_Glyph root() { return FT_BitmapGlyph.nroot(address()); }
/** @return the value of the {@code left} field.
@NativeType("FT_Int")
public int left() { return FT_BitmapGlyph.nleft(address()); }
/** @return the value of the {@code top} field.
@NativeType("FT_Int")
public int top() { return FT_BitmapGlyph.ntop(address()); }
/** @return a {@link FT_Bitmap} view of the {@code bitmap} field. | Buffer::bitmap | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_BitmapGlyph.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_BitmapGlyph.java | BSD-3-Clause |
public BDF_Property(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
} |
Creates a {@code BDF_Property} 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>
| BDF_Property::BDF_Property | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | BSD-3-Clause |
public static BDF_Property malloc() {
return new BDF_Property(nmemAllocChecked(SIZEOF), null);
} |
Creates a {@code BDF_Property} 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 BDF_Property(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code type} field.
@NativeType("BDF_PropertyType")
public int type() { return ntype(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code u.atom} field.
@NativeType("char const *")
public @Nullable ByteBuffer u_atom() { return nu_atom(address()); }
/** @return the null-terminated string pointed to by the {@code u.atom} field.
@NativeType("char const *")
public @Nullable String u_atomString() { return nu_atomString(address()); }
/** @return the value of the {@code u.integer} field.
@NativeType("FT_Int32")
public int u_integer() { return nu_integer(address()); }
/** @return the value of the {@code u.cardinal} field.
@NativeType("FT_UInt32")
public int u_cardinal() { return nu_cardinal(address()); }
// -----------------------------------
/** Returns a new {@code BDF_Property} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. | BDF_Property::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | BSD-3-Clause |
public static BDF_Property calloc() {
return new BDF_Property(nmemCallocChecked(1, SIZEOF), null);
} |
Creates a {@code BDF_Property} 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 BDF_Property(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code type} field.
@NativeType("BDF_PropertyType")
public int type() { return ntype(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code u.atom} field.
@NativeType("char const *")
public @Nullable ByteBuffer u_atom() { return nu_atom(address()); }
/** @return the null-terminated string pointed to by the {@code u.atom} field.
@NativeType("char const *")
public @Nullable String u_atomString() { return nu_atomString(address()); }
/** @return the value of the {@code u.integer} field.
@NativeType("FT_Int32")
public int u_integer() { return nu_integer(address()); }
/** @return the value of the {@code u.cardinal} field.
@NativeType("FT_UInt32")
public int u_cardinal() { return nu_cardinal(address()); }
// -----------------------------------
/** Returns a new {@code BDF_Property} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static BDF_Property malloc() {
return new BDF_Property(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code BDF_Property} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. | BDF_Property::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | BSD-3-Clause |
public static BDF_Property create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new BDF_Property(memAddress(container), container);
} |
Creates a {@code BDF_Property} 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 BDF_Property(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code type} field.
@NativeType("BDF_PropertyType")
public int type() { return ntype(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code u.atom} field.
@NativeType("char const *")
public @Nullable ByteBuffer u_atom() { return nu_atom(address()); }
/** @return the null-terminated string pointed to by the {@code u.atom} field.
@NativeType("char const *")
public @Nullable String u_atomString() { return nu_atomString(address()); }
/** @return the value of the {@code u.integer} field.
@NativeType("FT_Int32")
public int u_integer() { return nu_integer(address()); }
/** @return the value of the {@code u.cardinal} field.
@NativeType("FT_UInt32")
public int u_cardinal() { return nu_cardinal(address()); }
// -----------------------------------
/** Returns a new {@code BDF_Property} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static BDF_Property malloc() {
return new BDF_Property(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code BDF_Property} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static BDF_Property calloc() {
return new BDF_Property(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code BDF_Property} instance allocated with {@link BufferUtils}. | BDF_Property::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | BSD-3-Clause |
public static BDF_Property create(long address) {
return new BDF_Property(address, null);
} |
Creates a {@code BDF_Property} 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 BDF_Property(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code type} field.
@NativeType("BDF_PropertyType")
public int type() { return ntype(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code u.atom} field.
@NativeType("char const *")
public @Nullable ByteBuffer u_atom() { return nu_atom(address()); }
/** @return the null-terminated string pointed to by the {@code u.atom} field.
@NativeType("char const *")
public @Nullable String u_atomString() { return nu_atomString(address()); }
/** @return the value of the {@code u.integer} field.
@NativeType("FT_Int32")
public int u_integer() { return nu_integer(address()); }
/** @return the value of the {@code u.cardinal} field.
@NativeType("FT_UInt32")
public int u_cardinal() { return nu_cardinal(address()); }
// -----------------------------------
/** Returns a new {@code BDF_Property} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static BDF_Property malloc() {
return new BDF_Property(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code BDF_Property} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static BDF_Property calloc() {
return new BDF_Property(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code BDF_Property} instance allocated with {@link BufferUtils}.
public static BDF_Property create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new BDF_Property(memAddress(container), container);
}
/** Returns a new {@code BDF_Property} instance for the specified memory address. | BDF_Property::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | BSD-3-Clause |
public static @Nullable BDF_Property createSafe(long address) {
return address == NULL ? null : new BDF_Property(address, null);
} |
Creates a {@code BDF_Property} 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 BDF_Property(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code type} field.
@NativeType("BDF_PropertyType")
public int type() { return ntype(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code u.atom} field.
@NativeType("char const *")
public @Nullable ByteBuffer u_atom() { return nu_atom(address()); }
/** @return the null-terminated string pointed to by the {@code u.atom} field.
@NativeType("char const *")
public @Nullable String u_atomString() { return nu_atomString(address()); }
/** @return the value of the {@code u.integer} field.
@NativeType("FT_Int32")
public int u_integer() { return nu_integer(address()); }
/** @return the value of the {@code u.cardinal} field.
@NativeType("FT_UInt32")
public int u_cardinal() { return nu_cardinal(address()); }
// -----------------------------------
/** Returns a new {@code BDF_Property} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static BDF_Property malloc() {
return new BDF_Property(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code BDF_Property} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static BDF_Property calloc() {
return new BDF_Property(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code BDF_Property} instance allocated with {@link BufferUtils}.
public static BDF_Property create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new BDF_Property(memAddress(container), container);
}
/** Returns a new {@code BDF_Property} instance for the specified memory address.
public static BDF_Property create(long address) {
return new BDF_Property(address, null);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}. | BDF_Property::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | BSD-3-Clause |
public static BDF_Property.Buffer malloc(int capacity) {
return new Buffer(nmemAllocChecked(__checkMalloc(capacity, SIZEOF)), capacity);
} |
Returns a new {@link BDF_Property.Buffer} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
@param capacity the buffer capacity
| BDF_Property::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | BSD-3-Clause |
public static BDF_Property.Buffer calloc(int capacity) {
return new Buffer(nmemCallocChecked(capacity, SIZEOF), capacity);
} |
Returns a new {@link BDF_Property.Buffer} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
@param capacity the buffer capacity
| BDF_Property::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | BSD-3-Clause |
public static BDF_Property.Buffer create(int capacity) {
ByteBuffer container = __create(capacity, SIZEOF);
return new Buffer(memAddress(container), container, -1, 0, capacity, capacity);
} |
Returns a new {@link BDF_Property.Buffer} instance allocated with {@link BufferUtils}.
@param capacity the buffer capacity
| BDF_Property::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | BSD-3-Clause |
public static BDF_Property.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
} |
Create a {@link BDF_Property.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
| BDF_Property::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | BSD-3-Clause |
public static BDF_Property.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
} |
Create a {@link BDF_Property.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static BDF_Property.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}. | BDF_Property::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | BSD-3-Clause |
public static BDF_Property malloc(MemoryStack stack) {
return new BDF_Property(stack.nmalloc(ALIGNOF, SIZEOF), null);
} |
Returns a new {@code BDF_Property} instance allocated on the specified {@link MemoryStack}.
@param stack the stack from which to allocate
| BDF_Property::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | BSD-3-Clause |
public static BDF_Property calloc(MemoryStack stack) {
return new BDF_Property(stack.ncalloc(ALIGNOF, 1, SIZEOF), null);
} |
Returns a new {@code BDF_Property} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero.
@param stack the stack from which to allocate
| BDF_Property::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | BSD-3-Clause |
public static BDF_Property.Buffer malloc(int capacity, MemoryStack stack) {
return new Buffer(stack.nmalloc(ALIGNOF, capacity * SIZEOF), capacity);
} |
Returns a new {@link BDF_Property.Buffer} instance allocated on the specified {@link MemoryStack}.
@param stack the stack from which to allocate
@param capacity the buffer capacity
| BDF_Property::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | BSD-3-Clause |
public static BDF_Property.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
} |
Returns a new {@link BDF_Property.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
| BDF_Property::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | BSD-3-Clause |
public static int ntype(long struct) { return memGetInt(struct + BDF_Property.TYPE); } |
Returns a new {@link BDF_Property.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 BDF_Property.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #type}. | BDF_Property::ntype | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | BSD-3-Clause |
public static @Nullable ByteBuffer nu_atom(long struct) { return memByteBufferNT1Safe(memGetAddress(struct + BDF_Property.U_ATOM)); } |
Returns a new {@link BDF_Property.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 BDF_Property.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #type}.
public static int ntype(long struct) { return memGetInt(struct + BDF_Property.TYPE); }
/** Unsafe version of {@link #u_atom}. | BDF_Property::nu_atom | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | BSD-3-Clause |
public static @Nullable String nu_atomString(long struct) { return memASCIISafe(memGetAddress(struct + BDF_Property.U_ATOM)); } |
Returns a new {@link BDF_Property.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 BDF_Property.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #type}.
public static int ntype(long struct) { return memGetInt(struct + BDF_Property.TYPE); }
/** Unsafe version of {@link #u_atom}.
public static @Nullable ByteBuffer nu_atom(long struct) { return memByteBufferNT1Safe(memGetAddress(struct + BDF_Property.U_ATOM)); }
/** Unsafe version of {@link #u_atomString}. | BDF_Property::nu_atomString | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | BSD-3-Clause |
public static int nu_integer(long struct) { return memGetInt(struct + BDF_Property.U_INTEGER); } |
Returns a new {@link BDF_Property.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 BDF_Property.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #type}.
public static int ntype(long struct) { return memGetInt(struct + BDF_Property.TYPE); }
/** Unsafe version of {@link #u_atom}.
public static @Nullable ByteBuffer nu_atom(long struct) { return memByteBufferNT1Safe(memGetAddress(struct + BDF_Property.U_ATOM)); }
/** Unsafe version of {@link #u_atomString}.
public static @Nullable String nu_atomString(long struct) { return memASCIISafe(memGetAddress(struct + BDF_Property.U_ATOM)); }
/** Unsafe version of {@link #u_integer}. | BDF_Property::nu_integer | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | BSD-3-Clause |
public static int nu_cardinal(long struct) { return memGetInt(struct + BDF_Property.U_CARDINAL); } |
Returns a new {@link BDF_Property.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 BDF_Property.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #type}.
public static int ntype(long struct) { return memGetInt(struct + BDF_Property.TYPE); }
/** Unsafe version of {@link #u_atom}.
public static @Nullable ByteBuffer nu_atom(long struct) { return memByteBufferNT1Safe(memGetAddress(struct + BDF_Property.U_ATOM)); }
/** Unsafe version of {@link #u_atomString}.
public static @Nullable String nu_atomString(long struct) { return memASCIISafe(memGetAddress(struct + BDF_Property.U_ATOM)); }
/** Unsafe version of {@link #u_integer}.
public static int nu_integer(long struct) { return memGetInt(struct + BDF_Property.U_INTEGER); }
/** Unsafe version of {@link #u_cardinal}. | BDF_Property::nu_cardinal | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/BDF_Property.java | BSD-3-Clause |
public SVG_RendererHooks(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
} |
Creates a {@code SVG_RendererHooks} 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>
| SVG_RendererHooks::SVG_RendererHooks | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/SVG_RendererHooks.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/SVG_RendererHooks.java | BSD-3-Clause |
public SVG_Lib_Init_Func init_svg() { return ninit_svg(address()); } |
Creates a {@code SVG_RendererHooks} 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 SVG_RendererHooks(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code init_svg} field. | SVG_RendererHooks::init_svg | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/SVG_RendererHooks.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/SVG_RendererHooks.java | BSD-3-Clause |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.