vk2dfd 0.1.0

A tiny crate to convert Vulkan formats to Khronos Data Format Descriptors
Documentation
  • Coverage
  • 100%
    5 out of 5 items documented0 out of 2 items with examples
  • Size
  • Source code size: 77.96 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.25 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 17s Average build duration of successful builds.
  • all releases: 17s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • pcwalton/vk2dfd
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • pcwalton

vk2dfd

This is a tiny crate that converts Vulkan formats to Khronos Data Format Descriptors.

Conversion of Vulkan formats to DFDs is primarily useful for software that wants to write KTX or KTX2 format textures. The format is straightforward to write, with the sole exception of the data format descriptor, which is a complex specification. With this crate, you can write textures in those formats with ease.

Unlike the official Khronos dfdutils package, this crate simply uses a hardcoded table of formats and their associated DFDs. The number of formats is relatively small, so this is the most efficient way to implement this functionality.

Code of Conduct

vk2dfd follows the same Code of Conduct as Rust itself. Reports can be made to the project authors.

License

Licensed under the Apache 2.0 license, or the MIT license, at your option. See the LICENSE-APACHE2 and LICENSE-MIT files for details.