6 releases

0.4.0 Feb 18, 2020
0.3.2 Nov 29, 2019
0.3.1 Apr 7, 2019
0.2.1 Mar 14, 2019

#552 in Graphics APIs

MIT license

460KB
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.4.0"

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

Get help

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

Dependencies