Class STBI
java.lang.Object
club.doki7.stb.image.STBI
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegment -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconvertIphonePngToRgb(int flagTrueIfShouldConvert) voidconvertIphonePngToRgbThread(int flagTrueIfShouldConvert) intconvertWcharToUtf8(@Nullable BytePtr buffer, long bufferlen, @Nullable WCharPtr input) @Nullable BytePtrvoidhdrToLdrGamma(float gamma) voidhdrToLdrScale(float scale) voidimageFree(@NotNull MemorySegment retvalFromStbiLoad) intintinfoFromCallbacks(@Nullable ISTBI_IoCallbacks clbk, @NotNull MemorySegment user, @Nullable IntPtr x, @Nullable IntPtr y, @Nullable IntPtr comp) intinfoFromMemory(@Nullable BytePtr buffer, int len, @Nullable IntPtr x, @Nullable IntPtr y, @Nullable IntPtr comp) intintis16BitFromCallbacks(@Nullable ISTBI_IoCallbacks clbk, @NotNull MemorySegment user) intis16BitFromMemory(@Nullable BytePtr buffer, int len) intintisHdrFromCallbacks(@Nullable ISTBI_IoCallbacks clbk, @NotNull MemorySegment user) intisHdrFromMemory(@Nullable BytePtr buffer, int len) voidldrToHdrGamma(float gamma) voidldrToHdrScale(float scale) @Nullable BytePtrload(@Nullable BytePtr filename, @Nullable IntPtr x, @Nullable IntPtr y, @Nullable IntPtr channelsInFile, int desiredChannels) @Nullable ShortPtrload16(@Nullable BytePtr filename, @Nullable IntPtr x, @Nullable IntPtr y, @Nullable IntPtr channelsInFile, int desiredChannels) @Nullable ShortPtrload16FromCallbacks(@Nullable ISTBI_IoCallbacks clbk, @NotNull MemorySegment user, @Nullable IntPtr x, @Nullable IntPtr y, @Nullable IntPtr channelsInFile, int desiredChannels) @Nullable ShortPtrload16FromMemory(@Nullable BytePtr buffer, int len, @Nullable IntPtr x, @Nullable IntPtr y, @Nullable IntPtr channelsInFile, int desiredChannels) @Nullable FloatPtrloadf(@Nullable BytePtr filename, @Nullable IntPtr x, @Nullable IntPtr y, @Nullable IntPtr channelsInFile, int desiredChannels) @Nullable FloatPtrloadfFromCallbacks(@Nullable ISTBI_IoCallbacks clbk, @NotNull MemorySegment user, @Nullable IntPtr x, @Nullable IntPtr y, @Nullable IntPtr channelsInFile, int desiredChannels) @Nullable FloatPtrloadfFromMemory(@Nullable BytePtr buffer, int len, @Nullable IntPtr x, @Nullable IntPtr y, @Nullable IntPtr channelsInFile, int desiredChannels) @Nullable BytePtrloadFromCallbacks(@Nullable ISTBI_IoCallbacks clbk, @NotNull MemorySegment user, @Nullable IntPtr x, @Nullable IntPtr y, @Nullable IntPtr channelsInFile, int desiredChannels) @Nullable BytePtrloadFromMemory(@Nullable BytePtr buffer, int len, @Nullable IntPtr x, @Nullable IntPtr y, @Nullable IntPtr channelsInFile, int desiredChannels) @Nullable BytePtrloadGifFromMemory(@Nullable BytePtr buffer, int len, @Nullable PointerPtr delays, @Nullable IntPtr x, @Nullable IntPtr y, @Nullable IntPtr z, @Nullable IntPtr comp, int reqComp) voidsetFlipVerticallyOnLoad(int flagTrueIfShouldFlip) voidsetFlipVerticallyOnLoadThread(int flagTrueIfShouldFlip) voidsetUnpremultiplyOnLoad(int flagTrueIfShouldUnpremultiply) voidsetUnpremultiplyOnLoadThread(int flagTrueIfShouldUnpremultiply) intzlibDecodeBuffer(@Nullable BytePtr obuffer, int olen, @Nullable BytePtr ibuffer, int ilen) @Nullable BytePtrzlibDecodeMalloc(@Nullable BytePtr buffer, int len, @Nullable IntPtr outlen) @Nullable BytePtrzlibDecodeMallocGuesssize(@Nullable BytePtr buffer, int len, int initialSize, @Nullable IntPtr outlen) @Nullable BytePtrzlibDecodeMallocGuesssizeHeaderflag(@Nullable BytePtr buffer, int len, int initialSize, @Nullable IntPtr outlen, int parseHeader) intzlibDecodeNoheaderBuffer(@Nullable BytePtr obuffer, int olen, @Nullable BytePtr ibuffer, int ilen) @Nullable BytePtrzlibDecodeNoheaderMalloc(@Nullable BytePtr buffer, int len, @Nullable IntPtr outlen)
-
Field Details
-
SEGMENT$stbi_convert_iphone_png_to_rgb
-
SEGMENT$stbi_convert_iphone_png_to_rgb_thread
-
SEGMENT$stbi_convert_wchar_to_utf8
-
SEGMENT$stbi_failure_reason
-
SEGMENT$stbi_hdr_to_ldr_gamma
-
SEGMENT$stbi_hdr_to_ldr_scale
-
SEGMENT$stbi_image_free
-
SEGMENT$stbi_info
-
SEGMENT$stbi_info_from_callbacks
-
SEGMENT$stbi_info_from_memory
-
SEGMENT$stbi_is_16_bit
-
SEGMENT$stbi_is_16_bit_from_callbacks
-
SEGMENT$stbi_is_16_bit_from_memory
-
SEGMENT$stbi_is_hdr
-
SEGMENT$stbi_is_hdr_from_callbacks
-
SEGMENT$stbi_is_hdr_from_memory
-
SEGMENT$stbi_ldr_to_hdr_gamma
-
SEGMENT$stbi_ldr_to_hdr_scale
-
SEGMENT$stbi_load
-
SEGMENT$stbi_load_16
-
SEGMENT$stbi_load_16_from_callbacks
-
SEGMENT$stbi_load_16_from_memory
-
SEGMENT$stbi_load_from_callbacks
-
SEGMENT$stbi_load_from_memory
-
SEGMENT$stbi_load_gif_from_memory
-
SEGMENT$stbi_loadf
-
SEGMENT$stbi_loadf_from_callbacks
-
SEGMENT$stbi_loadf_from_memory
-
SEGMENT$stbi_set_flip_vertically_on_load
-
SEGMENT$stbi_set_flip_vertically_on_load_thread
-
SEGMENT$stbi_set_unpremultiply_on_load
-
SEGMENT$stbi_set_unpremultiply_on_load_thread
-
SEGMENT$stbi_zlib_decode_buffer
-
SEGMENT$stbi_zlib_decode_malloc
-
SEGMENT$stbi_zlib_decode_malloc_guesssize
-
SEGMENT$stbi_zlib_decode_malloc_guesssize_headerflag
-
SEGMENT$stbi_zlib_decode_noheader_buffer
-
SEGMENT$stbi_zlib_decode_noheader_malloc
-
HANDLE$stbi_convert_iphone_png_to_rgb
-
HANDLE$stbi_convert_iphone_png_to_rgb_thread
-
HANDLE$stbi_convert_wchar_to_utf8
-
HANDLE$stbi_failure_reason
-
HANDLE$stbi_hdr_to_ldr_gamma
-
HANDLE$stbi_hdr_to_ldr_scale
-
HANDLE$stbi_image_free
-
HANDLE$stbi_info
-
HANDLE$stbi_info_from_callbacks
-
HANDLE$stbi_info_from_memory
-
HANDLE$stbi_is_16_bit
-
HANDLE$stbi_is_16_bit_from_callbacks
-
HANDLE$stbi_is_16_bit_from_memory
-
HANDLE$stbi_is_hdr
-
HANDLE$stbi_is_hdr_from_callbacks
-
HANDLE$stbi_is_hdr_from_memory
-
HANDLE$stbi_ldr_to_hdr_gamma
-
HANDLE$stbi_ldr_to_hdr_scale
-
HANDLE$stbi_load
-
HANDLE$stbi_load_16
-
HANDLE$stbi_load_16_from_callbacks
-
HANDLE$stbi_load_16_from_memory
-
HANDLE$stbi_load_from_callbacks
-
HANDLE$stbi_load_from_memory
-
HANDLE$stbi_load_gif_from_memory
-
HANDLE$stbi_loadf
-
HANDLE$stbi_loadf_from_callbacks
-
HANDLE$stbi_loadf_from_memory
-
HANDLE$stbi_set_flip_vertically_on_load
-
HANDLE$stbi_set_flip_vertically_on_load_thread
-
HANDLE$stbi_set_unpremultiply_on_load
-
HANDLE$stbi_set_unpremultiply_on_load_thread
-
HANDLE$stbi_zlib_decode_buffer
-
HANDLE$stbi_zlib_decode_malloc
-
HANDLE$stbi_zlib_decode_malloc_guesssize
-
HANDLE$stbi_zlib_decode_malloc_guesssize_headerflag
-
HANDLE$stbi_zlib_decode_noheader_buffer
-
HANDLE$stbi_zlib_decode_noheader_malloc
-
-
Constructor Details
-
STBI
-
-
Method Details
-
convertIphonePngToRgb
public void convertIphonePngToRgb(int flagTrueIfShouldConvert) -
convertIphonePngToRgbThread
public void convertIphonePngToRgbThread(int flagTrueIfShouldConvert) -
convertWcharToUtf8
-
failureReason
-
hdrToLdrGamma
public void hdrToLdrGamma(float gamma) -
hdrToLdrScale
public void hdrToLdrScale(float scale) -
imageFree
-
info
-
infoFromCallbacks
public int infoFromCallbacks(@Nullable @Pointer @Nullable ISTBI_IoCallbacks clbk, @Pointer(comment="void*") @NotNull @NotNull MemorySegment user, @Nullable @Nullable IntPtr x, @Nullable @Nullable IntPtr y, @Nullable @Nullable IntPtr comp) -
infoFromMemory
-
is16Bit
-
is16BitFromCallbacks
public int is16BitFromCallbacks(@Nullable @Pointer @Nullable ISTBI_IoCallbacks clbk, @Pointer(comment="void*") @NotNull @NotNull MemorySegment user) -
is16BitFromMemory
-
isHdr
-
isHdrFromCallbacks
public int isHdrFromCallbacks(@Nullable @Pointer @Nullable ISTBI_IoCallbacks clbk, @Pointer(comment="void*") @NotNull @NotNull MemorySegment user) -
isHdrFromMemory
-
ldrToHdrGamma
public void ldrToHdrGamma(float gamma) -
ldrToHdrScale
public void ldrToHdrScale(float scale) -
load
-
load16
-
load16FromCallbacks
@Nullable @Pointer(comment="stbi_us") public @Nullable ShortPtr load16FromCallbacks(@Nullable @Pointer @Nullable ISTBI_IoCallbacks clbk, @Pointer(comment="void*") @NotNull @NotNull MemorySegment user, @Nullable @Nullable IntPtr x, @Nullable @Nullable IntPtr y, @Nullable @Nullable IntPtr channelsInFile, int desiredChannels) -
load16FromMemory
-
loadFromCallbacks
@Nullable @Pointer(comment="stbi_uc") public @Nullable BytePtr loadFromCallbacks(@Nullable @Pointer @Nullable ISTBI_IoCallbacks clbk, @Pointer(comment="void*") @NotNull @NotNull MemorySegment user, @Nullable @Nullable IntPtr x, @Nullable @Nullable IntPtr y, @Nullable @Nullable IntPtr channelsInFile, int desiredChannels) -
loadFromMemory
-
loadGifFromMemory
@Nullable @Pointer(comment="stbi_uc") public @Nullable BytePtr loadGifFromMemory(@Nullable @Pointer(comment="stbi_uc") @Nullable BytePtr buffer, int len, @Nullable @Nullable PointerPtr delays, @Nullable @Nullable IntPtr x, @Nullable @Nullable IntPtr y, @Nullable @Nullable IntPtr z, @Nullable @Nullable IntPtr comp, int reqComp) -
loadf
-
loadfFromCallbacks
@Nullable public @Nullable FloatPtr loadfFromCallbacks(@Nullable @Pointer @Nullable ISTBI_IoCallbacks clbk, @Pointer(comment="void*") @NotNull @NotNull MemorySegment user, @Nullable @Nullable IntPtr x, @Nullable @Nullable IntPtr y, @Nullable @Nullable IntPtr channelsInFile, int desiredChannels) -
loadfFromMemory
-
setFlipVerticallyOnLoad
public void setFlipVerticallyOnLoad(int flagTrueIfShouldFlip) -
setFlipVerticallyOnLoadThread
public void setFlipVerticallyOnLoadThread(int flagTrueIfShouldFlip) -
setUnpremultiplyOnLoad
public void setUnpremultiplyOnLoad(int flagTrueIfShouldUnpremultiply) -
setUnpremultiplyOnLoadThread
public void setUnpremultiplyOnLoadThread(int flagTrueIfShouldUnpremultiply) -
zlibDecodeBuffer
-
zlibDecodeMalloc
-
zlibDecodeMallocGuesssize
-
zlibDecodeMallocGuesssizeHeaderflag
-
zlibDecodeNoheaderBuffer
-
zlibDecodeNoheaderMalloc
-