mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-18 11:52:22 -07:00
64 lines
2.8 KiB
Markdown
64 lines
2.8 KiB
Markdown
# Vendor Collection
|
|
|
|
The `vendor:` prefix for Odin imports is a package collection that comes with this implementation of the Odin programming language.
|
|
|
|
Its use is similar to that of `core:` packages, which would be available in any Odin implementation.
|
|
|
|
Presently, the `vendor:` collection comprises the following packages:
|
|
|
|
## OpenGL
|
|
|
|
Bindings for the OpenGL graphics API and helpers in idiomatic Odin to, for example, reload shaders when they're changed on disk.
|
|
|
|
This package is available under the MIT license. See `LICENSE` and `LICENSE_glad` for more details.
|
|
|
|
## SDL2
|
|
|
|
Bindings for the cross platform multimedia API [SDL2](https://github.com/libsdl-org/SDL) and its sub-projects.
|
|
|
|
`SDL2.dll` and `SDL2.lib` are available under SDL's [zlib](https://github.com/libsdl-org/SDL/blob/main/LICENSE.txt) license.
|
|
|
|
See also LICENSE.txt in the `sdl2` directory itself.
|
|
|
|
### SDL2 Image
|
|
|
|
Bindings for SDL's image decoding library, subject to SDL's [zlib](https://github.com/libsdl-org/SDL_image/blob/main/LICENSE.txt) license.
|
|
|
|
SDL2 Image relies on 3rd party libraries to support various image formats. You can find the licenses for these in the `image` directory, alongside SDL\_image's own license.
|
|
|
|
### SDL2 Mixer
|
|
|
|
Bindings for SDL's sound decoding library and mixer, subject to SDL's [zlib](https://github.com/libsdl-org/SDL_mixer/blob/master/LICENSE.txt) license.
|
|
|
|
SDL2 Mixer relies on 3rd party libraries to support various audio formats. You can find the licenses for these in the `mixer` directory, alongside SDL\_mixer's own license.
|
|
|
|
### SDL2 Net
|
|
|
|
Bindings for SDL's networking library, subject to SDL's [zlib](https://github.com/libsdl-org/SDL_net/blob/main/COPYING.txt) license.
|
|
|
|
### SDL2 TTF
|
|
|
|
Bindings for SDL's font rendering library, subject to SDL's [zlib](https://github.com/libsdl-org/SDL_ttf/blob/main/COPYING.txt) license.
|
|
|
|
SDL2 TTF relies on 3rd party libraries `zlib`, available under the ZLIB license, and `FreeType`, available under its own license. Both can be found in the `ttf` directory.
|
|
|
|
## Vulkan
|
|
|
|
The Vulkan 3D graphics API are automatically generated from headers provided by Khronos, and are made available under the [Apache License, Version 2.0](https://github.com/KhronosGroup/Vulkan-Headers/blob/master/LICENSE.txt).
|
|
|
|
## GLFW
|
|
|
|
Bindings for the multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input API [GLFW](https://github.com/glfw/glfw).
|
|
|
|
`GLFW.dll` and `GLFW.lib` are available under GLFW's [zlib/libpng](https://www.glfw.org/license.html) license.
|
|
|
|
See also LICENSE.txt in the `glfw` directory itself.
|
|
|
|
## PortMidi
|
|
|
|
[PortMidi](https://sourceforge.net/projects/portmedia/) Portable Real-Time MIDI Library.
|
|
|
|
`portmidi_s.lib` is available under PortMidi's [MIT](https://sourceforge.net/projects/portmedia/) license.
|
|
|
|
See also LICENSE.txt in the `portmidi` directory itself.
|