Package net.minecraft.client.texture
Class NativeImage.WriteCallback
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.stb.STBIWriteCallback
net.minecraft.client.texture.NativeImage.WriteCallback
- All Implemented Interfaces:
AutoCloseable
,STBIWriteCallbackI
,CallbackI
,CallbackI.V
,NativeResource
,Pointer
- Enclosing class:
- NativeImage
@Environment(CLIENT) static class NativeImage.WriteCallback extends STBIWriteCallback
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.CallbackI
CallbackI.B, CallbackI.D, CallbackI.F, CallbackI.I, CallbackI.J, CallbackI.P, CallbackI.S, CallbackI.V, CallbackI.Z
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields Modifier and Type Field Description private WritableByteChannel
channel
private IOException
exception
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
Fields inherited from interface org.lwjgl.stb.STBIWriteCallbackI
SIGNATURE
-
Constructor Summary
Constructors Modifier Constructor Description private
WriteCallback(WritableByteChannel channel)
-
Method Summary
Modifier and Type Method Description void
invoke(long context, long data, int size)
void
throwStoredException()
Methods inherited from class org.lwjgl.stb.STBIWriteCallback
create, create, createSafe, getData
Methods inherited from class org.lwjgl.system.Callback
__stdcall, address, equals, free, free, get, getSafe, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.lwjgl.system.NativeResource
close
Methods inherited from interface org.lwjgl.stb.STBIWriteCallbackI
callback, getSignature
-
Field Details
-
channel
-
exception
-
-
Constructor Details
-
WriteCallback
-
-
Method Details
-
invoke
public void invoke(long context, long data, int size) -
throwStoredException
- Throws:
IOException
-