Package org.lwjgl.stb
Class STBIZlibCompress
- java.lang.Object
-
- org.lwjgl.system.Callback
-
- org.lwjgl.stb.STBIZlibCompress
-
- All Implemented Interfaces:
java.lang.AutoCloseable,STBIZlibCompressI,org.lwjgl.system.CallbackI,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public abstract class STBIZlibCompress extends org.lwjgl.system.Callback implements STBIZlibCompressI
Instances of this class may be set toSTBImageWrite.stbi_zlib_compress.Type
unsigned char * (*STBIZlibCompressI.invoke(long, int, long, int)) ( unsigned char *data, int data_len, int *out_len, int quality )
-
-
Field Summary
-
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.STBIZlibCompressI
CIF
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static STBIZlibCompresscreate(long functionPointer)Creates aSTBIZlibCompressinstance from the specified function pointer.static STBIZlibCompresscreate(STBIZlibCompressI instance)Creates aSTBIZlibCompressinstance that delegates to the specifiedSTBIZlibCompressIinstance.static STBIZlibCompresscreateSafe(long functionPointer)-
Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toString
-
Methods inherited from interface org.lwjgl.stb.STBIZlibCompressI
callback, getCallInterface, invoke
-
-
-
-
Method Detail
-
create
public static STBIZlibCompress create(long functionPointer)
Creates aSTBIZlibCompressinstance from the specified function pointer.- Returns:
- the new
STBIZlibCompress
-
createSafe
@Nullable public static STBIZlibCompress createSafe(long functionPointer)
-
create
public static STBIZlibCompress create(STBIZlibCompressI instance)
Creates aSTBIZlibCompressinstance that delegates to the specifiedSTBIZlibCompressIinstance.
-
-