Top Description Interfaces Classes
module lwjgl.stb

Package org.lwjgl.stb

Annotations
@NonnullDefault

Contains bindings to stb, a set of single-file public domain libraries.

The functionality provided by stb includes:

Interface Summary

Modifier and TypeInterface and Description
public interface
STBIEOFCallbackI

Instances of this interface may be set to the eof field of the STBIIOCallbacks struct.

public interface
STBIReadCallbackI

Instances of this interface may be set to the read field of the STBIIOCallbacks struct.

public interface
STBISkipCallbackI

Instances of this interface may be set to the skip field of the STBIIOCallbacks struct.

public interface
STBIWriteCallbackI

Instances of this interface may be used with the STBImageWrite write_type_to_func functions.

public interface
STBIZlibCompressI

Instances of this interface may be set to STBImageWrite#stbi_zlib_compress.

Class Summary

Modifier and TypeClass and Description
pack-priv class
LibSTB

Initializes the stb shared library.

public class
STBDXT

Native bindings to stb_dxt.h from the stb library.

public class
STBEasyFont

Native bindings to stb_easy_font.h from the stb library.

public abstract class
STBIEOFCallback

Instances of this class may be set to the eof field of the STBIIOCallbacks struct.

public class
STBIIOCallbacks

Image IO callbacks, used by load_from_callbacks.

public class
STBImage

Native bindings to stb_image.h from the stb library.

public class
STBImageResize

Native bindings to stb_image_resize.h from the stb library.

public class
STBImageWrite

Native bindings to stb_image_write.h from the stb library.

public abstract class
STBIReadCallback

Instances of this class may be set to the read field of the STBIIOCallbacks struct.

public abstract class
STBISkipCallback

Instances of this class may be set to the skip field of the STBIIOCallbacks struct.

public abstract class
STBIWriteCallback

Instances of this class may be used with the STBImageWrite write_type_to_func functions.

public abstract class
STBIZlibCompress

Instances of this class may be set to STBImageWrite#stbi_zlib_compress.

public class
STBPerlin

Native bindings to stb_perlin.h from the stb library.

public class
STBRectPack

Native bindings to stb_rect_pack.h from the stb library.

public class
STBRPContext

The opaque stbrp_context struct.

public class
STBRPNode

The opaque stbrp_node struct.

public class
STBRPRect

A packed rectangle.

public class
STBTruetype

Native bindings to stb_truetype.h from the stb library.

public class
STBTTAlignedQuad

Quad used for drawing a baked character, returned by GetBakedQuad.

public class
STBTTBakedChar

Baked character data, returned by BakeFontBitmap.

public class
STBTTBitmap

Bitmap data.

public class
STBTTFontinfo

An opaque structure that contains font information.

public class
STBTTKerningentry

Layout


struct stbtt_kerningentry {
    int glyph1;
    int glyph2;
    int advance;
}
public class
STBTTPackContext

An opaque structure which holds all the context needed from PackBegin to PackEnd.

public class
STBTTPackedchar

Packed character data, returned by PackFontRange Layout


struct stbtt_packedchar {
    unsigned short x0;
    unsigned short y0;
    unsigned short x1;
    unsigned short y1;
    float xoff;
    float yoff;
    float xadvance;
    float xoff2;
    float yoff2;
}
public class
STBTTPackRange

A range of packed character data, used by PackFontRanges Layout


struct stbtt_pack_range {
    float font_size;
    int first_unicode_codepoint_in_range;
    int * array_of_unicode_codepoints;
    int num_chars;
    stbtt_packedchar * chardata_for_range;
    unsigned char h_oversample;
    unsigned char v_oversample;
}
public class
STBTTVertex

Vertex data.

public class
STBVorbis

Native bindings to stb_vorbis.c from the stb library.

public class
STBVorbisAlloc

A buffer to use for allocations by STBVorbis Layout


struct stb_vorbis_alloc {
    char * alloc_buffer;
    int alloc_buffer_length_in_bytes;
}
public class
STBVorbisComment

Layout


struct stb_vorbis_comment {
    char * vendor;
    int comment_list_length;
    char ** comment_list;
}
public class
STBVorbisInfo

Information about a Vorbis stream.