public abstract class STBIReadCallback extends org.lwjgl.system.Callback implements STBIReadCallbackI
read field of the STBIIOCallbacks struct.
int (*) (
void *user,
char *data,
int size
)org.lwjgl.system.CallbackI.B, org.lwjgl.system.CallbackI.D, org.lwjgl.system.CallbackI.F, org.lwjgl.system.CallbackI.I, org.lwjgl.system.CallbackI.J, org.lwjgl.system.CallbackI.N, org.lwjgl.system.CallbackI.P, org.lwjgl.system.CallbackI.S, org.lwjgl.system.CallbackI.V, org.lwjgl.system.CallbackI.ZSIGNATURE| Modifier and Type | Method and Description |
|---|---|
static STBIReadCallback |
create(long functionPointer)
Creates a
STBIReadCallback instance from the specified function pointer. |
static STBIReadCallback |
create(STBIReadCallbackI instance)
Creates a
STBIReadCallback instance that delegates to the specified STBIReadCallbackI instance. |
static STBIReadCallback |
createSafe(long functionPointer)
|
static java.nio.ByteBuffer |
getData(long data,
int size)
Converts the specified
STBIReadCallback arguments to a ByteBuffer. |
__stdcall, address, equals, free, free, get, getSafe, hashCode, toStringcallback, getSignature, invokepublic static STBIReadCallback create(long functionPointer)
STBIReadCallback instance from the specified function pointer.STBIReadCallback@Nullable public static STBIReadCallback createSafe(long functionPointer)
public static STBIReadCallback create(STBIReadCallbackI instance)
STBIReadCallback instance that delegates to the specified STBIReadCallbackI instance.public static java.nio.ByteBuffer getData(long data,
int size)
STBIReadCallback arguments to a ByteBuffer.
This method may only be used inside a STBIReadCallback invocation.
data - the STBIReadCallback data argumentsize - the STBIReadCallback size argumentCopyright LWJGL. All Rights Reserved. License terms.