PistonDevelopers/ddsfile

Name: ddsfile

Owner: PistonDevelopers

Description: DirectDraw Surface (DDS) file format parsing and construction

Created: 2018-01-18 23:17:22.0

Updated: 2018-03-14 22:05:11.0

Pushed: 2018-04-20 19:46:15.0

Homepage: null

Size: 50

Language: Rust

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

ddsfile

MIT licensed

ddsfile on crates.io

Documentation

This library is for parsing and composing Microsoft DirectDraw Surface (.DDS) files. Such files hold texture data, originally for DirectX, but other drawing APIs such as OpenGL and Vulkan can use the texture data. Many asset conditioning pipelines deal in this format only, so even if you are working with OpenGL or Vulkan you probably still need to handle .DDS files.

This library supports mipmapped textures, volume textures, texture arrays, cube maps, compressed texture formats (DXTn / BCn) and the DirectX 10 extension header. Both the older D3DFormat and the newer DxgiFormat are supported, as well as files with the format undefined (whenever enough data is available to do so).

This library deals primarily with the container envelope. The texture data itself is mostly opaque. However, some data is available from the headers about the texture data, including:

License

Licensed under the MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed under the MIT license without any additional terms or conditions.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.