Class STBIW
java.lang.Object
club.doki7.stb.imagewrite.STBIW
-
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 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
flipVerticallyOnWrite
(int flipBoolean) int
stbiwConvertWcharToUtf8
(@Nullable BytePtr buffer, long bufferlen, @Nullable WCharPtr input) int
writeBmp
(@Nullable BytePtr filename, int w, int h, int comp, @NotNull MemorySegment data) int
writeBmpToFunc
(@NotNull MemorySegment func, @NotNull MemorySegment context, int w, int h, int comp, @NotNull MemorySegment data) int
int
writeHdrToFunc
(@NotNull MemorySegment func, @NotNull MemorySegment context, int w, int h, int comp, @Nullable FloatPtr data) int
writeJpg
(@Nullable BytePtr filename, int x, int y, int comp, @NotNull MemorySegment data, int quality) int
writeJpgToFunc
(@NotNull MemorySegment func, @NotNull MemorySegment context, int x, int y, int comp, @NotNull MemorySegment data, int quality) int
writePng
(@Nullable BytePtr filename, int w, int h, int comp, @NotNull MemorySegment data, int strideInBytes) int
writePngToFunc
(@NotNull MemorySegment func, @NotNull MemorySegment context, int w, int h, int comp, @NotNull MemorySegment data, int strideInBytes) int
writeTga
(@Nullable BytePtr filename, int w, int h, int comp, @NotNull MemorySegment data) int
writeTgaToFunc
(@NotNull MemorySegment func, @NotNull MemorySegment context, int w, int h, int comp, @NotNull MemorySegment data)
-
Field Details
-
SEGMENT$stbi_flip_vertically_on_write
-
SEGMENT$stbi_write_bmp
-
SEGMENT$stbi_write_bmp_to_func
-
SEGMENT$stbi_write_hdr
-
SEGMENT$stbi_write_hdr_to_func
-
SEGMENT$stbi_write_jpg
-
SEGMENT$stbi_write_jpg_to_func
-
SEGMENT$stbi_write_png
-
SEGMENT$stbi_write_png_to_func
-
SEGMENT$stbi_write_tga
-
SEGMENT$stbi_write_tga_to_func
-
SEGMENT$stbiw_convert_wchar_to_utf8
-
HANDLE$stbi_flip_vertically_on_write
-
HANDLE$stbi_write_bmp
-
HANDLE$stbi_write_bmp_to_func
-
HANDLE$stbi_write_hdr
-
HANDLE$stbi_write_hdr_to_func
-
HANDLE$stbi_write_jpg
-
HANDLE$stbi_write_jpg_to_func
-
HANDLE$stbi_write_png
-
HANDLE$stbi_write_png_to_func
-
HANDLE$stbi_write_tga
-
HANDLE$stbi_write_tga_to_func
-
HANDLE$stbiw_convert_wchar_to_utf8
-
-
Constructor Details
-
STBIW
-
-
Method Details
-
flipVerticallyOnWrite
public void flipVerticallyOnWrite(int flipBoolean) -
writeBmp
public int writeBmp(@Nullable @Nullable BytePtr filename, int w, int h, int comp, @Pointer(comment="void*") @NotNull @NotNull MemorySegment data) -
writeBmpToFunc
public int writeBmpToFunc(@Pointer(comment="stbi_write_func*") @NotNull @NotNull MemorySegment func, @Pointer(comment="void*") @NotNull @NotNull MemorySegment context, int w, int h, int comp, @Pointer(comment="void*") @NotNull @NotNull MemorySegment data) -
writeHdr
-
writeHdrToFunc
public int writeHdrToFunc(@Pointer(comment="stbi_write_func*") @NotNull @NotNull MemorySegment func, @Pointer(comment="void*") @NotNull @NotNull MemorySegment context, int w, int h, int comp, @Nullable @Nullable FloatPtr data) -
writeJpg
public int writeJpg(@Nullable @Nullable BytePtr filename, int x, int y, int comp, @Pointer(comment="void*") @NotNull @NotNull MemorySegment data, int quality) -
writeJpgToFunc
public int writeJpgToFunc(@Pointer(comment="stbi_write_func*") @NotNull @NotNull MemorySegment func, @Pointer(comment="void*") @NotNull @NotNull MemorySegment context, int x, int y, int comp, @Pointer(comment="void*") @NotNull @NotNull MemorySegment data, int quality) -
writePng
public int writePng(@Nullable @Nullable BytePtr filename, int w, int h, int comp, @Pointer(comment="void*") @NotNull @NotNull MemorySegment data, int strideInBytes) -
writePngToFunc
public int writePngToFunc(@Pointer(comment="stbi_write_func*") @NotNull @NotNull MemorySegment func, @Pointer(comment="void*") @NotNull @NotNull MemorySegment context, int w, int h, int comp, @Pointer(comment="void*") @NotNull @NotNull MemorySegment data, int strideInBytes) -
writeTga
public int writeTga(@Nullable @Nullable BytePtr filename, int w, int h, int comp, @Pointer(comment="void*") @NotNull @NotNull MemorySegment data) -
writeTgaToFunc
public int writeTgaToFunc(@Pointer(comment="stbi_write_func*") @NotNull @NotNull MemorySegment func, @Pointer(comment="void*") @NotNull @NotNull MemorySegment context, int w, int h, int comp, @Pointer(comment="void*") @NotNull @NotNull MemorySegment data) -
stbiwConvertWcharToUtf8
-