- Upgrade cc and bindgen dependencies.
- Implement
Drop
trait and fix memory leak forFSampler*
structs. #4 - Eliminate warning toggled by rustc(1.41).
- Add basic example codes.
- Mark
data_mut()
methods asunsafe fn
forGliTexture
andGliImage
. - Mark ffi newtype with
#[repr(transparent)]
. - Make
TexFormatType
public to user. #3
- Fix build error on Windows platform(Temporarily disable some API on Windows).
- Fix some parameter types.
- Implement partial API in gli::Sampler* namespace.
- Implement API in gli::dx and gli::gl namespace.
- Implement
ParticalEq
andEq
forGliImage
andTexture*
structs.
- Now gli-rs is able to build on main desktop platforms(By manually implement link header files).
- Refactor the
Extent1d
,Extent2d
,Extent3d
struct. - Rename the constructor method for all
Texture*
structs. - Fix some bugs and documentation typos.
- First Release to crates.io. The crate mainly provide the following features:
- Use
load_*
methods to load ktx, kmg or dds image file intoTexture*
style struct. - Save the image to ktx, kmg or dds format in local file system.
- Access part of the
Texture*
image(Useget_layer
,get_level
, orget_face
method). - Get the data pointer to the image, and transfer its data to other graphics program.
- Use