public abstract class STBIWriteCallback extends org.lwjgl.system.Callback implements STBIWriteCallbackI
STBImageWrite write_type_to_func functions.
void (*) (
void *context,
void *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 STBIWriteCallback |
create(long functionPointer)
Creates a
STBIWriteCallback instance from the specified function pointer. |
static STBIWriteCallback |
create(STBIWriteCallbackI instance)
Creates a
STBIWriteCallback instance that delegates to the specified STBIWriteCallbackI instance. |
static STBIWriteCallback |
createSafe(long functionPointer)
|
static java.nio.ByteBuffer |
getData(long data,
int size)
Converts the specified
STBIWriteCallback arguments to a ByteBuffer. |
__stdcall, address, equals, free, free, get, getSafe, hashCode, toStringcallback, getSignature, invokepublic static STBIWriteCallback create(long functionPointer)
STBIWriteCallback instance from the specified function pointer.STBIWriteCallback@Nullable public static STBIWriteCallback createSafe(long functionPointer)
public static STBIWriteCallback create(STBIWriteCallbackI instance)
STBIWriteCallback instance that delegates to the specified STBIWriteCallbackI instance.public static java.nio.ByteBuffer getData(long data,
int size)
STBIWriteCallback arguments to a ByteBuffer.
This method may only be used inside a STBIWriteCallback invocation.
data - the STBIWriteCallback data argumentsize - the STBIWriteCallback size argumentCopyright LWJGL. All Rights Reserved. License terms.