Class STBI
java.lang.Object
club.doki7.stb.image.STBI
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
convertIphonePngToRgb
(int flagTrueIfShouldConvert) void
convertIphonePngToRgbThread
(int flagTrueIfShouldConvert) int
convertWcharToUtf8
(@Nullable BytePtr buffer, long bufferlen, @Nullable WCharPtr input) @Nullable BytePtr
void
hdrToLdrGamma
(float gamma) void
hdrToLdrScale
(float scale) void
imageFree
(@NotNull MemorySegment retvalFromStbiLoad) int
int
infoFromCallbacks
(@Nullable ISTBI_IoCallbacks clbk, @NotNull MemorySegment user, @Nullable IntPtr x, @Nullable IntPtr y, @Nullable IntPtr comp) int
infoFromMemory
(@Nullable BytePtr buffer, int len, @Nullable IntPtr x, @Nullable IntPtr y, @Nullable IntPtr comp) int
int
is16BitFromCallbacks
(@Nullable ISTBI_IoCallbacks clbk, @NotNull MemorySegment user) int
is16BitFromMemory
(@Nullable BytePtr buffer, int len) int
int
isHdrFromCallbacks
(@Nullable ISTBI_IoCallbacks clbk, @NotNull MemorySegment user) int
isHdrFromMemory
(@Nullable BytePtr buffer, int len) void
ldrToHdrGamma
(float gamma) void
ldrToHdrScale
(float scale) @Nullable BytePtr
load
(@Nullable BytePtr filename, @Nullable IntPtr x, @Nullable IntPtr y, @Nullable IntPtr channelsInFile, int desiredChannels) @Nullable ShortPtr
load16
(@Nullable BytePtr filename, @Nullable IntPtr x, @Nullable IntPtr y, @Nullable IntPtr channelsInFile, int desiredChannels) @Nullable ShortPtr
load16FromCallbacks
(@Nullable ISTBI_IoCallbacks clbk, @NotNull MemorySegment user, @Nullable IntPtr x, @Nullable IntPtr y, @Nullable IntPtr channelsInFile, int desiredChannels) @Nullable ShortPtr
load16FromMemory
(@Nullable BytePtr buffer, int len, @Nullable IntPtr x, @Nullable IntPtr y, @Nullable IntPtr channelsInFile, int desiredChannels) @Nullable FloatPtr
loadf
(@Nullable BytePtr filename, @Nullable IntPtr x, @Nullable IntPtr y, @Nullable IntPtr channelsInFile, int desiredChannels) @Nullable FloatPtr
loadfFromCallbacks
(@Nullable ISTBI_IoCallbacks clbk, @NotNull MemorySegment user, @Nullable IntPtr x, @Nullable IntPtr y, @Nullable IntPtr channelsInFile, int desiredChannels) @Nullable FloatPtr
loadfFromMemory
(@Nullable BytePtr buffer, int len, @Nullable IntPtr x, @Nullable IntPtr y, @Nullable IntPtr channelsInFile, int desiredChannels) @Nullable BytePtr
loadFromCallbacks
(@Nullable ISTBI_IoCallbacks clbk, @NotNull MemorySegment user, @Nullable IntPtr x, @Nullable IntPtr y, @Nullable IntPtr channelsInFile, int desiredChannels) @Nullable BytePtr
loadFromMemory
(@Nullable BytePtr buffer, int len, @Nullable IntPtr x, @Nullable IntPtr y, @Nullable IntPtr channelsInFile, int desiredChannels) @Nullable BytePtr
loadGifFromMemory
(@Nullable BytePtr buffer, int len, @Nullable PointerPtr delays, @Nullable IntPtr x, @Nullable IntPtr y, @Nullable IntPtr z, @Nullable IntPtr comp, int reqComp) void
setFlipVerticallyOnLoad
(int flagTrueIfShouldFlip) void
setFlipVerticallyOnLoadThread
(int flagTrueIfShouldFlip) void
setUnpremultiplyOnLoad
(int flagTrueIfShouldUnpremultiply) void
setUnpremultiplyOnLoadThread
(int flagTrueIfShouldUnpremultiply) int
zlibDecodeBuffer
(@Nullable BytePtr obuffer, int olen, @Nullable BytePtr ibuffer, int ilen) @Nullable BytePtr
zlibDecodeMalloc
(@Nullable BytePtr buffer, int len, @Nullable IntPtr outlen) @Nullable BytePtr
zlibDecodeMallocGuesssize
(@Nullable BytePtr buffer, int len, int initialSize, @Nullable IntPtr outlen) @Nullable BytePtr
zlibDecodeMallocGuesssizeHeaderflag
(@Nullable BytePtr buffer, int len, int initialSize, @Nullable IntPtr outlen, int parseHeader) int
zlibDecodeNoheaderBuffer
(@Nullable BytePtr obuffer, int olen, @Nullable BytePtr ibuffer, int ilen) @Nullable BytePtr
zlibDecodeNoheaderMalloc
(@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
-