Package org.lwjgl.stb
Contains bindings to stb, a set of single-file public domain libraries.
See: Description
-
Interface Summary Interface Description STBIEOFCallbackI Instances of this interface may be set to theeof
field of theSTBIIOCallbacks
struct.STBIReadCallbackI Instances of this interface may be set to theread
field of theSTBIIOCallbacks
struct.STBISkipCallbackI Instances of this interface may be set to theskip
field of theSTBIIOCallbacks
struct.STBIWriteCallbackI Instances of this interface may be used with theSTBImageWrite
write_type_to_func
functions. -
Class Summary Class Description STBDXT Native bindings to stb_dxt.h from the stb library.STBEasyFont Native bindings to stb_easy_font.h from the stb library.STBIEOFCallback Instances of this class may be set to theeof
field of theSTBIIOCallbacks
struct.STBIIOCallbacks Image IO callbacks, used byload_from_callbacks
.STBIIOCallbacks.Buffer An array ofSTBIIOCallbacks
structs.STBImage Native bindings to stb_image.h from the stb library.STBImageResize Native bindings to stb_image_resize.h from the stb library.STBImageWrite Native bindings to stb_image_write.h from the stb library.STBIReadCallback Instances of this class may be set to theread
field of theSTBIIOCallbacks
struct.STBISkipCallback Instances of this class may be set to theskip
field of theSTBIIOCallbacks
struct.STBIWriteCallback Instances of this class may be used with theSTBImageWrite
write_type_to_func
functions.STBPerlin Native bindings to stb_perlin.h from the stb library.STBRectPack Native bindings to stb_rect_pack.h from the stb library.STBRPContext The opaquestbrp_context
struct.STBRPContext.Buffer An array ofSTBRPContext
structs.STBRPNode The opaquestbrp_node
struct.STBRPNode.Buffer An array ofSTBRPNode
structs.STBRPRect A packed rectangle.STBRPRect.Buffer An array ofSTBRPRect
structs.STBTruetype Native bindings to stb_truetype.h from the stb library.STBTTAlignedQuad Quad used for drawing a baked character, returned byGetBakedQuad
.STBTTAlignedQuad.Buffer An array ofSTBTTAlignedQuad
structs.STBTTBakedChar Baked character data, returned byBakeFontBitmap
.STBTTBakedChar.Buffer An array ofSTBTTBakedChar
structs.STBTTFontinfo An opaque structure that contains font information.STBTTFontinfo.Buffer An array ofSTBTTFontinfo
structs.STBTTPackContext STBTTPackContext.Buffer An array ofSTBTTPackContext
structs.STBTTPackedchar Packed character data, returned byPackFontRange
STBTTPackedchar.Buffer An array ofSTBTTPackedchar
structs.STBTTPackRange A range of packed character data, used byPackFontRanges
STBTTPackRange.Buffer An array ofSTBTTPackRange
structs.STBTTVertex Vertex data.STBTTVertex.Buffer An array ofSTBTTVertex
structs.STBVorbis Native bindings to stb_vorbis.c from the stb library.STBVorbisAlloc A buffer to use for allocations bySTBVorbis
STBVorbisAlloc.Buffer An array ofSTBVorbisAlloc
structs.STBVorbisInfo Information about a Vorbis stream.STBVorbisInfo.Buffer An array ofSTBVorbisInfo
structs.
Package org.lwjgl.stb Description
Contains bindings to stb, a set of single-file public domain libraries.
The functionality provided by stb includes:
- Parsing TrueType files, extract glyph metrics and rendering packed font textures.
- Easy rendering of bitmap fonts.
- Reading/writing image files and resizing images (e.g. for gamma-correct MIP map creation).
- Decoding Ogg Vorbis audio files.
- Compressing DXT textures at runtime.
- Packing rectangular textures into texture atlases.
- Computing Perlin noise.