#Graphics #Texture #gli

gli-rs

Rust binding for OpenGL Image(GLI)

4 releases

✓ Uses Rust 2018 edition

0.3.1 Apr 7, 2019
0.3.0 Apr 2, 2019
0.2.1 Mar 14, 2019
0.2.0 Mar 8, 2019

#6 in #texture

27 downloads per month

MIT license

447KB
8K SLoC

gli-rs

Build Status Latest version Documentation MIT

Rust binding for OpenGL Image(GLI) library.

This crate aims to fill the gap of loading KTX and DDS image file in Rust ecosystem.

Compatibility

Although not all the api has been translated to Rust and fully tested, it does work for the most part.

This crate does not guarantee full compatibility with original library.

Requirement

To build this crate, you must get C++ build tools installed(clang on MacOS, MSVC on Windows, gcc on Linux).

Usage

Add this to Cargo.toml:

[dependencies]
gli-rs = "0.3.1"

# or
[dependencies]
gli = { package = "gli-rs", version = "0.3.1" }

Get help

If you get any questions or find any api is missing, welcome to create an issue.

Dependencies