@Environment(value=CLIENT)
static class NativeImage.WriteCallback
extends org.lwjgl.stb.STBIWriteCallback
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.P, org.lwjgl.system.CallbackI.S, org.lwjgl.system.CallbackI.V, org.lwjgl.system.CallbackI.Z
Modifier and Type | Field and Description |
---|---|
private WritableByteChannel |
channel |
private IOException |
exception |
Modifier | Constructor and Description |
---|---|
private |
WriteCallback(WritableByteChannel channel) |
Modifier and Type | Method and Description |
---|---|
void |
invoke(long context,
long data,
int size) |
void |
throwStoredException() |
__stdcall, address, equals, free, free, get, getSafe, hashCode, toString
private final WritableByteChannel channel
@Nullable private IOException exception
private WriteCallback(WritableByteChannel channel)
public void invoke(long context, long data, int size)
public void throwStoredException() throws IOException
IOException